final_ohlc bugfix

This commit is contained in:
tim
2024-08-04 22:02:08 -04:00
parent 8ba11ec4d0
commit 6dd7f672a8

View File

@@ -214,7 +214,7 @@ class OHLCFileSeries:
self.base_dir = base_dir
self.symbol = symbol
self.series_start: Optional[datetime] = None # timestamp of the first datum in the series
self.write_offset: Optional[int] = None
self.write_offset: int = 0
self.last_flush: Optional[tuple[datetime,dec]] = None
self.quote_file = None
self.dirty_files = set()