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 numpy==1.20.0
pandas==1.2.1 pandas==1.2.1
ccxt==1.41.35 ccxt==1.41.62
aiohttp==3.7.3 aiohttp==3.7.3
SQLAlchemy==1.3.22 SQLAlchemy==1.3.22
python-telegram-bot==13.1 python-telegram-bot==13.1

View File

@ -18,7 +18,7 @@ EXCHANGES = {
'bittrex': { 'bittrex': {
'pair': 'BTC/USDT', 'pair': 'BTC/USDT',
'hasQuoteVolume': False, 'hasQuoteVolume': False,
'timeframe': '5m', 'timeframe': '1h',
}, },
'binance': { 'binance': {
'pair': 'BTC/USDT', 'pair': 'BTC/USDT',
@ -120,7 +120,9 @@ class TestCCXTExchange():
ohlcv = exchange.refresh_latest_ohlcv([pair_tf]) ohlcv = exchange.refresh_latest_ohlcv([pair_tf])
assert isinstance(ohlcv, dict) assert isinstance(ohlcv, dict)
assert len(ohlcv[pair_tf]) == len(exchange.klines(pair_tf)) 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 (?) # TODO: tests fetch_trades (?)