Hello,
I have some questions regarding Fyers API V3.
Let's take an example. I want to put a buy order for NSE:BANKNIFTY2441048600CE. I want to buy this only if the LTP is above 355.
1) Is this limit order correct?
data = {
"symbol":"NSE:BANKNIFTY2441048600CE",
"qty":1,
"type":1,
"side":1,
"productType":"INTRADAY",
"limitPrice":355.00,
"stopPrice":0,
"validity":"DAY",
"disclosedQty":0,
"offlineOrder":False }
2) If I put Qty 1 in the above example: I get an error that 1 is not the minimum lot size. Is there any way I can calculate the lot size?
3) I want to put trailing stop loss. Is there any way fyers take trailing stop loss orders?
3.a) If no, there i write a logic in python. What type of order should I put: CO? Can you please give me an example? Let's say i want to put trailing stop loss (LTP - 30). How should I put these orders in the system and keep on modifying them?
Thanks & Regards,
Sudeep