vnpy_ctabacktester不支持PortfolioStrategy组合策略回测呀,PortfolioStrategy组合策略如何回测?
vnpy_ctabacktester不支持PortfolioStrategy组合策略回测呀,PortfolioStrategy组合策略如何回测?
在Jupyter中直接调用回测引擎进行投研回测
你好,ipynb文件要用Jupyter Notebook运行,在Pycharm怎样安装Jupyter Notebook,我安装的时候提示错误无法安装。
pycharm要专业版才提供jupyter支持
Pycharm的Jupyter执行ipynb文件无反应,但我加一句print语句是有结果出来的。
可能是ipynb文件的代码的问题,调试也不方便。
是否可以将ipynb文件转换成python文件再执行,那位高手帮忙转换一下,谢谢。
可以运行了,但运行报错,不知道这个错误怎样解决:
RuntimeError:
An attempt has been made to start a new process before the
current process has finished its bootstrapping phase.
This probably means that you are not using fork to start your
child processes and you have forgotten to use the proper idiom
in the main module:
if __name__ == '__main__':
freeze_support()
...
你直接python里面装个jupyter,用jupyter跑回测就好