How to fetch all the details of GTT order that is active

How to fetch all details of GTT orders placed (Active).
kite.get_gtts() gives only two values 'status' and 'type'.
How do I get other details such as 'exchange', 'tradingsymbol', 'trigger_values', 'last_price', 'transaction_type', 'quantity', 'order_type' etc.

Please help
thank you
  • Benthomas
    I got the logic
    But the problem is last_price return as NoneType
  • Benthomas
    It has been solved. I was trying to print and assign the value in a single line, so it return as NonType. Assigning and print in separate line gets the correct type.

    How to close/delete this discussion?
This discussion has been closed.