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
ypeError: 'NoneType' object is not subscriptable
root@ffea30034de5:/data/InStock/instock/job# python3 execute_daily_job.py 2024-11-13
Traceback (most recent call last):
File "/data/InStock/instock/job/execute_daily_job.py", line 66, in
main()
File "/data/InStock/instock/job/execute_daily_job.py", line 56, in main
bdj.main()
File "/data/InStock/instock/job/backtest_data_daily_job.py", line 98, in main
prepare()
File "/data/InStock/instock/job/backtest_data_daily_job.py", line 33, in prepare
stocks_data = stock_hist_data().get_data()
^^^^^^^^^^^^^^^^^
File "/data/InStock/instock/lib/singleton_type.py", line 18, in call
cls._instance = super(singleton_type, cls).call(*args, **kwargs) # 创建cls的对象
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/InStock/instock/core/singleton_stock.py", line 31, in init
_subset = stock_data(date).get_data()[list(tbs.TABLE_CN_STOCK_FOREIGN_KEY['columns'])]
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not subscriptable
The text was updated successfully, but these errors were encountered:
ypeError: 'NoneType' object is not subscriptable
root@ffea30034de5:/data/InStock/instock/job# python3 execute_daily_job.py 2024-11-13
Traceback (most recent call last):
File "/data/InStock/instock/job/execute_daily_job.py", line 66, in
main()
File "/data/InStock/instock/job/execute_daily_job.py", line 56, in main
bdj.main()
File "/data/InStock/instock/job/backtest_data_daily_job.py", line 98, in main
prepare()
File "/data/InStock/instock/job/backtest_data_daily_job.py", line 33, in prepare
stocks_data = stock_hist_data().get_data()
^^^^^^^^^^^^^^^^^
File "/data/InStock/instock/lib/singleton_type.py", line 18, in call
cls._instance = super(singleton_type, cls).call(*args, **kwargs) # 创建cls的对象
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/InStock/instock/core/singleton_stock.py", line 31, in init
_subset = stock_data(date).get_data()[list(tbs.TABLE_CN_STOCK_FOREIGN_KEY['columns'])]
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not subscriptable
The text was updated successfully, but these errors were encountered: