Call this method to request market depth details for a particular underlying or security. The market depth data will be returned by the updateMktDepth() and updateMktDepthL2() events.
This method has been deprecated as of API release 9.4 (December 2007) and will soon be removed. Please update your software to use the "Ex" counterparts to these deprecated methods.
Public Overridable Sub reqMktDepth2(ByVal id As Integer, ByVal localSymbol As String, ByVal secType As String, ByVal exchange As String, ByVal curency As String, ByVal numRows As Integer)
|
Parameter |
Description |
|
id |
The ticker id. Must be a unique value. When the market data returns, it will be identified by this tag. This is also used when canceling the market data. |
|
localSymbol |
The local exchange symbol of the underlying for which you are requesting market data. |
|
secType |
The security type. Valid values are: · STK · OPT · FUT · IND · FOP · CASH |
|
exchange |
The order destination, such as SMART. |
|
curency |
Specifies the currency. Ambiguities may require that this field be specified, for example, when SMART is the exchange and IBM is being requested (IBM can trade in GBP or USD). Given the existence of this kind of ambiguity, it is a good idea to always specify the currency. |
|
numRows |
Specifies the number of market depth rows you want to display. |