add typehints and type: ignores

This commit is contained in:
xmatthias
2018-05-31 22:00:46 +02:00
parent cf34b84cf1
commit 3fb1dd02f1
4 changed files with 9 additions and 9 deletions

View File

@@ -290,7 +290,7 @@ def get_ticker_history(pair: str, tick_interval: str, since_ms: Optional[int] =
# chached data was already downloaded
till_time_ms = min(till_time_ms, arrow.utcnow().shift(minutes=-10).timestamp * 1000)
data = []
data: List[Dict[Any, Any]] = []
while not since_ms or since_ms < till_time_ms:
data_part = _API.fetch_ohlcv(pair, timeframe=tick_interval, since=since_ms)