Fix typehints

This commit is contained in:
Matthias
2020-12-15 20:59:58 +01:00
parent 011ba1d9ae
commit d1fda28d2e
3 changed files with 7 additions and 5 deletions

View File

@@ -735,7 +735,7 @@ class Exchange:
def refresh_latest_ohlcv(self, pair_list: ListPairsWithTimeframes, *,
since_ms: Optional[int] = None, cache: bool = True
) -> Dict[str, DataFrame]:
) -> Dict[Tuple[str, str], DataFrame]:
"""
Refresh in-memory OHLCV asynchronously and set `_klines` with the result
Loops asynchronously over pair_list and downloads all pairs async (semi-parallel).