HistoricalOrder.TakeProfitPips
property · HistoricalOrder · cAlgo.API Since 5.1
DesktopCLICloud
Order take profit in Pips.
Definition
double? TakeProfitPips {get;}
historicalOrder.TakeProfitPips: float | None
Returns double?
Examples
var order = HistoricalOrders.FindLast("myLabel");
if (order != null)
Print("Order take profit pips: {0}", order.TakeProfitPips);
order = api.HistoricalOrders.FindLast("myLabel")
if order is not None:
api.Print(f"Order take profit pips: {order.TakeProfitPips}")