Wrong Documentation for autoslice order caused me loss

zhkas
zhkas edited 6:35AM in General
The documentation says:
autoslice : Enable automatic slicing for orders exceeding freeze quantity limits. Values: true (enable), false (disable, default).
However, it doesn't explicitly mention what happens when the order quantity is less than the freeze quantity.

My understanding is that when automatic slicing is enabled
orders exceeding the freeze quantity will be automatically split into multiple orders,
while orders below the freeze quantity should be placed normally without requiring slicing

However, when I enabled this option, I received the following error:
Quantity should be greater than or equal to 3510 for order slicing.
Why is the minimum quantity for slicing being enforced even when my order quantity is below the freeze quantity?

Shouldn't the system automatically handle it as:
  • qty <= freeze quantity → place the order normally </li>
  • qty > freeze quantity → automatically slice the order
Please clarify whether this is the intended behavior or whether there is an additional requirement for using automatic order slicing.

Also please correct the documentation accordingly.


I also feel that publishing an OpenAPI specification would make the API much more transparent and useful for developers.
It would clearly define the request parameters, data types, required fields, allowed values, validation rules, error responses, and expected behaviour for cases such as quantities below or above the freeze quantity.
This would make it much easier to understand and integrate the API correctly without having to infer behaviour from brief parameter descriptions.

Example:
Response for autoslice is
{"status":"success","data":{"order_id":"XXXXX","children":[{"order_id":"YYYYYY"}]}}

which is nowhere mentioned in the API doc

Please publish the openAPI specification.
Sign In or Register to comment.