How to get all securities in an asset class from IBPy (Interactive Brokers python API)
How to get all securities in an asset class from IBPy (Interactive Brokers python API)
Loading saved threads...
lostlostlostlostlost · External communityPost link
External question — Quantitative Finance Stack Exchange
Author: lostlostlostlostlost
Original post: https://quant.stackexchange.com/questions/27624
License: CC BY-SA 3.0 — https://creativecommons.org/licenses/by-sa/3.0/
Adaptation: HTML converted to plain text; contact email addresses removed.
Would like to know how to request all securities in an asset class using IBpy, the python wrapper for the Interactive Brokers API.
For example getting all currency pairs in the class forex ('CASH'), or all stocks in the class equity ('STK').
Current efforts: Searched QF stack, stackoverflow and IBPy's google discussion groups.
Ongoing efforts: Trawling through IBPy's "ibConection" class.
Thanks!
Quote
Report
pyCthon · External communityPost link
External answer — Quantitative Finance Stack Exchange
Author: pyCthon
Original post: https://quant.stackexchange.com/a/27640
License: CC BY-SA 3.0 — https://creativecommons.org/licenses/by-sa/3.0/
Adaptation: HTML converted to plain text; contact email addresses removed.
You can't via the API. If you need to search use the contract lookup database
https://www.interactivebrokers.com/en/?f=%2Fen%2Fgeneral%2Fcontact%2FtipsContractsDatabaseSearch.php%3Fib_entity%3Dllc
Quote
Report
Post Reply
Checking account access…