Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
掘金社区
gscq 发表在 掘金2 2015-11-02 09:01:21
按手收取手续费的回测支持
按手收取手续费的回测支持Pinned highlighted
gscq 发表在掘金2 2015-11-02 09:01:21
目前设置回测模式手续费只有commission_ratio这种模式,有的期货是按手数收取一定绝对值的手续费的,这样回测就不支持了。
大概折算一下就可以了吧。
但是目前看起来折算法计算貌似结果并不太对……而且差距挺大的,不知道是为什么
可能是价格波动范围比较大,导致折算有偏差,建议考虑用价格中位数作交易金额来计算commission_ratio,回测数据只是作参考,交易费用不必力求太精确吧?
gscq
热门标签
热门推荐
Looks like your connection to 掘金量化社区 - 量化交易者的交流社区 was lost, please wait while we try to reconnect.