rqalpha
rqalpha copied to clipboard
develop分支运行 test_f_mean_reverting.py 无法通过
比较奇怪的问题,在Python 2.7 下 只有这个测试没有通过(Python 3.x下都通过),并且只有 cash 和 total_value 在中间某些状态下有不同。

找到问题了,Python 2.x 和 3.x 下 df.round 可能会产生不同的结果... 如图所示:
