Hi team
I am trying to convert position use API v3 but getting below error -
Request data -
{'symbol': 'NSE:POONAWALLA-EQ', 'positionSide': 1, 'convertQty': 2, 'convertFrom': 'INTRADAY', 'convertTo': 'CNC'
}
Respose -
{'code': -53, 'message': 'invalid position id: NSE:POONAWALLA-EQ', 's': 'error'
}
even tried
{‘symbol’: ‘NSE:CASTROLIND-EQ’, ‘positionSide’: 1, ‘convertQty’: 3, ‘convertFrom’: ‘INTRADAY’, ‘convertTo’: ‘CNC’, ‘overnight’: 0}
but same error
{‘code’: -53, ‘message’: ‘invalid position id: NSE:CASTROLIND-EQ’, ‘s’: ‘error’}
https://myapi.fyers.in/docsv3#tag/Other-Transactions/paths/~1OthePlacement/post
WWhYB2qrsx
(Inactive Member)
3
Hey @118128179509390596208
We will get this checked from our end
Seems issue is with the python example and keyword symbol,
As in v3 docs
{
"symbol":"MCX:SILVERMIC20NOVFUT",
"positionSide":1,
"convertQty":1,
"convertFrom":"INTRADAY",
"convertTo":"CNC"
}
i have changed symbol to id i.e. ‘NSE:NLCINDIA-EQ-INTRADAY’
will test and confirm
{
"symbol":"NSE:NLCINDIA-EQ-INTRADAY",
"positionSide":1,
"convertQty":1,
"convertFrom":"INTRADAY",
"convertTo":"CNC"
}