MarketDepth.askSize()

ICE Data Services -

MarketDepth.bidSize(), MarketDepth.askSize() Depth Functions

Returns bid or ask size for the specified depth element.
Syntax
MarketDepth.bidSize( DepthId, Index )
MarketDepth.askSize( DepthId, Index )
Parameters
Parameter: Description: Default:
DepthId Required.  Number representing the specified ID for the depth.

 

n/a Index Required.  Number of element in the depth.

 

n/a
Notes
Only available in versions 11.7 or later.
Code Examples
var depthID = null;function main(){    var SourceList = MarketDepth.getSources();            if (SourceList != null){        depthID = MarketDepth.subscribe(SourceList[0]);			debugPrintln("DepthBidSize: " + MarketDepth.bidSize(depthID, 0));	debugPrintln("DepthAskSize: " + MarketDepth.askSize(depthID, 0));    }	    ...}
See Also
MarketDepth.bid MarketDepth.bidTime MarketDepth.askCount