- Metro Documentation Portal
- Subway API
- Market Data
Subscribe by Class
Subscribe by Class
Subscribe Instrument Class
This message notifies the server to send market data updates for all instruments of the specified instrument class.
Syntax
SubscribeClassMD <InstrumentClassID>
Example
SubscribeClassMD 2201
Unsubscribe Instrument Class
This message notifies the server to stop sending market data updates for all instruments of the specified instrument class.
Syntax
UnsubscribeClassMD <InstrumentClassID>
Example
UnsubscribeClassMD 2201