【其他】VolumeShareSlippage 设置滑点的问题
我通过下列代码设置滑点:
context.set_slippage(VolumeShareSlippage(volume_limit=0.1))
回测时发现买入时设置有效,但是卖出时无效。。。
管理员帮忙看看~
我通过下列代码设置滑点:
context.set_slippage(VolumeShareSlippage(volume_limit=0.1))
回测时发现买入时设置有效,但是卖出时无效。。。
管理员帮忙看看~
更新于 2025-02-15
正在加载知识库…