Closed poori closed 5 years ago
This is an internal inconsistency on the IB side of things, were a contract as sent by IB is not valid for use with reqContractDetails.
In this case, simply do not qualify the position contracts since there is no need anyway.
Hi
Firstly, thank you for creating and sharing this wonderful library. I'm relatively new to both python, async programming and IB and it has been incredibly easy and friendly to use.
I wanted to file a bug report as an FYI: I get a "no security definition has been found" error when qualifying contracts attached to positions obtained via ib.positions()
Minimal code to recreate issue:
Buy 10 NFLX Stock in trading account.
Extracting the contract ID and creating a new contract and using that works fine, however. This is what i'm using as a workaround.
What also seems to work is removing the exchange information
thanks!!