wisespace-io / binance-rs

Rust Library for the Binance API
Other
640 stars 290 forks source link

Step Size #130

Closed KivalM closed 2 years ago

KivalM commented 2 years ago

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

KivalM commented 2 years ago

general::Get_symbol_info was what i needed