Not able to place Bracket Order (BO) using Fyers API

Hello,

Reposting again. My first post is not visible to me anywhere.

So my issue is: I have implemented Fyers API in C#.NET, I am trying to place BO Order using APIs but I am getting below error message from Fyers.

"""api_status_code"": -50"

"""response_body"": ""productType must be one of the following: \""CNC\"", \""MARGIN\"", \""INTRADAY\"""""

Here is my request body -

{

"OrderId": null,

"Symbol": "NSE:BANKNIFTY24MAY49200CE",

"Qty": 480,

"Side": 1,

"OrderType": 4,

"LimitPrice": 166.55,

"ProductType": "BO",

"OrderValidity": "DAY",

"StopPrice": 165.55,

"DisclosedQty": 0,

"OffLineOrder": false,

"StopLoss": 10,

"TakeProfit": 31,

"OrderTag": "CE1MinFUnApp"

}

Reference doc URL - API - FYERS

Please help me

Thanks

2 replies