not able tp place gtt

skargwal3
please help how place gtt order, please don't post kite api document link

kite.place_gtt(trigger_type=kite.GTT_TYPE_OCO,tradingsymbol="INFY",exchange="NSE",trigger_values=[1550,1450],last_price=1500.3,
orders={ "transaction_type": "BUY","quantity": 1, "order_type": "LIMIT", "product": "CNC", "price": 1500.3})

  • skargwal3
    thanks Solution Found

    kite.place_gtt(trigger_type=kite.GTT_TYPE_OCO,tradingsymbol="INFY",exchange="NSE",
    trigger_values=[1450,1550],last_price=1500.3,
    orders=[{ "transaction_type": "BUY", "quantity":"1", "order_type": "LIMIT",
    "product": "CNC", "price": 1500.3},{ "transaction_type": "SELL", "quantity":"1", "order_type": "LIMIT",
    "product": "CNC", "price": 1500.3}
    ])
This discussion has been closed.