Launch of GTT Trailing Stop Loss Order Beta
Effective Immediately
We are rolling out the release of the GTT Trailing Stop Loss order, a highly requested feature that enables dynamic stop-loss adjustments based on market movement, offering enhanced risk management and trading flexibility.
What are GTT Orders?
Good Till Triggered (GTT) orders allow traders to set condition-based orders that remain active until the defined trigger conditions are met. These orders can be executed as single-leg or multi-leg strategies, making them a powerful tool for trading. Once the specified condition is met, the order is placed automatically.
For more details, refer to the GTT Orders API Documentation.
What is a Trailing Stop Loss Order?
A trailing stop loss order is a dynamic order that automatically adjusts with market price movements, maintaining a consistent distance from the current market price as it moves. For more details on TSL orders, refer to our Trailing Stop Loss Order article.
What's New?
A new field, trailing_gap
is required in the STOPLOSS leg of your GTT order. This field defines the fixed gap between your stop-loss and the market price, enabling your stop-loss to trail automatically as the market moves.
The trailing_gap
field must also be included in the request payload when modifying a trailing stop-loss order.
Additionally, this field will be returned in the Get GTT Order API and via the Portfolio Streamer WebSocket, allowing you to monitor the configured trailing gap and view the current stop-loss trigger price, which may have adjusted if the market has moved in your favor.
For more information, please refer to Place GTT Order documentation.
How to Get Started
- Accessing the APIs: The GTT APIs are stable and readily available. To begin, simply add a single field
trailing_gap
. Refer to the documentation links above for detailed usage instructions, parameters, and examples. - Providing Feedback: Your feedback helps us refine our features. Join the discussion and share your thoughts in the Upstox Developer Community.
Thank You
We appreciate your support and look forward to seeing how you leverage the trailing stop-loss order to enhance your trading experience. Let us know how we can continue to improve!