I keep getting all kinds of errors when i try to have different config for iceberg orders. I know for Nifty it will place extra orders, i am good with it for now.
What further checks are needed...For eg, hypothetically, if I want to Sell 1500 Contracts of MIDCAPNIFTY in 3 legs, with above formula, Iceberg Quantitiy comes as 500....but 500 is NOT a mutilple of 75 which is the midcapnifty Lot Size....
The first order will go through with the quantity specified that is 1200 and then the second order will be placed with the quantity of 2475-1200 (1275)
Got error: "Missing or empty field `exchange`","data":null,"error_type":"InputException"
Above order worked in finding margin but not working when placing the order! I have read all iceberg posts and documentation. Every combination throws a new error!
i am sending order for 1050 quantity nifty, iceberg_legs = 2, iceberg_quantity = 450
tried with iceberg_quantity = 600
either it says quantity is invalid or iceberg_quantity is invalid.
{
exchange: 'NFO',
tradingsymbol: 'NIFTY25APR22700PE',
transaction_type: 'BUY',
order_type: 'MARKET',
quantity: 3375,
product: 'MIS',
variety: 'iceberg',
iceberg_legs: 2,
iceberg_quantity: 1725
}
Got error:
"Missing or empty field `exchange`","data":null,"error_type":"InputException"
Above order worked in finding margin but not working when placing the order! I have read all iceberg posts and documentation. Every combination throws a new error!