Yes, you can do this using URLGet .
URLGet is a free utility I wrote sometime ago, described in:
http://www.amibroker.com/newsletter/02-2001.html
COmmand line Syntax is:
URLGet <URL_to_remote_file> <local file name>
So it would be:
URLGet.exe http://www.interactivebrokers.com/en/trading/ViewShortableStocks.php?cntry=usa&tag=United%20States&ib_entity=llc&ln= shortable.html
But this will result in HTML file that you would need to parse yourself. Specifically you would need to extract ticker names from
<tr><td> tags.
Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
From: Herman
To: AmiBroker User Group
Sent: Wednesday, October 08, 2008 10:54 AM
Subject: [amibroker] IB Shortable Stocks
Has anyone developed a way to automatically download a list of shortable stocks from the above IB website?
I want to add short-availability to my explorations. The data is readily available for most markets here:
http://www.interactivebrokers.com/en/p.php?f=shortableStocks&p=s&ib_entity=llc
and specifically for the US:
http://www.interactivebrokers.com/en/trading/ViewShortableStocks.php?cntry=usa&tag=United%20States&ib_entity=llc&ln=
Thanks for any help you can give!
This was suggested under #1161 an AB feature by Dave Smith on Sept 1, 2007. You can support this suggestion by adding a comment there.
Best regards
Herman
|