TradeWatch.IsVisible
property · TradeWatch · cAlgo.API
DesktopCLICloud
Get / set visibility of trade watch.
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
bool IsVisible {get; set;}
api.TradeWatch.IsVisible: bool
Returns bool
Examples
TradeWatch.IsVisible = !TradeWatch.IsVisible;
Print("Trade watch is visible: {0}", TradeWatch.IsVisible);
api.TradeWatch.IsVisible = not api.TradeWatch.IsVisible
api.Print(f"Trade watch is visible: {api.TradeWatch.IsVisible}")