MarketDepth.askTime()

ICE Data Services -

MarketDepth.bidTime(), MarketDepth.askTime()

Depth Functions

Returns bid or ask time for the specified depth element.

 

Syntax

MarketDepth.bidTime( DepthId , Index )

MarketDepth.askTime( 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("DepthBidTime: " + MarketDepth.bidTime(depthID, 0));
		debugPrintln("DepthAskTime: " + MarketDepth.askSize(depthID, 0));
	}...
}

 

See Also

MarketDepth.bid

MarketDepth.bidSize

MarketDepth.askCount