Table of Contents

Class StrategyStateChangedEventArgs

Namespace
ATAS.Strategies
Assembly
ATAS.Strategies.dll

Provides data for the StrategyStateChanged event.

public sealed class StrategyStateChangedEventArgs : EventArgs
Inheritance
object
EventArgs
StrategyStateChangedEventArgs
Extension Methods

Constructors

StrategyStateChangedEventArgs(IStrategy, StrategyStateDescription)

Initializes a new instance of the StrategyStateChangedEventArgs class with the specified strategy, old state, and new state.

Added in ATAS 8.0.15.

public StrategyStateChangedEventArgs(IStrategy strategy, StrategyStateDescription state)

Parameters

strategy IStrategy

The strategy associated with the state change.

state StrategyStateDescription

The state of the strategy.

Properties

State

Gets the state of the strategy.

Added in ATAS 8.0.15.

public StrategyStateDescription State { get; }

Property Value

StrategyStateDescription

Strategy

Gets the strategy associated with the state change.

Added in ATAS 8.0.15.

public IStrategy Strategy { get; }

Property Value

IStrategy