Why do we have to enter last_price while creating a GTT?

VarunAgw
I don't understand why it ask us for last price. Kite can itself check last price easily?

What will happen if I enter a wrong value as last price here?
  • rhnvrm
    In case of single leg GTTs, `last_price` determines the direction of the trigger. Say you place a GTT for 100, now if you send `last_price` as 125, the trigger will check for Last Traded Price < 100.

    > Kite can itself check last price easily?
    Since the LTP can change at any moment during the day and even during GTT creation, we ask the user to enter the `last_price` to be sure of the users intention.
  • VarunAgw
    Ah. Make sense. Thanks
This discussion has been closed.