Skip to content

TradeWatchTab.Id

property · TradeWatchTab · cAlgo.API

DesktopCLICloud

Returns unique ID of the current tab.

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

string Id {get;}
tradeWatchTab.Id: str

Returns string

Examples

var tab = TradeWatch.AddTab("My Tab");
Print("Tab ID: {0}", tab.Id);
tab = api.TradeWatch.AddTab("My Tab")
api.Print(f"Tab ID: {tab.Id}")