AlgoKind
enum cAlgo.API
DesktopCLICloud
Represents the predefined kinds of algorithm types.
Definition
public enum AlgoKind
Namespace: cAlgo.API · Group: AlgoRegistry
Examples
public partial class TestExample : Robot
{
protected override void OnStart()
{
foreach (var algo in AlgoRegistry)
{
Print($"Name: {algo.Name} | Kind: {algo.AlgoKind}");
}
}
}
import clr
clr.AddReference("cAlgo.API")
# Import cAlgo API types
from cAlgo.API import *
# Import trading wrapper functions
from robot_wrapper import *
class Test():
def on_start(self):
for algo in api.AlgoRegistry:
print(f"Name: {algo.Name} | Kind: {algo.AlgoKind}")
{
"AccessRights": "None"
}
Values
| Name | Value | Description |
|---|---|---|
CustomIndicator | 0 | Custom indicator |
StandardIndicator | 1 | Standard / built-in indicator |
Robot | 2 | Robot / cBot |
Plugin | 3 | Plugin |