MarketDepth.subscribe() Depth Functions
Subscribes on Depth data.
Syntax
MarketDepth.subscribe( Source )
Parameters
Parameter: | Description: | Default: |
Source | Required. MarketDepthSource Object. | n/a |
Return Value(s)
Returns depth ID.
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]) }... }
See Also