开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

in a hedge pair, is it possible to have IBKR set the limit price of the child as a multiple of the execution price of the parent?


 

?
Is it possible to submit a hedge pair of stock limit orders where, when the parent executes, IBKR sets the limit price of the child (which is a limit order) to a given multiple of the execution price of the parent? ?
?
That is, when I set up the hedge pair, can I somehow preconfigure some ratio X, so that if the parent executes at some price P, the child then becomes active with a limit price of X * P ?
?
At the moment I am attempting this as follows. ?When I set up the hedge pair, I set the limit price of the parent to some price P, and I set the limit price of the (not yet active) child to X * P. ?Then, whenever I update the price of the parent order to some price P', I update the price of the child order to P' * X. But this approach has two shortcomings. ?First, the price updates often don't reach the market at the same time, and when that happens the two prices are momentarily out of sync. ?Second, the parent order may execute at a price other than its limit price. ?When that happens the limit price of the child is X * (the limit price of the parent). ?I want it to be X * (the execution price of the parent).
?
(Possibly relatedly, one of the hedge-pair parameters is "dontUseAutoPriceForHedge". ? says only to set this to "not use auto pricing for the hedge". ?But "auto pricing" seems to be mean something else, such as automatically raising the limit price at a configured rate when the order is active and not filling.)
?
Thanks, -Neal

Join [email protected] to automatically receive all group messages.