ib-api-reloaded / ib_async

Python sync/async framework for Interactive Brokers API (replaces ib_insync)
BSD 2-Clause "Simplified" License
223 stars 37 forks source link

add the Market On Close order #14

Open flepied opened 1 month ago

gnzsnz commented 1 month ago

I have quite a few order types as discribed by TWS API documentation, implemented with ib_insync. if there is an interest on this, which this PR is a sign of it. I can contribute with the order types that i have.

just let me know

zdytch commented 2 weeks ago

Type hints needed, as the library is all type hinted

mattsta commented 2 weeks ago

I think the main feedback is there are 50+ different order types (https://www.interactivebrokers.com/en/index.php?f=4985) so the choices are:

Obvious examples are here, but the more detailed order types require so many custom fields it would be a full time job to implement and document them properly in our own API wrappers: