Skip to content

kite gtt

Manage Good-Till-Triggered orders. Live action on place/modify/cancel.

Command Purpose
kite gtt list Show GTT triggers.
kite gtt get <trigger-id> Show one GTT (trigger-id is an integer).
kite gtt place --file <json> Live action Place a GTT from JSON.
kite gtt modify <trigger-id> --file <json> Live action Modify a GTT.
kite gtt cancel <trigger-id> Live action Cancel a GTT.
{
"type": "single",
"condition": {
"exchange": "NSE",
"tradingsymbol": "INFY",
"trigger_values": [1500],
"last_price": 1490
},
"orders": [
{
"exchange": "NSE",
"tradingsymbol": "INFY",
"transaction_type": "BUY",
"quantity": 1,
"order_type": "LIMIT",
"product": "CNC",
"price": 1500
}
]
}
Terminal window
kite gtt list --json --no-color
kite gtt get 12345 --json --no-color
kite gtt place --file ./gtt.json --json --no-color
kite gtt modify 12345 --file ./gtt.json --json --no-color
kite gtt cancel 12345 --json --no-color