Skip to content

AspSymbolTab.Symbol

property · AspSymbolTab · cAlgo.API

DesktopCLICloud

Current symbol of Active symbol panel.

Environment behaviour

CLI — not supported. Available to plugins only, and plugins cannot run in the CLI.

Cloud — not supported. Available to plugins only, and plugins cannot run in the cloud.

Definition

Symbol Symbol {get;}
aspSymbolTab.Symbol: Symbol

Returns Symbol

Examples

var symbol = Asp.SymbolTab.Symbol;
Print("Active symbol panel shows {0}, bid {1}", symbol.Name, symbol.Bid);
symbol = api.Asp.SymbolTab.Symbol
api.Print(f"Active symbol panel shows {symbol.Name}, bid {symbol.Bid}")