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