final ohlc bugfix
This commit is contained in:
@@ -287,6 +287,7 @@ class OHLCFileSeries:
|
|||||||
os.makedirs(os.path.dirname(quote_filename), exist_ok=True)
|
os.makedirs(os.path.dirname(quote_filename), exist_ok=True)
|
||||||
self.quote_file = open(quote_filename, 'bw')
|
self.quote_file = open(quote_filename, 'bw')
|
||||||
line = None
|
line = None
|
||||||
|
if line:
|
||||||
try:
|
try:
|
||||||
start, old_time, old_price = line.split(',')
|
start, old_time, old_price = line.split(',')
|
||||||
except ValueError:
|
except ValueError:
|
||||||
|
|||||||
Reference in New Issue
Block a user