Skip to content

HistoricalOrder.Quantity

property · HistoricalOrder · cAlgo.API Since 5.1

DesktopCLICloud

Order quantity (lots).

Definition

double Quantity {get;}
historicalOrder.Quantity: float

Returns double

Examples

var order = HistoricalOrders.FindLast("myLabel");
if (order != null)
    Print("Order quantity: {0} lots", order.Quantity);
order = api.HistoricalOrders.FindLast("myLabel")
if order is not None:
    api.Print(f"Order quantity: {order.Quantity} lots")