Exit Position - By Id not working.

Hi Team,

I tried calling this endpoint and it returned following response.

{

 "s": "error",

 "code": 500,

 "message": "Looks like you are passing an invalid entry"

}

 

payload was...

 

{

 "symbol": "NSE:BANKNIFTY2170135400PE"

}

 

HttpVerb: Delete

Endpoint URL: https://api.fyers.in/api/v2/positions

 

I can config that I used this symbol to place order and it worked but existing the postion with same symbol resulted in error.

 

Please assist.

 

 

Thank you,

Algo Trader

 

9 replies