OptionPositionChart

StockSharp.Xaml.Charting

The chart showing the position and options Greeks regarding to the underlying asset.

继承自: UserControl

实现: IOptionPositionChart, IThemeableChart, IPersistable, IComponentConnector

构造函数

OptionPositionChart()

Initializes a new instance of the OptionPositionChart.

属性

ChartParam : BlackScholesGreeks

The parameter type in the chart. The default is Premium.

ChartTheme : string

The name of the graphic theme.

Model : BasketBlackScholes

BasketBlackScholes

ShowExpiration : bool

To show the position chart at the time of expiration. The default is enabled.

ShowSeparated : bool

To show position charts separately or as a single position. By default, it is displayed as a single position.

UseBlackModel : bool

Whether to use the model Black. By default, the model is not used.

方法

InitializeComponent()

InitializeComponent

Load(SettingsStorage)

Load settings.

storage
Settings storage.
Refresh(decimal?, DateTime?, DateTime?)

To redraw the chart.

assetPrice
The current price of the underlying asset.
currentTime
The current time.
expiryDate
The expiration date.
Save(SettingsStorage)

Save settings.

storage
Settings storage.