MarketDepth.source() Depth Functions
Returns the source for the specified EFS depth ID.
Syntax MarketDepth.source( 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("DepthSource: " + MarketDepth.source(depthID)); } ...}
|
See Also