Skip to content

AlgoTypeInstalledEventArgs

class cAlgo.API

DesktopCLICloud

Provides data for Algo type installed event.

Environment behaviour

Cloud — not supported. Never raised in the cloud: the events that pass it never fire there (AlgoRegistry.AlgoTypeInstalled).

Definition

public class AlgoTypeInstalledEventArgs : AlgoTypeEventArgs

Namespace: cAlgo.API · Group: EventArgs · Inherits: AlgoTypeEventArgs

Examples

protected override void OnStart()
{
    AlgoRegistry.AlgoTypeInstalled += OnAlgoTypeInstalled;
}

private void OnAlgoTypeInstalled(AlgoTypeInstalledEventArgs args)
{
    Print("Algo type installed: {0}", args.AlgoTypeName);
}
def on_start(self):
    api.AlgoRegistry.AlgoTypeInstalled += self.on_algo_type_installed

def on_algo_type_installed(self, args):
    api.Print(f"Algo type installed: {args.AlgoTypeName}")

Inherited members

From AlgoTypeEventArgs: AlgoTypeName

See also