GTT Order: Logically incorrect key nomenclature

Namaskara,

GTT order trigger type is as follows:

|rules.trigger_type|true|string|Specifies the condition for triggering the order. The ENTRY strategy can have ABOVE, BELOW, or IMMEDIATE, whereas TARGET and STOPLOSS strategies can only have IMMEDIATE.
Possible values: BELOW, ABOVE, IMMEDIATE

BELOW - The order is triggered when the market price drops below the defined trigger price.
ABOVE - The order is triggered when the market price rises above the defined trigger price.
IMMEDIATE - The order is triggered when the market price matches the defined trigger price.|
| — | — | — |

Here Above and Below are correct … but IMMEDIATE does not suit the context.

Above and Below are price (amount, money) related.
IMMEDIATE is temporal (time) related.

They dont match.

Above, Below and At are a logical group.

Eg: Buy ABOVE the LTP, Sell BELOW the LTP or BUY AT the Trigger Price.

Immediate means IOC. Either you immediately or not…

LTP can at my trigger price after 10 minutes when my order triggers, that does not mean immediate… …

Logically ABOVE, BELOW and AT are correct. Immediate is out of context ! here.

Regards
Rathnadhar K V

Here in multiple legs, upstox is explicitly checking for LTP to match the trigger price and it executes target or stoploss leg immediately based on it. But for single leg when you choose IMMEDIATE it will place order instantly irrespective of LTP.

I know that …but IMMEDIATELY means at the instance of creating the order (like IOC).

Now at the time of order creation if the price is between target and SL .. then immediate has no meaning… It has meaning only AT target or AT stoploss…

That means when price is at either Target or Stop loss then execute the order immediately … hence “AT” more appropriate word in that context.