Table of Contents

Class BestByPriceQuotingStrategy

Namespace
StockSharp.Algo.Strategies.Quoting
Assembly
StockSharp.Algo.dll

The quoting by the best price. For this quoting the shift from the best price BestPriceOffset is specified, on which quoted order can be changed.

public class BestByPriceQuotingStrategy : QuotingStrategy, IPersistable, INotifyPropertyChangedEx, INotifyPropertyChanged, IMarketRuleContainer, ILogReceiver, ILogSource, IDisposable, ICloneable<Strategy>, ICloneable, IMarketDataProvider, ISubscriptionProvider, ISecurityProvider, ISecurityMessageProvider, ITransactionProvider, IPositionProvider, IPortfolioProvider, IScheduledTask
Inheritance
BestByPriceQuotingStrategy
Implements
IPersistable
INotifyPropertyChangedEx
ICloneable<Strategy>
Derived
Inherited Members
Extension Methods

Constructors

BestByPriceQuotingStrategy()

Initializes a new instance of the BestByPriceQuotingStrategy.

public BestByPriceQuotingStrategy()

BestByPriceQuotingStrategy(Order, Unit)

Initializes a new instance of the BestByPriceQuotingStrategy.

public BestByPriceQuotingStrategy(Order order, Unit bestPriceOffset)

Parameters

order Order

Quoting order.

bestPriceOffset Unit

The shift from the best price, on which quoted order can be changed.

BestByPriceQuotingStrategy(Sides, decimal)

Initializes a new instance of the BestByPriceQuotingStrategy.

public BestByPriceQuotingStrategy(Sides quotingDirection, decimal quotingVolume)

Parameters

quotingDirection Sides

Quoting direction.

quotingVolume decimal

Total quoting volume.

Properties

BestPriceOffset

The shift from the best price, on which quoted order can be changed.

public Unit BestPriceOffset { get; set; }

Property Value

Unit

Methods

NeedQuoting(DateTimeOffset, decimal?, decimal?, decimal)

Should the order be quoted.

protected override decimal? NeedQuoting(DateTimeOffset currentTime, decimal? currentOrderPrice, decimal? currentOrderVolume, decimal newVolume)

Parameters

currentTime DateTimeOffset

Current time.

currentOrderPrice decimal?
currentOrderVolume decimal?
newVolume decimal

New volume.

Returns

decimal?

The price at which the order will be registered. If the value is equal to null then the quoting is not required.