longc

Results 6 comments of longc

> Thank you for your question, I looked at your command and the output, I think it's a problem with your command that is causing this error, you can look...

I guess running this command on a machine with bigger RAM could solve the problem. I have tried this on my machine with 16GB RAM, it works.

> change `import ruamel.yaml as yaml` to `import yaml` if you has `PyYAML` installed. Thanks, it solves my problem.

> 还是没人回复吗?我自己实现了一个HighFreqTopkDropoutStragegy解决了这个问题...... 您好,请问您方便一下您写的这个策略学习一下吗?感觉逻辑像是添加一个$buyDate然后判断$buyDate需要和¥today不等于才能进行交易?

在回测中可以看到你买卖单的变化的,在这个df里面 你可以看到每一笔交易执行