sammchardy / python-binance

Binance Exchange API python implementation for automated trading
https://python-binance.readthedocs.io/en/latest/
MIT License
5.88k stars 2.2k forks source link

Fix the comment to describe refresh_interval #1365

Open krkzts opened 8 months ago

krkzts commented 8 months ago

Currently there is a comment to describe refresh_interval https://github.com/sammchardy/python-binance/blob/e974c34cb1e48d2c98da4c71c5c14dc2e8ff56e6/binance/depthcache.py#L145

But actually if the arg of the param is 0 or None, it is set to self.DEFAULT_REFRESH ref: https://github.com/sammchardy/python-binance/blob/e974c34cb1e48d2c98da4c71c5c14dc2e8ff56e6/binance/depthcache.py#L163