Get GTT Order Details | Upstox Developer API : It is written that “API to retrieve the latest status of a specific order. Orders placed by the user remain available for one trading day and are automatically removed at the end of the trading session.” if this is so, what is the use of GTT ?
Appreciate your help in understanding this. Thx.
Hi @GOPESH_42539726, Thank you for reaching out. You’re right—the current description applies specifically to intraday GTT orders. In reality, the GTT order remains valid until its specified expiry, which you can find in the GTT order details response. We will update the documentation to reflect this more accurately.
1 Like
Thank you for your attention.
{'quantity': 1,
'product': 'D',
'instrument_token': 'NSE_EQ|INE528G01035',
'transaction_type': 'BUY',
'type': 'SINGLE',
'rules': [{'strategy': 'ENTRY',
'trigger_price': 21.0,
'trigger_type': 'IMMEDIATE'}]} For this getting following error:
can you please take a look.. what is that I am doing wrong...

image is not getting uploaded.. text is this : "Markets are closed right now, you can't place this order. Place an After-Market-Order (AMO) instead. Select 'AMO' under 'Order Complexity' from the order entry screen."
order Id: GTT-C25160500157532
This is for YESBANK.. 21.57 is LTP.. I want to place a immediate buy gtt order at 21.00 How to do it.. ?