mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
typing of return value corrected
This commit is contained in:
parent
9fbe573cca
commit
f03acce84c
|
@ -697,9 +697,8 @@ def is_exchange_supported(exchange: str, ccxt_module=None) -> bool:
|
|||
return exchange in supported_exchanges(ccxt_module)
|
||||
|
||||
|
||||
def supported_exchanges(ccxt_module=None) -> str:
|
||||
exchanges = ccxt_module.exchanges if ccxt_module is not None else ccxt.exchanges
|
||||
return exchanges
|
||||
def supported_exchanges(ccxt_module=None) -> List[str]:
|
||||
return ccxt_module.exchanges if ccxt_module is not None else ccxt.exchanges
|
||||
|
||||
|
||||
def timeframe_to_seconds(ticker_interval: str) -> int:
|
||||
|
|
Loading…
Reference in New Issue
Block a user