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
- Inheritance
-
VolatilityQuotingStrategy
- Implements
-
IPersistableINotifyPropertyChangedExICloneable<Strategy>
- Inherited Members
- Extension Methods
Constructors
VolatilityQuotingStrategy(Sides, decimal, Range<decimal>)
Initializes a new instance of the VolatilityQuotingStrategy.
public VolatilityQuotingStrategy(Sides quotingDirection, decimal quotingVolume, Range<decimal> ivRange)
Parameters
quotingDirection
SidesQuoting direction.
quotingVolume
decimalTotal quoting volume.
ivRange
Range<decimal>Volatility range.
Properties
IVRange
Volatility range.
public Range<decimal> IVRange { get; set; }
Property Value
- Range<decimal>
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
currentTime
DateTimeOffsetCurrent time.
currentPrice
decimal?The current price. If the value is equal to null then the order is not registered yet.
currentVolume
decimal?The current volume. If the value is equal to null then the order is not registered yet.
newVolume
decimalNew volume.