I have observed that many users have been requesting the ability to enable GTT (Good-Till-Triggered) orders through the API for over a year. However, this feature has yet to be implemented.
This feature is crucial for automating trades. If a solution cannot be provided through Upstox, I may unfortunately need to consider switching to another broker.
May I know, tentatively, when this would be implemented?
Hi @Vinayak_Raju
Weāre building GTT & TSL on TBT data for the highest precision to negate skip impacts and failures during high volatility. This will be shipped by March 2025
1 Like
@Vinayak_Raju can you tell us more about how to you use GTT to automate trades? It would be helpful to know since you can send orders via API - so how would a trigger order set via API help you out?
Just for my curiosity. Thank you!
As outlined in the Upstox article, the process is straightforward. Once I have access to the GTT (Good Till Triggered) order API, I plan to place both the target and stop-loss orders along with a limit order in a single call from my client service. This unified approach will utilize an OCO (One Cancels Other) order type, allowing everything to be handled in one request.
By doing so, I can avoid making two separate API callsāone to place a buy order with a stop-loss and another to place a limit sell order for the same quantity. Additionally, it removes the overhead to manage the cancellation of one order if the other succeeds. While this approach is theoretically simple, I have encountered numerous practical challenges implementing it. Therefore, I am requesting support for the GTT order API. Hope this clarifies.
1 Like