Class TheorPriceQuotingStrategy
- Namespace
- StockSharp.Algo.Strategies.Derivatives
- Assembly
- StockSharp.Algo.dll
Option theoretical price quoting.
public class TheorPriceQuotingStrategy : BestByPriceQuotingStrategy, IPersistable, INotifyPropertyChangedEx, INotifyPropertyChanged, IMarketRuleContainer, ILogReceiver, ILogSource, IDisposable, ICloneable<Strategy>, ICloneable, IMarketDataProvider, ISubscriptionProvider, ISecurityProvider, ISecurityMessageProvider, ITransactionProvider, IPositionProvider, IPortfolioProvider, IScheduledTask, ICustomTypeDescriptor
- Inheritance
-
TheorPriceQuotingStrategy
- Implements
- Inherited Members
- Extension Methods
-
MarketRuleHelper.WhenPartiallyFinishedCandles<TCandle>(ISubscriptionProvider, Subscription, decimal)
Constructors
TheorPriceQuotingStrategy(Sides, decimal, Range<Unit>)
Initializes a new instance of the TheorPriceQuotingStrategy.
public TheorPriceQuotingStrategy(Sides quotingDirection, decimal quotingVolume, Range<Unit> theorPriceOffset)
Parameters
quotingDirectionSidesQuoting direction.
quotingVolumedecimalTotal quoting volume.
theorPriceOffsetRange<Unit>Theoretical price offset.
Properties
TheorPriceOffset
Theoretical price offset.
public Range<Unit> TheorPriceOffset { 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.