IStrategyHost

StockSharp.Algo.Strategies.Decomposed

Infrastructure abstraction replacing direct Connector dependency.

プロパティ

CurrentTime : DateTime

Current UTC time.

HasPositions : bool

Whether strategy positions exist.

StrategyId : string

Strategy identifier.

メソッド

CanRefreshPnL(DateTime) : bool

Whether PnL refresh is allowed at the specified time.

time
Refresh time.
GetNextTransactionId() : long

Get next transaction ID for subscriptions.

SendOutMessageAsync(Message, CancellationToken) : ValueTask

Send outgoing message (state change, order, etc.).

message
Message.
cancellationToken
CancellationToken