Skip to content

HistoricalOrder.TargetPrice

property · HistoricalOrder · cAlgo.API Since 5.1

DesktopCLICloud

Order target price

Definition

double TargetPrice {get;}
historicalOrder.TargetPrice: float

Returns double

Examples

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