Subscription
After authenticating, the client can subscribe to live data.
To subscribe, the client must send a subscription request to the gateway.
Subscriptions from multiple symbols and schemas can be made in the same session. Different datasets require separate connections.
The same symbol can have separate subscriptions in different schemas.
A subscription will not take effect until the session is started.
To remove symbols from a subscription, the client can send an unsubscribe request.
If one or more symbols in a subscription fail to resolve, the gateway will send an ErrorMsg record with code=SymbolResolutionFailed for each unresolved symbol.
The session is not terminated, and any successfully resolved symbols in the same subscription will continue to stream normally.
For other subscription failures (such as code=InvalidSubscription or code=InternalError), the gateway will send an ErrorMsg record and terminate the session.
To subscribe to trades for all E-mini S&P Mini 500 Futures on CME, the client would send:
schema=trades|stype_in=parent|symbols=ES.FUT\n