diff --git a/freqtrade/exchange/bittrex.py b/freqtrade/exchange/bittrex.py index eedfd3ab0..8e9994354 100644 --- a/freqtrade/exchange/bittrex.py +++ b/freqtrade/exchange/bittrex.py @@ -30,7 +30,11 @@ class Bittrex(Exchange): global _API, _EXCHANGE_CONF _EXCHANGE_CONF.update(config) - _API = _Bittrex(api_key=_EXCHANGE_CONF['key'], api_secret=_EXCHANGE_CONF['secret']) + _API = _Bittrex( + api_key=_EXCHANGE_CONF['key'], + api_secret=_EXCHANGE_CONF['secret'], + calls_per_second=5, + ) @property def fee(self) -> float: diff --git a/requirements.txt b/requirements.txt index 83292154e..334afb3b9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ --e git+https://github.com/ericsomdahl/python-bittrex.git@d7033d0#egg=python-bittrex +-e git+https://github.com/ericsomdahl/python-bittrex.git@0.2.0#egg=python-bittrex SQLAlchemy==1.1.14 python-telegram-bot==8.1.1 arrow==0.10.0 diff --git a/setup.py b/setup.py index f751b3d68..4f033884f 100644 --- a/setup.py +++ b/setup.py @@ -21,7 +21,7 @@ setup(name='freqtrade', setup_requires=['pytest-runner'], tests_require=['pytest', 'pytest-mock', 'pytest-cov'], install_requires=[ - 'python-bittrex==0.1.3', + 'python-bittrex==0.2.0', 'SQLAlchemy==1.1.13', 'python-telegram-bot==8.1.1', 'arrow==0.10.0', @@ -36,7 +36,7 @@ setup(name='freqtrade', 'tabulate==0.8.1', ], dependency_links=[ - "git+https://github.com/ericsomdahl/python-bittrex.git@d7033d0#egg=python-bittrex-0.1.3" + "git+https://github.com/ericsomdahl/python-bittrex.git@0.2.0#egg=python-bittrex-0.2.0" ], include_package_data=True, zip_safe=False,