Skip to content

AlgoRegistry.Robots

property · AlgoRegistry · cAlgo.API Since 5.2

DesktopCLICloud

Gets the list of all installed robots.

Environment behaviour

Cloud — not supported. Registry is empty: Count 0, Indicators/Robots/Plugins empty, Exists false, Get null. Installed/Deleted/Changed events never raised.

Definition

IReadonlyList<RobotType> Robots {get;}
api.AlgoRegistry.Robots: IReadonlyList[RobotType]

Returns IReadonlyList<RobotType>

Examples

foreach (var robotType in AlgoRegistry.Robots)
    Print("cBot: {0} | Parameters: {1}", robotType.Name, robotType.Parameters.Count);
for robotType in api.AlgoRegistry.Robots:
    api.Print(f"cBot: {robotType.Name} | Parameters: {robotType.Parameters.Count}")