it is quite difficult to play around with the official python API document. it break everything down to small component and didn't provide a full script for client from login to IB to execute order. can anyone provide me a sample script for entering position at market open and settle position right before market close?
I find ib_insync to be a good library for use with Interactive Brokers. Better than the official garbage API anyway. What kind of moron decided you need to inherit from two different classes for a single API.
thanks a lot!! could you tell me where can i find the useful study material/sample scripts? or which demo script you are using?
Ibpythonic is another great option. It uses the components of the official API with an IbPy-like structure. Plenty of IbPy examples around.