erdewit / ib_insync

Python sync/async framework for Interactive Brokers API
BSD 2-Clause "Simplified" License
2.81k stars 753 forks source link

Move the contract expiry fixup to the decoder #650

Closed dmoklaf closed 11 months ago

dmoklaf commented 11 months ago

This is a follow-up issue after #649

To allow API clients to call directly the underlying IB reqContractDetails API, the piece of code related to fixing up contracts' expiry dates needs to be moved into a transversal place, the decoder: https://github.com/erdewit/ib_insync/blob/7337c9a3dd93b3b0eb9b129f77956401aad70a05/ib_insync/ib.py#L1860

erdewit commented 11 months ago

This is already done some time ago!

dmoklaf commented 11 months ago

Ah sorry for the noise, I didn't check master