StrategyStateMessage

StockSharp.Algo.Strategies.StrategyEngine

Internal message for strategy state change requests.

Inherits: Message

Implements: IStrategyIdMessage

Constructors

StrategyStateMessage
public StrategyStateMessage(ProcessStates state)
strategyStateMessage = StrategyStateMessage(state)

Initializes a new instance of the StrategyStateMessage class.

state
The requested state.
StrategyStateMessage
public StrategyStateMessage(string strategyId, ProcessStates state)
strategyStateMessage = StrategyStateMessage(strategyId, state)

Initializes a new instance of the StrategyStateMessage class.

strategyId
Strategy identifier.
state
The requested state.

Properties

RequestedState
public ProcessStates RequestedState { get; }
value = strategyStateMessage.RequestedState

The requested state.

StrategyId
public string StrategyId { get; set; }
value = strategyStateMessage.StrategyId
strategyStateMessage.StrategyId = value

Strategy id.

Methods

Clone
public override Message Clone()
result = strategyStateMessage.Clone()

Create a copy of Message.

Returns: Copy.