convert_position
Converts a trading position's product type—for example, intraday to delivery—by specifying the instrument, old and new product, quantity, and transaction type.
Instructions
Convert position product type (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": {
"instrument_token": "<instrument_token>",
"new_product": "<new_product>",
"old_product": "<old_product>",
"quantity": "<quantity>",
"transaction_type": "<transaction_type>"
},
"name": "convert_position"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quantity | Yes | ||
| new_product | Yes | ||
| old_product | Yes | ||
| instrument_token | Yes | ||
| transaction_type | Yes |