USAGE:

   Windows
   -------
      java -cp .;JStandardSamples.jar;lib/* MarketDepthManager.MarketDepthSample.Main
                [-h <host> -conn <connectionType>] -u <username> -p <password> 
                [-t <type> -x <source> -s <symbols> -m <mode> -limit <timeLimit> ]
   Linux
   ------
      java -cp .:JStandardSamples.jar:lib/* MarketDepthManager.MarketDepthSample.Main
                [-h <host> -conn <connectionType>] -u <username> -p <password> 
                [-t <type> -x <source> -s <symbols> -m <mode> -limit <timeLimit> ]

where

   Arg   Value                  Description
   ---   -----                  -----------
   -h    <host>                 Specifies the address to use to connect to the ICE 
                                Data Services network.  
                                
                                For example: cm*.dataservices.theice.com

   -conn <connectionType>       Specifies the type of connection to use with the ICE Data Services
                                network.  Valid values include:
                                
                                   0 - SOCKTYPE_LEGACY    Uses a non TLS connection.
                                   1 - SOCKTYPE_TLS       Uses a secure/encrypted socket connection.
                                   2 - SOCKTYPE_TLS_PLUS  Not yet implemented; reserved for future support.

   -u    <username>  (required) The username for the account entitled to receive data from 
                                ICE Data Services. If you do not have one, please contact 
                                your ICE Data Services representative.

   -p    <password>  (required) The password for the account entitled to receive data from 
                                ICE Data Services. If you do not have one, please contact 
                                your ICE Data Services representative.

   -t    <depth type>           is the depth type used to get the Level2 data

   -x    <source>               is the depth source used to get the Level2 data

   -s    <symbols>              The symbol, or symbols, to use for making the market depth  
                                request. A single instrument may be entered, or a comma 
                                separated list of symbols. Symbols that include a space must
                                be enclosed in quotes. For example:

                                    -s "CL #F"

                                Multiple symbols must be separated by commas with no spaces.
                                If one of the symbols contains a space, the entire list must
                                be enclosed in quotes.  Here are two examples:
   
                                    -s  IBM,GE,WFM
 
                                    -s  "IBM,CL #F,WFM"

   -m    <mode>                 Specifies the mode of operation. Valid values include:
                              
                                   info        instructs the sample to return the available 
                                               depth types for the given instrument.
                                               
                                   stream      instructs the sample to provide streaming 
                                               depth data for the given instrument. 

    -limit <timeLimit>          The duration this sample will run before exiting.
                                Time duration applies to subscribe requests only.
                                Syntax for setting the time duration is: 
                                          
                                   HH:MM:SS
                                             
                                Setting the limit to 0 or 00:00:00 indicates to run
                                continuously without end; sample application must be
                                forcibly stopped.
                                          
Note:  If you do not enter a value for <host>, <depth type>, <depth source>, <symbols>, or
       <mode> the values listed in the MarketDepthSample.properties file will be used.  
       <username> and <password> must be entered at the command line.