AlgoRegistry
Summary
Provides all installed algorithms data
Signature
1 | |
Namespace
cAlgo.API
Examples
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | |
Methods
GetCount
Summary
Returns number of specific kind of installed algorithms.
Signature
1 | |
Parameters
| Name | Type | Description |
|---|---|---|
| algoKind | AlgoKind | Algorithms kind |
Return Value
int
Exists (2)
Exists (1 of 2)
Summary
Checks existence of an algorithm.
Signature
1 | |
Parameters
| Name | Type | Description |
|---|---|---|
| name | string | Algorithm type name |
Return Value
bool
Exists (2 of 2)
Summary
Checks existence of an algorithm.
Signature
1 | |
Parameters
| Name | Type | Description |
|---|---|---|
| name | string | Algorithm type name |
| algoKind | AlgoKind | Algorithm type kind |
Return Value
bool
Get (2)
Get (1 of 2)
Summary
Returns number of specific kind of installed algorithms.
Signature
1 | |
Parameters
| Name | Type | Description |
|---|---|---|
| name | string |
Return Value
AlgoType
Get (2 of 2)
Summary
Returns an algorithm type by it is name.
Signature
1 | |
Parameters
| Name | Type | Description |
|---|---|---|
| name | string | Algorithm type name |
| algoKind | AlgoKind |
Return Value
AlgoType
Install (2)
Install (1 of 2)
Summary
Installs an algo file from provided file path.
Signature
1 | |
Parameters
| Name | Type | Description |
|---|---|---|
| filePath | string | Algo file full file path. |
Return Value
InstallationResult
Install (2 of 2)
Summary
Installs an algo file from provided URI.
Signature
1 | |
Parameters
| Name | Type | Description |
|---|---|---|
| uri | Uri | Algo file URI. |
Return Value
InstallationResult
InstallAsync (4)
InstallAsync (1 of 4)
Summary
Installs an algo file from provided URI asynchrounsly.
Signature
1 | |
Parameters
| Name | Type | Description |
|---|---|---|
| filePath | string | Algo file full file path. |
Return Value
InstallationOperation
InstallAsync (2 of 4)
Summary
Installs an algo file from provided URI asynchrounsly.
Signature
1 | |
Parameters
| Name | Type | Description |
|---|---|---|
| filePath | string | Algo file full file path. |
| callback | Action | Callback that will be invoked with installation result. |
Return Value
InstallationOperation
InstallAsync (3 of 4)
Summary
Installs an algo file from provided URI asynchrounsly.
Signature
1 | |
Parameters
| Name | Type | Description |
|---|---|---|
| uri | Uri | Algo file URI. |
Return Value
InstallationOperation
InstallAsync (4 of 4)
Summary
Installs an algo file from provided URI asynchrounsly.
Signature
1 | |
Parameters
| Name | Type | Description |
|---|---|---|
| uri | Uri | Algo file URI. |
| callback | Action | Callback that will be invoked with installation result. |
Return Value
InstallationOperation
Properties
Count
Summary
Gets number of installed algorithms.
Signature
1 | |
Return Value
int
Indicators
Summary
Gets the list of all installed indicators.
Signature
1 | |
Return Value
IReadonlyList
Related Tutorials
Robots
Summary
Gets the list of all installed robots.
Signature
1 | |
Return Value
IReadonlyList
Plugins
Summary
Gets the list of all installed plugins.
Signature
1 | |
Return Value
IReadonlyList
Events
AlgoTypeInstalled
Summary
Occurs when a new algorithm is installed.
Signature
1 | |
AlgoTypeDeleted
Summary
Occurs when an algorithm is deleted.
Signature
1 | |
AlgoTypeChanged
Summary
Occurs when an algorithm is changed.
Signature
1 | |