Class StrategyStateChangedEventArgs
- Namespace
- ATAS.Strategies
- Assembly
- ATAS.Strategies.dll
Provides data for the StrategyStateChanged event.
public sealed class StrategyStateChangedEventArgs : EventArgs
- Inheritance
-
objectEventArgsStrategyStateChangedEventArgs
- 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
strategyIStrategyThe strategy associated with the state change.
stateStrategyStateDescriptionThe state of the strategy.
Properties
State
Gets the state of the strategy.
Added in ATAS 8.0.15.
public StrategyStateDescription State { get; }
Property Value
Strategy
Gets the strategy associated with the state change.
Added in ATAS 8.0.15.
public IStrategy Strategy { get; }