Yesbank is trading at 21.57.. Through API placed an order.. it got placed successfully. Rule was
{‘strategy’: ‘ENTRY’,
‘trigger_price’: 21.0,
‘trigger_type’: ‘BELOW’} .However, this rule. {‘strategy’: ‘ENTRY’,
‘trigger_price’: 21.0,
‘trigger_type’: ‘IMMEDIATE’} did not go through..I am trying this at 4:00 PM, On web platform, it said place it during Market hours.. But why? IMMEDIATE just means as soon as the trigger price is reached and not with respect to the time (now).. see the documentation here “Place GTT Order | Upstox Developer API”
Hi @GOPESH_42539726
The Upstox API adheres to the same behavior as our Pro Web and mobile applications, which do not permit the placement of Immediate GTT (Good Till Triggered) orders outside of market hours. For additional information, you may engage with our customer support chatbot at Help Center or consult the API documentation at API Documentation – Fast Secure Free – Upstox | Upstox Developer API.
Thank you!