Click or drag to resize

SyntheticPosition Method (Decimal, DateTimeOffset, Sides)

To get the option position for the synthetic base asset.

Namespace:  StockSharp.Algo.Derivatives
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
public KeyValuePair<Security, Sides>[] Position(
	decimal strike,
	DateTimeOffset expiryDate,
	Sides side
)

Parameters

strike
Type: SystemDecimal
Strike.
expiryDate
Type: SystemDateTimeOffset
The date of the option expiration.
side
Type: StockSharp.MessagesSides
The main position direction.

Return Value

Type: KeyValuePairSecurity, Sides
The option position.
See Also