kite gtt
Manage Good-Till-Triggered orders. Live action on place/modify/cancel.
Commands
Section titled “Commands”| 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. |
Place / modify payload
Section titled “Place / modify payload”{ "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 } ]}Examples
Section titled “Examples”kite gtt list --json --no-colorkite gtt get 12345 --json --no-colorkite gtt place --file ./gtt.json --json --no-colorkite gtt modify 12345 --file ./gtt.json --json --no-colorkite gtt cancel 12345 --json --no-color