This repository has been archived by the owner on Mar 14, 2024. It is now read-only.
Bracket Order With Market Price #475
michaelkawaicheung
started this conversation in
General
Replies: 2 comments
-
I would love this option too! |
Beta Was this translation helpful? Give feedback.
0 replies
-
That is actually quite simple. You have got your standard bracket order code and just add an extra line which defines the parent order type before execution:
Works for me ordering options and should also work for stocks. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Does anyone knows how to enter a market order with bracket order (take profit and stop loss) attached? It can be done in TWS but seems that not in ib_insync. I have tried
bracketOrder
but it requires a limit order price.Beta Was this translation helpful? Give feedback.
All reactions