Class VolatilityQuotingStrategy
- Namespace
- StockSharp.Algo.Strategies.Derivatives
- Assembly
- StockSharp.Algo.dll
Option volatility quoting.
public class VolatilityQuotingStrategy : BestByPriceQuotingStrategy, IPersistable, INotifyPropertyChangedEx, INotifyPropertyChanged, IMarketRuleContainer, ILogReceiver, ILogSource, IDisposable, ICloneable<Strategy>, ICloneable, IMarketDataProvider, ISubscriptionProvider, ISecurityProvider, ISecurityMessageProvider, ITransactionProvider, IPositionProvider, IPortfolioProvider, IScheduledTask, ICustomTypeDescriptor
- Inheritance
-
VolatilityQuotingStrategy
- Implements
- Inherited Members
- Extension Methods
-
MarketRuleHelper.WhenPartiallyFinishedCandles<TCandle>(ISubscriptionProvider, Subscription, decimal)
Constructors
VolatilityQuotingStrategy(Sides, decimal, Range<decimal>)
Initializes a new instance of the VolatilityQuotingStrategy.
public VolatilityQuotingStrategy(Sides quotingDirection, decimal quotingVolume, Range<decimal> ivRange)
Parameters
quotingDirectionSidesQuoting direction.
quotingVolumedecimalTotal quoting volume.
ivRangeRange<decimal>Volatility range.
Properties
IVRange
Volatility range.
public Range<decimal> IVRange { get; set; }
Property Value
Model
public IBlackScholes Model { get; set; }
Property Value
Methods
NeedQuoting(DateTimeOffset, decimal?, decimal?, decimal)
Should the order be quoted.
protected override decimal? NeedQuoting(DateTimeOffset currentTime, decimal? currentPrice, decimal? currentVolume, decimal newVolume)
Parameters
currentTimeDateTimeOffsetCurrent time.
currentPricedecimal?The current price. If the value is equal to null then the order is not registered yet.
currentVolumedecimal?The current volume. If the value is equal to null then the order is not registered yet.
newVolumedecimalNew volume.