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

市场数据提供者.

Options
public IEnumerable<Security> Options { get; }
value = optionDeskModel.Options

罢工选项。

Rows
public IEnumerable<OptionDeskRow> Rows { get; }
value = optionDeskModel.Rows

备选台词行.

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 模型。 默认关闭 。

方法

Add
public void Add(Security security)
optionDeskModel.Add(security)

添加选项。

security
备选加一.
Clear
public void Clear()
optionDeskModel.Clear()

安全,别走

Refresh
public void Refresh(DateTime? currentTime, decimal? assetPrice)
optionDeskModel.Refresh(currentTime, assetPrice)

更新办公桌值。

currentTime
现相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相
assetPrice
基础资产的现价。 如果设定了, IBlackScholes 将使用该价格 。
Remove
public void Remove(Security security)
optionDeskModel.Remove(security)

删除选项 。

security
选择去除。