Position Conversion
To get characters you need to make a POST call to the following url
REQUEST ATTRIBUTES
| Parameter | Description | Mandatory |
|---|---|---|
| exchange | Exchange name | Yes |
| tsym | Trading Symbol | Yes |
| qty | Quantity | Yes |
| prev_product | Previous Product | Yes |
| trantype | Transaction Type | Yes |
| new_product | New Product | Yes |
RESPONSE ATTRIBUTES
| Response Parameter | Description |
|---|---|
| result | Status |
curl / cURL
curl --location --request POST 'https://api.gwcindia.in/v1/positionconversion' \
--header 'x-api-key: 2e4c1f0ac084dd6b30fd808e016be3f0' \
--header 'Authorization: Bearer 3e81bfb2a1ef11d3bd3e9a8966d4d51e'
Request Example
{
"exchange":"NSE",
"tsym":"IDEA-EQ",
"qty":"1",
"prev_product":"CNC",
"trantype":"B",
"new_product":"MIS"
}
Response Example
{
"status": "success",
"data": {
"result": "success"
}
}