2
$\begingroup$

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!

$\endgroup$

1 Answer 1

1
$\begingroup$

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

$\endgroup$
1
  • $\begingroup$ Thanks for the reply pyCthon. I've taken a look at it and it does indeed let me check what I require. Would you recommend me automating this process? Or just manually update the members of an asset class. Appreciate any input/advice. $\endgroup$ Commented Jun 16, 2016 at 7:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.