Position Conversion
Position Conversion API is versatile tool that empowers users to seamlessly switch between NRML intraday and Short term MIS positions and vice-versa. This feature will be accessible as long as there are adequate margins or funds available in the user's account to facilitate the conversion.
Method: PUT
{{SERVER_URL}}/api/V2/orders/position/convert/
Headers
| Content-Type | Value |
|---|---|
| Authorization | {{AUTH_TOKEN}} |
Request Body: URL Encoded
| Param | Value |
|---|---|
| exchangeSegment | The segment which represents cash, derivative, commodity, or currency market |
| exchangeInstrumentID | The security id of the instrument |
| oldProductType | The current product type of the position: CNC, MIS, NRML |
| newProductType | The new product type to which the position will be converted: CNC, MIS, NRML |
| isDayWise | IsDayWise conversion |
| targetQty | The quantity that you need to convert |
| clientID | Required in case of dealer |
Response: 200
{
"description": "position convert request sent",
"error": 200,
"type": "success"
}