convert_position
Convert an open position's product type, such as moving an intraday MIS position to CNC overnight delivery or vice versa, to adjust trading product category.
Instructions
Convert an open position's product type (e.g. move an intraday MIS position to CNC overnight delivery, or vice versa). Dry-run unless KITE_MCP_ENABLE_TRADING=true is set.
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>",
"tradingsymbol": "<tradingsymbol>",
"transaction_type": "<transaction_type>",
"position_type": "<position_type>",
"quantity": "<quantity>",
"old_product": "<old_product>",
"new_product": "<new_product>"
},
"name": "convert_position"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| exchange | Yes | ||
| quantity | Yes | ||
| new_product | Yes | ||
| old_product | Yes | ||
| position_type | Yes | ||
| tradingsymbol | Yes | ||
| transaction_type | Yes |