UnderlyingAssetCache

StockSharp.Diagram.Elements

Underlying assets resolved before the start, so option models are built during synchronous value processing.

Методы

Get
public Security Get(Security option)
result = underlyingAssetCache.Get(option)

Gets the underlying asset of the option.

option
Option.

Возвращает: Underlying asset.

LoadAsync
public ValueTask LoadAsync(DiagramStrategy strategy, CancellationToken cancellationToken)
result = underlyingAssetCache.LoadAsync(strategy, cancellationToken)

Collects the start securities of the strategy and the underlying assets of the derivatives among them.

strategy
DiagramStrategy
cancellationToken
CancellationToken

Возвращает: ValueTask