Skip to content

HistoricalOrder.Comment

property · HistoricalOrder · cAlgo.API Since 5.1

DesktopCLICloud

Order comment.

Definition

string Comment {get;}
historicalOrder.Comment: str

Returns string

Examples

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