Skip to content

HistoricalTrade.Comment

property · HistoricalTrade · cAlgo.API

DesktopCLICloud

The comment.

Definition

string Comment {get;}
historicalTrade.Comment: str

Returns string

Examples

var trade = History.FindLast("myLabel");
if (trade != null)
    Print("Trade comment: {0}", trade.Comment);
trade = api.History.FindLast("myLabel")
if trade is not None:
    api.Print(f"Trade comment: {trade.Comment}")