Hi , I tried Iceberg order with kite web as well as android app where only # of legs need to be given, so in that case it decides "iceberg_quantity" automatically. example if i place order of total 125 qty and say 2 legs then it take 63+62 and accepts the order.
But if i place it through python client then it does not accept only legs as input. it requires both "legs" and "iceberg_quantity" parameters need to be provided. So in case of non divisible order qty then it does not accept order.
I tried with order 125 , leg = 2 and iceberg_quantity = 63 then it worked fine.
But again my order qty is varying and want to slice order based on qty freeze so it is difficult to calculate both "legs" and "iceberg_quantity".
One more observation for first leg it only accept rounded up number as "iceberg_quantity" Example 1) for 125 with 4 leg it accepts 32 as "iceberg_quantity" 2) for 125 with 3 leg it accepts 63 as "iceberg_quantity" 3) for 99 with 2 legs it accepts only 50 as first leg qty.
I am looking it as solution to qty freeze pl advise or make "iceberg_legs" as optional parameter with balance qty as last leg qty
Example if order qty is 6000 and "iceberg_quantity" is 1800 then 1800+1800+1800+600 ( 4 leg or not to specify leg itself.)