convert_position
Convert an open position to a different product type, like switching from intraday to delivery, to adjust your trading strategy while keeping the position.
Instructions
Convert a position from one product type to another (e.g. INTRADAY -> DELIVERY).
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": {
"exchange": "<exchange>",
"symboltoken": "<symboltoken>",
"tradingsymbol": "<tradingsymbol>",
"transactiontype": "<transactiontype>",
"quantity": "<quantity>",
"oldproducttype": "<oldproducttype>",
"newproducttype": "<newproducttype>"
},
"name": "convert_position"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | DAY | |
| exchange | Yes | ||
| quantity | Yes | ||
| symboltoken | Yes | ||
| tradingsymbol | Yes | ||
| newproducttype | Yes | ||
| oldproducttype | Yes | ||
| transactiontype | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |