Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 617
  • Last Modified:

How do I download a file from http://www.cboe.com/DelayedQuote/QuoteTableDownload.aspx automatically

I am trying to download stock option chains automatically.

When I go to http://www.cboe.com/DelayedQuote/QuoteTableDownload.aspx webpage, I must enter a symbol and press download, press save, determine the location and so on. I would like to automate this.

Further, www.cboe.com has added something to this web page where you cannot automatic this action.

The formatted post for a symbol like amd is this:

 http://www.cboe.com/DelayedQuote/QuoteTableDownload.aspx?__EVENTTARGET=&__EVENTARGUMENT=&__VIEWSTATE=dDwtODQ5MjIyNjc7Oz5rmegY%2B4O27l7uWcpGd4iU%2B1RpAA%3D%3D&ucHeader%3AucCBOEHeaderLinks%3AucCBOEHeaderSearch%3Asearchtext=&ucQuoteTableDownloadCtl%3AtxtTicker=amd&ucQuoteTableDownloadCtl%3AcmdSubmit=Download

Can anyone help automate this using Delphi?


0
CalvinDay
Asked:
CalvinDay
1 Solution
 
calinutzCommented:
From the same website:

PLEASE NOTE: IT IS STRICTLY PROHIBITED TO DOWNLOAD DELAYED QUOTE TABLE DATA FROM THIS WEB SITE BY USING AUTO-EXTRACTION PROGRAMS/QUERIES AND/OR SOFTWARE. CBOE WILL BLOCK IP ADDRESSES OF ALL PARTIES WHO ATTEMPT TO DO SO. THIS DATA IS PROPERTY OF THOMSON FINANCIAL/ILX. DOWNLOADING THIS DATA IN ANY OTHER WAY THAN BY MANUAL TICKER SYMBOL ENTRY IS STRICTLY PROHIBITED.

So what you are asking is not legal...
0
 
kfoster11CEOCommented:
There are a lot of sites where you can download using an activeX control.  I would recommend one of these.  

If programmers cheat programmers then where are we?  Back to the ethics!
0
 
Eddie ShipmanAll-around developerCommented:
I don't think you'll be able to automate that aspx page programatically.
You can try AutoIt!: http://www.autoitscript.com/AutoIt/downloads.php
Download the DLL, it contains a Delphi wrapper that you can use to write
you own scripts to automate the web page.

0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
jexd99Commented:
Plus they could be updating the script regularly or simply altering locations, etc., even if you automate it the minute you think you have it working..... it suddenly stops and you would need to try and patch it again.  Bad idea.....

0
 
Eddie ShipmanAll-around developerCommented:
Then using AutoIt! would work because it automates the browser and they would have NO idea that it
is being automated.
0
 
Eddie ShipmanAll-around developerCommented:
If you need help on AutoIt!, let me know.
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now