We are placing a market order with MPP as -1 indicating zerodha should calculate the limit price to place a limit order. When the LTP is very close to the upper circuit or lower circuit and when this order is placed, the limit price goes beyond these limits and the order is failed with message indicating the limit price is above/below the circuit limits.
We have the same algo platform which runs on Angel One as well and we don't see this issue with them since they have the below logic to calculate the limit price