Improve typehint for markets

This commit is contained in:
Matthias
2023-06-17 18:04:41 +02:00
parent 66b34edc0b
commit 937734365f

View File

@@ -301,7 +301,7 @@ class Exchange:
return list((self._api.timeframes or {}).keys())
@property
def markets(self) -> Dict:
def markets(self) -> Dict[str, Any]:
"""exchange ccxt markets"""
if not self._markets:
logger.info("Markets were not loaded. Loading them now..")