Filter failure: MAX_NUM_ALGO_ORDERS 2010

I need someone’s help to explain the error that I encountered when trying to execute a sell OCO (One-Cancels-the-Other) order.

    "code": -2010,
    "msg": "Filter failure: MAX_NUM_ALGO_ORDERS"

OCO is a ALGO type of order.
The error message you see, indicates you’re failing the MAX_NUM_ALGO_ORDERS filter.
If you consult the API doc, details about the this filter can be found at

1 Like