问答交流

index 0 is out of bounds for axis 0 with size 0

由yi12308创建,最终由yi12308 被浏览 54 用户

问题

[2021-11-22 16:30:01.137076] ERROR: moduleinvoker: module name: backtest, module version: v8, trackeback: IndexError: index 0 is out of bounds for axis 0 with size 0
[2021-11-22 16:30:01.148826] ERROR: moduleinvoker: module name: trade, module version: v4, trackeback: IndexError: index 0 is out of bounds for axis 0 with size 0

{w:100}{w:100}{w:100} {w:100}{w:100}{w:100}

https://bigquant.com/experimentshare/224b471140a74b86b35cd2ceae476392

\

标签

Python回测模块
评论
  • 我回测没有问题,如果上模拟交易的话,需要在预测集时间那里绑定实盘参数 ![{w:100}](/wiki/api/attachments.redirect?id=43bae751-3a28-4c5a-9b34-1a2ec19da24a)
  • 训练集和预测集都需要绑定实盘参数吧?
{link}