关于自动计算开仓手数
老师 请问使用后复权过后计算开仓手数 是不是该使用写法二写法一:Lots = Max(1, IntPart(Fund / (Open *ContractUnit *BigPointValue * MarginRatio)));写法二:Lots = Max(1, IntPart(Fund / (Open / Rollover *ContractUnit *BigPointValue * MarginRatio)));
老师 请问使用后复权过后计算开仓手数 是不是该使用写法二写法一:Lots = Max(1, IntPart(Fund / (Open *ContractUnit *BigPointValue * MarginRatio)));写法二:Lots = Max(1, IntPart(Fund / (Open / Rollover *ContractUnit *BigPointValue * MarginRatio)));
对,要除权到真实价格
✔要做个除权