python-binance
python-binance copied to clipboard
round_step_size
https://github.com/sammchardy/python-binance/blob/d043588a77f8d7254e6e5362b9bf61e39b7b1a19/binance/helpers.py#L62
Is there any specific reason not to use Decimal.quantize method? like: value.quantize(step_size, ROUND_DOWN)