ccxt version bump to 1.41.62

This commit is contained in:
Matthias 2021-02-05 20:02:55 +01:00
parent 2c71b3b118
commit 0806202d47
2 changed files with 5 additions and 3 deletions

View File

@ -1,7 +1,7 @@
numpy==1.20.0
pandas==1.2.1
ccxt==1.41.35
ccxt==1.41.62
aiohttp==3.7.3
SQLAlchemy==1.3.22
python-telegram-bot==13.1

View File

@ -18,7 +18,7 @@ EXCHANGES = {
'bittrex': {
'pair': 'BTC/USDT',
'hasQuoteVolume': False,
'timeframe': '5m',
'timeframe': '1h',
},
'binance': {
'pair': 'BTC/USDT',
@ -120,7 +120,9 @@ class TestCCXTExchange():
ohlcv = exchange.refresh_latest_ohlcv([pair_tf])
assert isinstance(ohlcv, dict)
assert len(ohlcv[pair_tf]) == len(exchange.klines(pair_tf))
assert len(exchange.klines(pair_tf)) > 200
# assert len(exchange.klines(pair_tf)) > 200
# Assume 90% uptime ...
assert len(exchange.klines(pair_tf)) > exchange._ohlcv_candle_limit * 0.90
# TODO: tests fetch_trades (?)