Skip to content

Deal.SymbolName

property · Deal · cAlgo.API Since 5.1

DesktopCLICloud

Gets the symbol name.

Definition

string SymbolName {get;}
deal.SymbolName: str

Returns string

Examples

var trade = History.FindLast("myLabel");
if (trade != null)
    Print("Closing deal symbol: {0}", trade.ClosingDeal.SymbolName);
trade = api.History.FindLast("myLabel")
if trade is not None:
    api.Print(f"Closing deal symbol: {trade.ClosingDeal.SymbolName}")