Public API for Strategies functionality
Namespace: GF.Api.Strategies
Assembly: GF.Api (in GF.Api.dll) Version: dd7171be68430789135ec75c4e9f4bbfeca31201
Syntax
The IStrategiesApi type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| Get |
Get all strategies
| |
| GetDefaultStrategyParams |
Get the default strategy parameters for the given strategy type
| |
| GetTemplates |
Gets a list of available strategies and their features.
| |
| Start |
Starts new Server Strategy instance
| |
| Stop |
Stop Server Strategy instance
|
Events
| Name | Description | |
|---|---|---|
| StrategyChanged |
Raised when anything changes in strategy, except its state (orders added, phantom one became actual, etc)
| |
| StrategyConfirmed |
Raised when ServerStrategy is confirmed by server and global ID is assigned.
| |
| StrategyStarted |
Raised when ServerStrategy execution starts
| |
| StrategyStopped |
Raised when ServerStrategy execution stops or if ServerStrategy was rejected by server.
|
See Also