Synthetic

StockSharp.Algo.Derivatives

The synthetic positions builder.

Конструкторы

Synthetic(Security, ISecurityProvider)

The synthetic positions builder.

security
The instrument (the option or the underlying asset).
provider
The provider of information about instruments.

Методы

Buy() : ValueTuple<Security, Sides>[]

To get the synthetic position to buy the option.

Возвращает: The synthetic position.

Buy(decimal) : ValueTuple<Security, Sides>[]

To get the option position for the underlying asset synthetic buy.

strike
Strike.

Возвращает: The option position.

Buy(decimal, DateTime) : ValueTuple<Security, Sides>[]

To get the option position for the underlying asset synthetic buy.

strike
Strike.
expiryDate
The date of the option expiration.

Возвращает: The option position.

Position(Sides) : ValueTuple<Security, Sides>[]

To get the synthetic position for the option.

side
The main position direction.

Возвращает: The synthetic position.

Position(decimal, DateTime, Sides) : ValueTuple<Security, Sides>[]

To get the option position for the synthetic base asset.

strike
Strike.
expiryDate
The date of the option expiration.
side
The main position direction.

Возвращает: The option position.

Sell() : ValueTuple<Security, Sides>[]

To get the synthetic position to sale the option.

Возвращает: The synthetic position.

Sell(decimal) : ValueTuple<Security, Sides>[]

To get the option position for synthetic sale of the base asset.

strike
Strike.

Возвращает: The option position.

Sell(decimal, DateTime) : ValueTuple<Security, Sides>[]

To get the option position for synthetic sale of the base asset.

strike
Strike.
expiryDate
The date of the option expiration.

Возвращает: The option position.