Market Data Service.
More...
#include <B2BITS_CmeMdpMarketDataService.h>
MarketDataService is the root object to access CME market data. MarketDataService object maintains a collection of channels.
virtual std::string getName |
( |
| ) |
const |
|
pure virtual |
- Returns
- Name of the market data service.
- Returns
- Options of the market data service.
virtual bool opened |
( |
| ) |
const |
|
pure virtual |
- Returns
- True if the market data service is opened.
Loads channel and template configuration files. Adds channes defined in the channel configuraiton file.
- Parameters
-
id | Id of the channel to return. |
- Returns
- Reference to the channel.
- Exceptions
-
Generates | exception if the channel doesn't exist. |
- Parameters
-
channelVector | Vector of channel references to fill. |
- Parameters
-
id | Id of the channel to return. |
- Returns
- Reference to the channel. Returns null if the channel doesn't exist.
- Parameters
-
id | Id of the channel to add. |
options | Options of the channel to add. |
- Returns
- Reference to the channel added.
- Exceptions
-
Generates | exception if the channel already exists. |
- Parameters
-
id | Id of the channel to remove. |
virtual void removeChannels |
( |
| ) |
|
|
pure virtual |
- Note
- The instance reference is no longer valid.