Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Downloading Option Chain into Excel

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
1,312
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jul 9, 2010

Demo of the VBA code example posted on http://www.vbafin.com/CBOE-data-download-vba-code.php - Visual Basic for Financial Professionals. Shows how to download data from a web site by programatically loading a page, filling in required fields, checking boxes and clicking on submit buttons and then extracting and bringing in the data into excel.

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (vbafin)

  • Thank you for the response. Downloaded the excel file recommended and had the same problem with the CBOE sheet, however Yahoo sheet worked fine every time.

    Actually what I am trying to accomplish is to be able to download my option positions in to an excel sheet that I track my stock/options for end-of-day logging/price tracking. Any suggestion on which VBA I should start from?

    Thanks again.

  • @xzadeh take a look at vbafin.com/Price-Functions.php

    there are 2 functions - vf_GetPrice can be used to get the last stock price;

    and vf_GetOption can used to get the last option price.

    There's a youtube video for the vf_GetPrice function - youtube.com/watch?v=KGGKJ057qB­s&feature=plcp&context=C3ffd82­bUDOEgsToPDskKShX3c_MtsVzb8It1­-rQW-

    and another one that you might find useful - youtube.com/watch?v=Sqqn7JbMnA­I&feature=plcp&context=C3aa080­0UDOEgsToPDskJ6sFTiQaIIvdO_uaL­9QNp3

  • This seems to be a great tool, but I have no luck getting it to work. Everything looks okay, VBA runs without an error but returns nothing. Must be overlooking something. Anyone else had any problems with this?

    Thanks.

  • @xzadeh

    the macro uses Internet Explorer to obtain the data. One possible problem would be if your IE (which runs in the background) gets a pop up window waiting for your response.

    You can find an example of a working Excel file on

    vbafin.com/documents/Visual_Ba­sic_Option_Chain.xls

see all

All Comments (7)

Sign In or Sign Up now to post a comment!
  • Unlike Gadeboye I have a volume knob on my speakers and can turn up if need be, so forget him. I saw it as a great aid for me to play with and learn from.

    Thank You

  • Thanks for the valuable  info. I've been looking for something like this.

  • It must be a good presentation....BUT PLEASE LEARN TO SPEAK UP....YOU SPEAK AS IF YOU ARE TALKING TO YOURSELF ..........AN OTHERWISE GOOD VID RUINED BY PRESENTER INABILITY TO VERY CONFIDENTLY SPEAK UP.....NEXT TIME ...PLS LET SOME ONE WHO CAN SPEAK UP DO THIS.....very dissapointing

    When you dont speak up, you come accross as if you don't know what you are talking about......I tell my children all the time, its a shame an adult still do this

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more