Click or drag to resize

MarketDepthGetPair Method

To get a pair of quotes (bid + offer) by the depth index.

Namespace:  StockSharp.BusinessEntities
Assembly:  StockSharp.BusinessEntities (in StockSharp.BusinessEntities.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
public MarketDepthPair GetPair(
	int depthIndex
)

Parameters

depthIndex
Type: SystemInt32
Depth index. Zero index means the best pair of quotes.

Return Value

Type: MarketDepthPair
The pair of quotes. If the index is larger than book order depth Depth, then the is returned.
See Also