I wanted to place BO orders for Stocks with SL/SL-M orders
data = {
"symbol":"NSE:BHARTIARTL-EQ",
"qty":1,
"type":3,
"side":1,
"productType":"BO",
"limitPrice":0,
"stopPrice":1222,
"validity":"DAY",
"disclosedQty":0,
"offlineOrder":False,
"stopLoss": 10,
"takeProfit": 20,
"orderTag":"BO Orders"
}
response = fyers.place_order(data=data)
getting error - {'code': -50, 'message': 'productType must be one of the following: "CNC", "MARGIN", "INTRADAY"', 's': 'error'}
Hey @manju.663lrtyj
Can we know when was this order placed from you’re end
@WWhYB2qrsx Today and last week as well, can you please check this.
@WWhYB2qrsx Any update on this? its been a week there is no update.
Hi @manju.663lrtyj ,
Please refer to the order placement guide in the documentation. For market orders, the type should be 2, and stop price should be in points instead of price.
@ZppA1qLXjC From the same i have referred and created request, can you please check what is wrong in that