Skip to content

Commit

Permalink
revert mistaken commit
Browse files Browse the repository at this point in the history
  • Loading branch information
enarjord committed Aug 29, 2022
1 parent cc86a34 commit b04690a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,7 @@ async def download_ticks(self):
month = day[:7]
if month in months_done:
continue
if True: # month in months_failed:
if month in months_failed:
tf = self.get_zip(self.daily_base_url, self.config["symbol"], day)
if tf.empty:
print_(["failed to fetch daily", day])
Expand Down Expand Up @@ -957,7 +957,6 @@ def download_ohlcvs(symbol, start_date, end_date, download_only=False) -> pd.Dat
end_ts = date_to_ts(end_date)
days = [ts_to_date_utc(x)[:10] for x in list(range(start_ts, end_ts, 1000 * 60 * 60 * 24))]
months = sorted(set([x[:7] for x in days]))
months = [m for m in months if m not in ["2022-07", "2022-08"]]
months_done = set()
dfs = []
for month in months:
Expand Down

0 comments on commit b04690a

Please sign in to comment.