USAGE:

   Windows
   -------
      java -cp .;JStandardSamples.jar;lib/* QuoteManager.QuoteChainSample.Main
                [-h <host> -conn <connectionType>] -u <username> -p <password> 
                [-req <mode> -s <symbols> -t <type> -m <month>]
                [-y <year> -pc <put/call> -min <minstrike> -max <maxstrike> -limit <timeLimit> ]
   Linux
   ------
      java -cp .:JStandardSamples.jar:lib/* QuoteManager.QuoteChainSample.Main
                [-h <host> -conn <connectionType>] -u <username> -p <password> 
                [-req <mode> -s <symbols> -t <type> -m <month>]
                [-y <year> -pc <put/call> -min <minstrike> -max <maxstrike> -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.

   -req  <mode>                 Identifies the type of request to make.  The following 
                                modes may be specified:

                                   - snapshot
                                     A "snapshot" request will provide one snapshot of each
                                     item in the requested chain.
                                     
                                   - subscribe
                                     The "subscribe" request provides streaming updates of 
                                     all the items in the requested chain.
                                     
                                 note: The default behavior provides streaming updates.

   -s    <symbols>              The symbol, or symbols, to use for making the chain snapshot
                                request. A single instrument may be entered, or a comma 
                                separated list of symbols. 

                                Multiple symbols must be separated by commas with no spaces. 
   
                                Stock Option Root Example:

                                   -s  O:IBM
 
                                Futures Example:

                                   -s  ES

                                Multiple Symbols Example:

                                   -s O:IBM,O:AAPL7

                                Note:  You cannot request stocks and futures together.

    -t    <type>                Specifies one of the following request types:

                                STOCK_OPTIONS   Indicates the request is for a stock.
                                        
                                FUTURE_OPTIONS  Indicates the request is for a future/
                                        
                                FUTURE_CHAIN    If the instrument is a stock, the returned
                                                data includes all available options, puts 
                                                and calls, for the stock specified.
            
                                                If the instrument is a future, the returned
                                                data is a list of all the available month 
                                                roots and their expirations.

                                                For example:

                                                SYMBOL: ES H5  EXPIRATION: 3202015  TYPE: --
                                                SYMBOL: ES #V  EXPIRATION: 3202015  TYPE: --
                                                SYMBOL: ES #F  EXPIRATION: 3202015  TYPE: --
                                                SYMBOL: ES U5  EXPIRATION: 9182015  TYPE: --
                                                SYMBOL: ES M5  EXPIRATION: 6192015  TYPE: --
                                                SYMBOL: ES H6  EXPIRATION: 3182016  TYPE: --
                                                SYMBOL: ES Z5  EXPIRATION: 12182015 TYPE: --
                                                SYMBOL: ES #OI EXPIRATION: 12182015 TYPE: --
                                                
                                                Subsequent FUTURE_OPTIONS requests could be 
                                                made to get snapshots of all the March Puts, 
                                                or September Calls.

                                                note:  Returned data may include instruments
                                                       with # formats. These instruments are
                                                       not supported for FUTURE_OPTIONS 
                                                       requests.

   -m    <month>                A number representing a contract month.  
                                Possible values include 0 through 11, where 0 is January and
                                11 is December.

   -y    <year>                 A four digit year code.

   -pc   <put/call>             Indicates to retrieve "puts" or "calls" for the given 
                                contract, month, and year. For example:

                                   -pc put
                                   
   -min  <minstrike>            The lowest price boundary to return data.
   
   -max  <maxstrike>            The maximum price boundary to return data.

   -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.
                                          
    -disp <display>             Controls the formatting and output to the console window.
                                Valid values include:
                                                     
                                   - ON    Output displays within the console window and
                                           is formatted for readability.
                                           
                                   - OFF   Suppresses most output from display within the
                                           console window.  Output is formatted as comma-
                                           separated values and intended for redirection to
                                           a file.
                                           
                                Usage Example:
                                
                                java -cp .;JStandardSamples.jar;lib/* QuoteManager.QuoteChainSample.Main \
                                -h host -u user -p pwd -req subscribe -s O:ICE -limit 00:05:10 -disp off > detailedoutput.csv
                              
Note:  If you do not enter a value for <host>, <type>, <symbols>, <month>, <year>, or 
       <put/call> the values listed in the QuoteChainSample.properties file will be used. 
       <username> and <password> must be entered at the command line.
