Load correct exchange class

closes #2371
This commit is contained in:
Matthias
2019-10-14 11:36:42 +02:00
parent 4228137dff
commit 76ad5bea0e
4 changed files with 15 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
from freqtrade.exchange.exchange import Exchange # noqa: F401
from freqtrade.exchange.exchange import Exchange, MAP_EXCHANGE_CHILDCLASS # noqa: F401
from freqtrade.exchange.exchange import (get_exchange_bad_reason, # noqa: F401
is_exchange_bad,
is_exchange_known_ccxt,

View File

@@ -102,6 +102,11 @@ BAD_EXCHANGES = {
], "Does not provide timeframes. ccxt fetchOHLCV: emulated"),
}
MAP_EXCHANGE_CHILDCLASS = {
'binanceus': 'binance',
'binanceje': 'binance',
}
def retrier_async(f):
async def wrapper(*args, **kwargs):