You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Workaroud TWS API bug for bad FOP contract matches
When IBKR started offering "Event Contracts" for some reason the
contract matcher started returning Event Contracts _and_ FOP contracts
just for FOP requests, which is clearly wrong.
Now we do an extra level of checking to _only_ return the input security
type requested to prevent cross-instrument contract retrieval.
e.g. if you're requesting an NQ call contract, you don't want IBKR to
suggest "did you mean Event Contract for NQ closing over 21,000
instead?"
Now we just ignore any returned contracts not matching the input
security type (if an input security type was provided).
0 commit comments