Class BasketStrike
- Namespace
- StockSharp.Algo.Derivatives
- Assembly
- StockSharp.Algo.dll
The virtual strike created from a combination of other strikes.
public abstract class BasketStrike : BasketSecurity, ICloneable<Security>, ICloneable, INotifyPropertyChanged
- Inheritance
-
BasketStrike
- Implements
- Derived
- Inherited Members
- Extension Methods
Remarks
Initialize BasketStrike.
Constructors
BasketStrike(Security, ISecurityProvider, IMarketDataProvider)
The virtual strike created from a combination of other strikes.
protected BasketStrike(Security underlyingAsset, ISecurityProvider securityProvider, IMarketDataProvider dataProvider)
Parameters
underlyingAsset
SecurityUnderlying asset.
securityProvider
ISecurityProviderThe provider of information about instruments.
dataProvider
IMarketDataProviderThe market data provider.
Remarks
Initialize BasketStrike.
Properties
DataProvider
The market data provider.
public virtual IMarketDataProvider DataProvider { get; }
Property Value
InnerSecurityIds
Instruments, from which this basket is created.
public override IEnumerable<SecurityId> InnerSecurityIds { get; }
Property Value
SecurityProvider
The provider of information about instruments.
public ISecurityProvider SecurityProvider { get; }
Property Value
UnderlyingAsset
Underlying asset.
public Security UnderlyingAsset { get; }
Property Value
Methods
FilterStrikes(IEnumerable<Security>, decimal)
To get filtered strikes.
protected abstract IEnumerable<Security> FilterStrikes(IEnumerable<Security> allStrikes, decimal assetPrice)
Parameters
allStrikes
IEnumerable<Security>All strikes.
assetPrice
decimalThe asset price.
Returns
- IEnumerable<Security>
Filtered strikes.