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....
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.