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