Portfolio
Convert Positions
Convert the margin product of an open position
put/v2/portfolio/convert-position
Request
- Base URL: https://api-v2.upstox.com
- URL: https://api-v2.upstox.com/v2/portfolio/convert-position
- Auth: OAuth 2 (authorization code, authorization URL https://api-v2.upstox.com/v2/login/authorization/dialog, token URL https://api-v2.upstox.com/v2/login/authorization/token)
Request body
Example request
{
"new_product": "D",
"old_product": "I",
"transaction_type": "BUY",
"quantity": 1
}Response
Successful
Example response
{
"data": {
"status": "complete"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.