ccxt version bump to 1.41.62
This commit is contained in:
parent
2c71b3b118
commit
0806202d47
@ -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
|
||||||
|
@ -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 (?)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user