gtt_create_rule
Create a Good-Till-Triggered rule that automatically places an order when the market hits your chosen trigger price.
Instructions
Create a GTT (Good Till Triggered) rule that auto-places an order when the trigger price is hit.
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": {
"tradingsymbol": "<tradingsymbol>",
"symboltoken": "<symboltoken>",
"exchange": "<exchange>",
"producttype": "<producttype>",
"transactiontype": "<transactiontype>",
"price": "<price>",
"qty": "<qty>",
"triggerprice": "<triggerprice>"
},
"name": "gtt_create_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| qty | Yes | ||
| price | Yes | ||
| exchange | Yes | ||
| timeperiod | No | ||
| producttype | Yes | ||
| symboltoken | Yes | ||
| disclosedqty | No | ||
| triggerprice | Yes | ||
| tradingsymbol | Yes | ||
| transactiontype | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |