Skip to content

add the Market On Close order#14

Open
flepied wants to merge 1 commit into
ib-api-reloaded:mainfrom
flepied:moc_order
Open

add the Market On Close order#14
flepied wants to merge 1 commit into
ib-api-reloaded:mainfrom
flepied:moc_order

Conversation

@flepied

@flepied flepied commented May 3, 2024

Copy link
Copy Markdown

No description provided.

@gnzsnz

gnzsnz commented May 6, 2024

Copy link
Copy Markdown
Contributor

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

zdytch commented Jun 10, 2024

Copy link
Copy Markdown

Type hints needed, as the library is all type hinted

@mattsta

mattsta commented Jun 10, 2024

Copy link
Copy Markdown
Contributor

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:

  • do we implement and maintain and document all of them
  • or just let people use what they want and read the IBKR docs to populate the Order() fields themselves

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:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants