Click or drag to resize

MarketDepthGetQuote Method (Sides, Int32)

To get a quote by the direction Sides and the depth index.

Namespace:  StockSharp.BusinessEntities
Assembly:  StockSharp.BusinessEntities (in StockSharp.BusinessEntities.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
public Quote GetQuote(
	Sides orderDirection,
	int depthIndex
)

Parameters

orderDirection
Type: StockSharp.MessagesSides
Orders side.
depthIndex
Type: SystemInt32
Depth index. Zero index means the best quote.

Return Value

Type: Quote
Quote. If a quote does not exist for specified depth, then the will be returned.
See Also