Click or drag to resize

QuotingStrategyNeedQuoting Method

Should the order be quoted.

Namespace:  StockSharp.Algo.Strategies.Quoting
Assembly:  StockSharp.Algo.Strategies (in StockSharp.Algo.Strategies.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
protected virtual Nullable<decimal> NeedQuoting(
	Nullable<decimal> currentPrice,
	Nullable<decimal> currentVolume,
	decimal newVolume
)

Parameters

currentPrice
Type: SystemNullableDecimal
The current price. If the value is equal to then the order is not registered yet.
currentVolume
Type: SystemNullableDecimal
The current volume. If the value is equal to then the order is not registered yet.
newVolume
Type: SystemDecimal
New volume.

Return Value

Type: NullableDecimal
The price at which the order will be registered. If the value is equal to then the quoting is not required.
See Also