OptionDeskModel
StockSharp.Xaml
备选台式机型.
构造函数
OptionDeskModel
public OptionDeskModel()
optionDeskModel = OptionDeskModel()
初始化了 & ##OptionDeskModel+#的新实例.
属性
EvaluateFields
public ISet<Level1Fields> EvaluateFields { get; }
value = optionDeskModel.EvaluateFields
评估希腊地盘。
MarketDataProvider
public IMarketDataProvider MarketDataProvider { get; set; }
value = optionDeskModel.MarketDataProvider
optionDeskModel.MarketDataProvider = value
市场数据提供者.
UnderlyingAsset
public Security UnderlyingAsset { get; set; }
value = optionDeskModel.UnderlyingAsset
optionDeskModel.UnderlyingAsset = value
基础资产。
UnderlyingAssetId
public SecurityId? UnderlyingAssetId { get; private set; }
value = optionDeskModel.UnderlyingAssetId
optionDeskModel.UnderlyingAssetId = value
UnderlyingAsset
UseBlackModel
public bool UseBlackModel { get; set; }
value = optionDeskModel.UseBlackModel
optionDeskModel.UseBlackModel = value
要使用黑色模型, 而不是 IBlackScholes 模型。 默认关闭 。
方法
Refresh
public void Refresh(DateTime? currentTime, decimal? assetPrice)
optionDeskModel.Refresh(currentTime, assetPrice)
更新办公桌值。
- currentTime
- 现相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相
- assetPrice
- 基础资产的现价。 如果设定了, IBlackScholes 将使用该价格 。