Chart.Robots
property · Chart · cAlgo.API
DesktopCLICloud
Gets the ChartRobots operating on a chart.
Definition
ChartRobots Robots {get;}
api.Chart.Robots: ChartRobots
Returns ChartRobots
Examples
Print("cBots on the chart: {0}", Chart.Robots.Count);
foreach (var robot in Chart.Robots)
Print("cBot: {0} | State: {1}", robot.Name, robot.State);
api.Print(f"cBots on the chart: {api.Chart.Robots.Count}")
for robot in api.Chart.Robots:
api.Print(f"cBot: {robot.Name} | State: {robot.State}")