IStrategiesApi Interface

GF API Documentation
Public API for Strategies functionality

Namespace:  GF.Api.Strategies
Assembly:  GF.Api (in GF.Api.dll) Version: dd7171be68430789135ec75c4e9f4bbfeca31201
Syntax

public interface IStrategiesApi

The IStrategiesApi type exposes the following members.

Methods

  NameDescription
Public methodGet
Get all strategies
Public methodGetDefaultStrategyParams
Get the default strategy parameters for the given strategy type
Public methodGetTemplates
Gets a list of available strategies and their features.
Public methodStart
Starts new Server Strategy instance
Public methodStop
Stop Server Strategy instance
Top
Events

  NameDescription
Public eventStrategyChanged
Raised when anything changes in strategy, except its state (orders added, phantom one became actual, etc)
Public eventStrategyConfirmed
Raised when ServerStrategy is confirmed by server and global ID is assigned.
Public eventStrategyStarted
Raised when ServerStrategy execution starts
Public eventStrategyStopped
Raised when ServerStrategy execution stops or if ServerStrategy was rejected by server.
Top
See Also

Reference