Avoid exception on exchange recycling if __init__ fails
This commit is contained in:
parent
f9e2e87346
commit
8f32fa5cb3
@ -93,7 +93,7 @@ class Exchange:
|
||||
:return: None
|
||||
"""
|
||||
self._api: ccxt.Exchange
|
||||
self._api_async: ccxt_async.Exchange
|
||||
self._api_async: ccxt_async.Exchange = None
|
||||
self._markets: Dict = {}
|
||||
self._trading_fees: Dict[str, Any] = {}
|
||||
self._leverage_tiers: Dict[str, List[Dict]] = {}
|
||||
|
Loading…
Reference in New Issue
Block a user