convert_position
Convert an existing position from one product type to another, such as switching from intraday to delivery, to align with your trading strategy.
Instructions
Convert an existing position from one product type to another (e.g. INTRADAY to 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>",
"oldproducttype": "<oldproducttype>",
"newproducttype": "<newproducttype>",
"transactiontype": "<transactiontype>",
"quantity": "<quantity>",
"type": "<type>"
},
"name": "convert_position"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Conversion type | |
| force | No | Set true to bypass soft quantity limits | |
| exchange | Yes | Exchange | |
| quantity | Yes | Quantity to convert | |
| symboltoken | Yes | Symbol token | |
| tradingsymbol | Yes | Trading symbol | |
| newproducttype | Yes | Target product type to convert to | |
| oldproducttype | Yes | Current product type | |
| transactiontype | Yes | BUY or SELL |