MarketDepth.connection()

ICE Data Services -

MarketDepth.connection() Depth Functions

Returns connection name for the specified EFS depth ID.

 

Syntax

MarketDepth.connection( DepthId )

 

Parameters

Parameter: Description: Default:
DepthId Required.  Number representing the specified ID for 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("DepthConnection: " + MarketDepth.connection(depthID));
	}...
}

 

See Also

MarketDepth.isConnected