HistoricalOrder.Id
property · HistoricalOrder · cAlgo.API Since 5.1
DesktopCLICloud
Unique order Id.
Definition
long Id {get;}
historicalOrder.Id: int
Returns long
Examples
var order = HistoricalOrders.FindLast("myLabel");
if (order != null)
Print("Order Id: {0}", order.Id);
order = api.HistoricalOrders.FindLast("myLabel")
if order is not None:
api.Print(f"Order Id: {order.Id}")