HistoricalTrade.ClosingPrice
property · HistoricalTrade · cAlgo.API
DesktopCLICloud
The execution price of the Closing Deal.
Definition
double ClosingPrice {get;}
historicalTrade.ClosingPrice: float
Returns double
Examples
var trade = History.FindLast("myLabel");
if (trade != null)
Print("Closing price: {0}", trade.ClosingPrice);
trade = api.History.FindLast("myLabel")
if trade is not None:
api.Print(f"Closing price: {trade.ClosingPrice}")