public interface MarketDataApp
Modifier and Type | Method and Description |
---|---|
Map<Long,Configuration.Subscription> |
getAllSubscriptions()
Get all Security Subscriptions, per Security Id
|
long |
getQuoteRequestQty(Long securityId)
Get last Quote Request instance
|
SecurityDefinition |
getSecurityDefinition(Long securityId)
Get a Security Definition from internal API registry
|
MarketState |
getSecurityStatus(Long securityId)
Get current Security Status
|
TradeStatistic |
getStatistics(Long securityId)
Get a Trade Statistics instance
|
void |
init(Configuration configuration)
Initialize Market Data API using a given Configuration instance
|
void |
start()
Activate and connect to CME
|
void |
startAdhoc(Configuration.Subscription subscription)
Start an adhoc Subscription
|
void |
stop()
Shutdown all processes.
|
void |
stop(Long securityId)
Stop a given Security by Id
|
void |
stopByDesc(String desc)
Stop a given Security by Security Description
|
void |
stopBySecGroup(String secGroup)
Stop a given Security by Security Group Name
|
void |
stopBySymbol(String symbol)
Stop a given Security by Security Symbol
|
void init(Configuration configuration) throws ConfigurationException
configuration
- a Configuration instanceConfigurationException
void start()
void stop()
Map<Long,Configuration.Subscription> getAllSubscriptions()
SecurityDefinition getSecurityDefinition(Long securityId)
securityId
- a given Security IdTradeStatistic getStatistics(Long securityId)
securityId
- a given Security IdMarketState getSecurityStatus(Long securityId)
securityId
- a given Security Idlong getQuoteRequestQty(Long securityId)
securityId
- a given Security Idvoid stop(Long securityId)
securityId
- Security Idvoid stopByDesc(String desc)
desc
- Security Descriptionvoid stopBySymbol(String symbol)
symbol
- Security Symbolvoid stopBySecGroup(String secGroup)
secGroup
- Security Group Namevoid startAdhoc(Configuration.Subscription subscription) throws ConfigurationException
subscription
- a new Subscription instanceConfigurationException
Copyright © 2000-2017 EPAM Systems. All Rights Reserved.