With this API, there does not seem to be a way of determining the step size for certain tokens. Sometimes i recieve LOT_SIZE error, and from my research this has to do with binance only allowing certain purchase amounts for certain tokens. At the moment i am rounding off to a fixed 6 decimals but i know that this will not apply for everything and i will come across issues eventually.
With this API, there does not seem to be a way of determining the step size for certain tokens. Sometimes i recieve LOT_SIZE error, and from my research this has to do with binance only allowing certain purchase amounts for certain tokens. At the moment i am rounding off to a fixed 6 decimals but i know that this will not apply for everything and i will come across issues eventually.
This is the API reference for the feature i am referring to https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md#lot_size