Skip to content

Comment Property

Summary

Comment can be used as a note for the order.

Signature

1
public abstract string Comment {get;}

Return Value

string

Declaring Type

cAlgo.API.Position

Examples

1
2
3
 ExecuteMarketOrder(TradeType.Buy, Symbol, 5000, "myLabel", 10, 10, 2, "this is a comment");
 if(result.IsSuccessful)
     Print("Position is open: {0}", result.Position.Comment);

Last update: November 25, 2022

Comments