例如:
if 开仓条件成立 and account.risk_ratio<0.5:
target_pos.set_target_volume(-kcss)
当风险度大于90%以上时,策略还在开仓。难道account.risk_ratio有问题?
lookis 已回答的问题 2020年7月28日
例如:
if 开仓条件成立 and account.risk_ratio<0.5:
target_pos.set_target_volume(-kcss)
当风险度大于90%以上时,策略还在开仓。难道account.risk_ratio有问题?