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).
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 |