sammchardy / python-binance

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

Allow to actually disable refresh interval #1373

Closed dragoon closed 1 month ago

dragoon commented 10 months ago

Current implementation of refresh interval doesn't work correct according to the library documentation -- setting the refresh_interval argument to 0 or None will actually set it to default value (30 minutes). My fix doesn't change the behavior as advertised, it will set refresh_interval to default when not specified, and disabled when 0 or None is passed.

dragoon commented 10 months ago

related https://github.com/sammchardy/python-binance/issues/1365

sammchardy commented 1 month ago

Thanks @dragoon