nedludd0

Results comments of nedludd0

Hello, are you planning to develop a fix? I would be happy to help, but I still don't have the skills :-/

> thank you so much! @goldan @cc345 > sym_info = self._client.get_symbol_info('BATBNB') > filters = sym_info['filters'] > for f in filters: > print("filter~~~~~~~~~~~~ " + str(f)) > if f['filterType'] == 'LOT_SIZE':...

> > Instead of rounding to hard-coded 6 digits, you can find actual precision using this API (it can be different for different tokens): https://github.com/binance-exchange/binance-official-api-docs/blob/master/rest-api.md#lot_size (stepSize). To convert stepSize to...

You can also take an example from my repo, see among the methods. In a few days I publish a new version with Futures. https://github.com/nedludd0/binance-exchange-python-api

> This is what I have been using (I'm horrible at Python), but it seems to work: > for filters: > > ``` > ``` > ``` > > sym_info...

> Following @nedludd0 fee calculation: > > ``` > base_fee = self.client.get_trade_fee(symbol=symbol)[0]['takerCommission'] > fee = (100 - float(base_fee)) / 100 > ``` It is ok if y are a taker...

@sourovafrin you can use my class where i calculated it and to understand how to use it see the main.py of the my repo https://github.com/nedludd0/binance-exchange-python-api There are also other useful...