ohlc filename bugfix
This commit is contained in:
@@ -49,7 +49,7 @@ class OHLCFilePath:
|
||||
self.start = start = datetime(time.year, 1, 1, tzinfo=timezone.utc)
|
||||
self.end = datetime(time.year+1, 1, 1, tzinfo=timezone.utc)
|
||||
self.file_interval = timedelta(days=366)
|
||||
self.filepath += f'{start.year}/{symbol}-{name}-{start:%Y%m}.csv'
|
||||
self.filepath += f'{start.year}/{symbol}-{name}-{start:%Y}.csv'
|
||||
else:
|
||||
# weeklies get one file for everything
|
||||
# log.debug(f'{name} is a single file')
|
||||
|
||||
Reference in New Issue
Block a user