开云体育

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

Adaptive Algo order with relative price


 

When placing an adaptive algo order via the TWS one can choose a relative-price, for example bid + 30%. The concept is described here:



Is it possible to do the same via the API? This would be very useful.


 

FWIW, some pegged orders such as "REL" allow using dynamic offsets relative to bid/ask to price the order. They are listed among simple order types in the API docs. I haven't ever used them though. I could be wrong but the feature you are referring to is most likely just a user interface convenience of the Order Entry dialog, which is a more hands-on variant of the Order Ticket. It calculates a fixed price immediately and it actually works for any order types rather than being limited to the adaptive algo.


 

Maybe it is possible to use this also with other order types. I don't trade manually at all so I have no experience with the TWS and just saw yesterday the link I posted below and there it's all about adaptive algo orders. Also as I I understand it the limit price should be moving with the bid/ask. So it would not be a one time calculation at order entry but adapting the limit dynamically to keep it at the chosen offset (this is what I'm interested in).

However I will have a look at the REL orders. Thanks for the suggestion.