问答交流

模拟盘跑不起来,报错,求助

由bqh3jpu8创建,最终由small_q 被浏览 16 用户







2024-01-17 07:55:51 任务运行开始调度 state=trigger event= 156c3d45-966a-4a92-a09d-d95e67f7f600 .. 2024-01-17 07:56:00 任务运行状态更新 state=scheduled event=20240116 156c3d45-966a-4a92-a09d-d95e67f7f600 2024-01-17 07:56:04 任务运行状态更新 state=running event=20240116 156c3d45-966a-4a92-a09d-d95e67f7f600 2024-01-17 15:56:04 [info ] run task_id='156c3d45-966a-4a92-a09d-d95e67f7f600' .. 2024-01-17 15:56:04 [info ] fetch task 156c3d45-966a-4a92-a09d-d95e67f7f600 .. 2024-01-17 15:56:04 [info ] start 156c3d45-966a-4a92-a09d-d95e67f7f600.ipynb .. [2024-01-17 15:56:18.466951] INFO: moduleinvoker:3783085055.py:108:<module> input_features_dai.v6 开始运行.. [2024-01-17 15:56:18.638155] INFO: moduleinvoker:3783085055.py:108:<module> 命中缓存 [2024-01-17 15:56:18.641463] INFO: moduleinvoker:3783085055.py:108:<module> input_features_dai.v6 运行完成[0.174583s]. 2024-01-17 15:56:18 [info ] cache disabled for paper/live trading [2024-01-17 15:56:18.700549] INFO: moduleinvoker:3783085055.py:146:<module> extract_data_dai.v7 开始运行.. 2024-01-17 15:56:18 [info ] start_date='2024-01-16', end_date='2024-01-16', query_start_date='2023-11-17' .. 2024-01-17 15:56:21 [info ] data extracted: (2370, 3) [2024-01-17 15:56:21.619385] INFO: moduleinvoker:3783085055.py:146:<module> extract_data_dai.v7 运行完成[2.918835s]. [2024-01-17 15:56:21.660382] INFO: moduleinvoker:3783085055.py:157:<module> bigtrader.v7 开始运行.. [2024-01-17 15:56:21.705058] INFO: hfpapertrading:init.py:90:init got metadata extra from input datasource [2024-01-17 15:56:21.709245] INFO: hfpapertrading:init.py:95:init read data .. [2024-01-17 15:56:21.737743] INFO: hfpapertrading:init.py:122:init run try_run=True, run_date='2024-01-16', strategy_id=156c3d45-966a-4a92-a09d-d95e67f7f600, strategy_name=25日Aroon指标策略 copy [2024-01-17 15:56:21.753547] INFO: hfpapertrading:init.py:363:run bigtrader engine v1.10.7 2024-01-03 [2024-01-17 15:56:22.122856] INFO: hfpapertrading:init.py:367:run got 2492 trading_days [datetime.datetime(2024, 12, 25, 0, 0), datetime.datetime(2024, 12, 26, 0, 0), datetime.datetime(2024, 12, 27, 0, 0), datetime.datetime(2024, 12, 30, 0, 0), datetime.datetime(2024, 12, 31, 0, 0)] [2024-01-17 15:56:22.132759] INFO: hfpapertrading:init.py:371:run run_date=2024-01-16 is_trading_day=True, next_trading_day=2024-01-17 [2024-01-17 15:56:22.153886] INFO: hfpapertrading:init.py:385:run got strategy_info=None by '156c3d45-966a-4a92-a09d-d95e67f7f600' benchmark_data= date instrument name pre_close open high low 0 2024-01-15 000300.SH 沪深300指数 3284.17 3270.10 3306.92 3261.271 2024-01-16 000300.SH 沪深300指数 3280.92 3272.57 3300.88 3260.44close volume amount change change_ratio0 3280.92 88851500 1.443320e+11 -3.25 -0.00101 3300.88 113276700 1.756510e+11 19.96 0.0061[2024-01-17 15:56:22.323234] ERROR: hfpapertrading:init.py:651:run run hit Exception, e No daily data Traceback (most recent call last): File "/var/app/data/custom_module/publicmodules/bigtrader/v7/core/pypapertrading/init.py", line 475, in run raise Exception("No daily data") Exception: No daily data [2024-01-17 15:56:22.332521] ERROR: moduleinvoker:3783085055.py:157:<module> module name: bigtrader, module version: v7, trackeback: Exception: No daily data 2024-01-17 07:56:24 任务运行状态更新 state=failed event=20240116 156c3d45-966a-4a92-a09d-d95e67f7f600

评论
  • 报错是因为当天没有数据, 或者当天的数据还没加载出来, 你手动运行试试?
  • undefined
{link}