Class BestByVolumeQuotingStrategy
- Namespace
- StockSharp.Algo.Strategies.Quoting
- Assembly
- StockSharp.Algo.dll
The quoting according to the Best By Volume rule. For this quoting the volume delta VolumeExchange is specified, which can stand in front of the quoted order.
public class BestByVolumeQuotingStrategy : QuotingStrategy, IPersistable, INotifyPropertyChangedEx, INotifyPropertyChanged, IMarketRuleContainer, ILogReceiver, ILogSource, IDisposable, ICloneable<Strategy>, ICloneable, IMarketDataProvider, ISubscriptionProvider, ISecurityProvider, ISecurityMessageProvider, ITransactionProvider, IPositionProvider, IPortfolioProvider, IScheduledTask
- Inheritance
-
BestByVolumeQuotingStrategy
- Implements
-
IPersistableINotifyPropertyChangedExICloneable<Strategy>
- Inherited Members
- Extension Methods
Constructors
BestByVolumeQuotingStrategy()
Initializes a new instance of the BestByVolumeQuotingStrategy.
public BestByVolumeQuotingStrategy()
BestByVolumeQuotingStrategy(Order, Unit)
Initializes a new instance of the BestByVolumeQuotingStrategy.
public BestByVolumeQuotingStrategy(Order order, Unit volumeExchange)
Parameters
order
OrderQuoting order.
volumeExchange
UnitThe volume delta that can stand in front of the quoted order.
BestByVolumeQuotingStrategy(Sides, decimal)
Initializes a new instance of the BestByVolumeQuotingStrategy.
public BestByVolumeQuotingStrategy(Sides quotingDirection, decimal quotingVolume)
Parameters
Properties
VolumeExchange
The volume delta that can stand in front of the quoted order.
public Unit VolumeExchange { 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.