You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BINANCE_SYM_LST=BTCUSDT,ETHUSDT zipline ingest -b binance_min
[2024-08-22T10:42:21+0800-INFO][zipline.data.bundles.core]
Ingesting binance_min
Merging minute equity files: [------------------------------------] 0---] 0% BTCUSDT
Traceback (most recent call last):
File "/Users/mogu/miniconda3/envs/ml4t/lib/python3.10/site-packages/pandas/core/indexes/base.py", line 3802, in get_loc
return self._engine.get_loc(casted_key)
File "pandas/_libs/index.pyx", line 516, in pandas._libs.index.DatetimeEngine.get_loc
File "pandas/_libs/index.pyx", line 540, in pandas._libs.index.DatetimeEngine.get_loc
KeyError: Timestamp('2024-07-02 00:00:00+0000', tz='UTC')
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/mogu/miniconda3/envs/ml4t/lib/python3.10/site-packages/pandas/core/indexes/datetimes.py", line 736, in get_loc
return Index.get_loc(self, key, method, tolerance)
File "/Users/mogu/miniconda3/envs/ml4t/lib/python3.10/site-packages/pandas/core/indexes/base.py", line 3804, in get_loc
raise KeyError(key) from err
KeyError: Timestamp('2024-07-02 00:00:00+0000', tz='UTC')
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/mogu/miniconda3/envs/ml4t/bin/zipline", line 8, in
sys.exit(main())
File "/Users/mogu/miniconda3/envs/ml4t/lib/python3.10/site-packages/click/core.py", line 1157, in call
return self.main(*args, **kwargs)
File "/Users/mogu/miniconda3/envs/ml4t/lib/python3.10/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
File "/Users/mogu/miniconda3/envs/ml4t/lib/python3.10/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/mogu/miniconda3/envs/ml4t/lib/python3.10/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Users/mogu/miniconda3/envs/ml4t/lib/python3.10/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "/Users/mogu/miniconda3/envs/ml4t/lib/python3.10/site-packages/zipline/main.py", line 397, in ingest
bundles_module.ingest(
File "/Users/mogu/miniconda3/envs/ml4t/lib/python3.10/site-packages/zipline/data/bundles/core.py", line 445, in ingest
bundle.ingest(
File "/Users/mogu/miniconda3/envs/ml4t/lib/python3.10/site-packages/zipline/data/bundles/ingester.py", line 431, in call
minute_bar_writer.write(self._read_and_convert(calendar, show_progress), show_progress=show_progress)
File "/Users/mogu/miniconda3/envs/ml4t/lib/python3.10/site-packages/zipline/data/bcolz_minute_bars.py", line 658, in write
write_sid(*e, invalid_data_behavior=invalid_data_behavior)
File "/Users/mogu/miniconda3/envs/ml4t/lib/python3.10/site-packages/zipline/data/bcolz_minute_bars.py", line 690, in write_sid
self._write_cols(sid, dts, cols, invalid_data_behavior)
File "/Users/mogu/miniconda3/envs/ml4t/lib/python3.10/site-packages/zipline/data/bcolz_minute_bars.py", line 780, in _write_cols
latest_min_count = all_minutes.get_loc(last_minute_to_write)
File "/Users/mogu/miniconda3/envs/ml4t/lib/python3.10/site-packages/pandas/core/indexes/datetimes.py", line 738, in get_loc
raise KeyError(orig_key) from err
KeyError: Timestamp('2024-07-02 00:00:00+0000', tz='UTC')
The text was updated successfully, but these errors were encountered:
"The error is as follows:"
BINANCE_SYM_LST=BTCUSDT,ETHUSDT zipline ingest -b binance_min
[2024-08-22T10:42:21+0800-INFO][zipline.data.bundles.core]
Ingesting binance_min
Merging minute equity files: [------------------------------------] 0---] 0% BTCUSDT
Traceback (most recent call last):
File "/Users/mogu/miniconda3/envs/ml4t/lib/python3.10/site-packages/pandas/core/indexes/base.py", line 3802, in get_loc
return self._engine.get_loc(casted_key)
File "pandas/_libs/index.pyx", line 516, in pandas._libs.index.DatetimeEngine.get_loc
File "pandas/_libs/index.pyx", line 540, in pandas._libs.index.DatetimeEngine.get_loc
KeyError: Timestamp('2024-07-02 00:00:00+0000', tz='UTC')
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/mogu/miniconda3/envs/ml4t/lib/python3.10/site-packages/pandas/core/indexes/datetimes.py", line 736, in get_loc
return Index.get_loc(self, key, method, tolerance)
File "/Users/mogu/miniconda3/envs/ml4t/lib/python3.10/site-packages/pandas/core/indexes/base.py", line 3804, in get_loc
raise KeyError(key) from err
KeyError: Timestamp('2024-07-02 00:00:00+0000', tz='UTC')
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/mogu/miniconda3/envs/ml4t/bin/zipline", line 8, in
sys.exit(main())
File "/Users/mogu/miniconda3/envs/ml4t/lib/python3.10/site-packages/click/core.py", line 1157, in call
return self.main(*args, **kwargs)
File "/Users/mogu/miniconda3/envs/ml4t/lib/python3.10/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
File "/Users/mogu/miniconda3/envs/ml4t/lib/python3.10/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/mogu/miniconda3/envs/ml4t/lib/python3.10/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Users/mogu/miniconda3/envs/ml4t/lib/python3.10/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "/Users/mogu/miniconda3/envs/ml4t/lib/python3.10/site-packages/zipline/main.py", line 397, in ingest
bundles_module.ingest(
File "/Users/mogu/miniconda3/envs/ml4t/lib/python3.10/site-packages/zipline/data/bundles/core.py", line 445, in ingest
bundle.ingest(
File "/Users/mogu/miniconda3/envs/ml4t/lib/python3.10/site-packages/zipline/data/bundles/ingester.py", line 431, in call
minute_bar_writer.write(self._read_and_convert(calendar, show_progress), show_progress=show_progress)
File "/Users/mogu/miniconda3/envs/ml4t/lib/python3.10/site-packages/zipline/data/bcolz_minute_bars.py", line 658, in write
write_sid(*e, invalid_data_behavior=invalid_data_behavior)
File "/Users/mogu/miniconda3/envs/ml4t/lib/python3.10/site-packages/zipline/data/bcolz_minute_bars.py", line 690, in write_sid
self._write_cols(sid, dts, cols, invalid_data_behavior)
File "/Users/mogu/miniconda3/envs/ml4t/lib/python3.10/site-packages/zipline/data/bcolz_minute_bars.py", line 780, in _write_cols
latest_min_count = all_minutes.get_loc(last_minute_to_write)
File "/Users/mogu/miniconda3/envs/ml4t/lib/python3.10/site-packages/pandas/core/indexes/datetimes.py", line 738, in get_loc
raise KeyError(orig_key) from err
KeyError: Timestamp('2024-07-02 00:00:00+0000', tz='UTC')
The text was updated successfully, but these errors were encountered: