please explain how to place gtt

sanket_one
sanket_one edited June 29 in Python client
trying to place gtt.
kite.place_gtt(trigger_type=kite.GTT_TYPE_OCO, tradingsymbol="NCC", exchange=kite.EXCHANGE_NSE, trigger_values=[50,150], last_price=100,
orders={"transaction_type":kite.TRANSACTION_TYPE_SELL, 'quantity':1})
error says 'quantity' missing.
can anyone give simple example
Sign In or Register to comment.