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
underlyingAssetSecurityUnderlying asset.
securityProviderISecurityProviderThe provider of information about instruments.
dataProviderIMarketDataProviderThe 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
allStrikesIEnumerable<Security>All strikes.
assetPricedecimalThe asset price.
Returns
- IEnumerable<Security>
Filtered strikes.