place_gtt
Place Good Till Triggered orders with single or two-leg OCO triggers. Define trigger values, last price, and order details to automate trades when conditions are met.
Instructions
Place a GTT (Good Till Triggered) order. Supports single and two-leg (OCO) triggers.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"trigger_type": "<trigger_type>",
"tradingsymbol": "<tradingsymbol>",
"exchange": "<exchange>",
"trigger_values": "<trigger_values>",
"last_price": "<last_price>",
"orders": "<orders>"
},
"name": "place_gtt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trigger_type | Yes | ||
| tradingsymbol | Yes | ||
| exchange | Yes | ||
| trigger_values | Yes | ||
| last_price | Yes | ||
| orders | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |