跳至内容

OrderLots

OrderLots

返回所选订单的lot数量。

double  OrderLots();

返回值

所选订单的lot数量(交易量)。

注意

该订单必须先通过OrderSelect()函数选择。

示例:

if(OrderSelect(10,SELECT_BY_POS)==true)
    Print("lots for the order 10 ",OrderLots());
  else
    Print("OrderSelect returned error of ",GetLastError());
最后更新于