挂单价格

tmpPriceRange = Q_UpperLimit - Q_LowerLimit; BuyTriggerPrice = Round(Q_LowerLimit + tmpPriceRange * ulzdtpy/100, PriceScale); SellTriggerPrice = Round(Q_UpperLimit - tmpPriceRange * ulzdtpy/100, PriceScale); BuyOrderPrice = Min(Round(Open - tmpPriceRange * opensxpy/100, PriceScale), BuyTriggerPrice); SellOrderPrice = Max( Round(Open +tmpPriceRange * opensxpy/100, PriceScale), SellTriggerPrice);这种挂单价格是否适合期货全部品种; Round(Q_LowerLimit + tmpPriceRange * ulzdtpy/100, PriceScale);

你不超过涨跌停价可以任意挂单

回复:那没必要用round函数来规定价格小数点了吗?