HistoricalOrder.FilledQuantity
property · HistoricalOrder · cAlgo.API Since 5.1
DesktopCLICloud
Order filled quantity (lots).
Definition
double? FilledQuantity {get;}
historicalOrder.FilledQuantity: float | None
Returns double?
Examples
var order = HistoricalOrders.FindLast("myLabel");
if (order != null && order.FilledQuantity.HasValue)
Print("Filled {0} of {1} lots", order.FilledQuantity.Value, order.Quantity);
order = api.HistoricalOrders.FindLast("myLabel")
if order is not None and order.FilledQuantity is not None:
api.Print(f"Filled {order.FilledQuantity} of {order.Quantity} lots")