mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-15 11:22:18 +08:00
Skipping data chunks if they already exist (fix)
This commit is contained in:
@@ -154,14 +154,14 @@ class ExchangeBundle:
|
||||
start_close = self.reader.get_value(
|
||||
asset.sid, start, 'close')
|
||||
|
||||
if np.is_nan(start_close):
|
||||
if np.isnan(start_close):
|
||||
has_data = False
|
||||
|
||||
else:
|
||||
end_close = self.reader.get_value(
|
||||
asset.sid, end, 'close')
|
||||
|
||||
if np.is_nan(end_close):
|
||||
if np.isnan(end_close):
|
||||
has_data = False
|
||||
|
||||
except Exception as e:
|
||||
|
||||
Reference in New Issue
Block a user