|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MarketDataApp
Method Summary | |
---|---|
java.util.Map<java.lang.Long,Configuration.Subscription> |
getAllSubscriptions()
Get all Security Subscriptions, per Security Id |
long |
getQuoteRequestQty(java.lang.Long securityId)
Get last Quote Request instance |
SecurityDefinition |
getSecurityDefinition(java.lang.Long securityId)
Get a Security Definition from internal API registry |
MarketState |
getSecurityStatus(java.lang.Long securityId)
Get current Security Status |
TradeStatistic |
getStatistics(java.lang.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(java.lang.Long securityId)
Stop a given Security by Id |
void |
stopByDesc(java.lang.String desc)
Stop a given Security by Security Description |
void |
stopBySecGroup(java.lang.String secGroup)
Stop a given Security by Security Group Name |
void |
stopBySymbol(java.lang.String symbol)
Stop a given Security by Security Symbol |
Method Detail |
---|
void init(Configuration configuration) throws ConfigurationException
configuration
- a Configuration instance
ConfigurationException
void start()
void stop()
java.util.Map<java.lang.Long,Configuration.Subscription> getAllSubscriptions()
SecurityDefinition getSecurityDefinition(java.lang.Long securityId)
securityId
- a given Security Id
TradeStatistic getStatistics(java.lang.Long securityId)
securityId
- a given Security Id
MarketState getSecurityStatus(java.lang.Long securityId)
securityId
- a given Security Id
long getQuoteRequestQty(java.lang.Long securityId)
securityId
- a given Security Id
void stop(java.lang.Long securityId)
securityId
- Security Idvoid stopByDesc(java.lang.String desc)
desc
- Security Descriptionvoid stopBySymbol(java.lang.String symbol)
symbol
- Security Symbolvoid stopBySecGroup(java.lang.String secGroup)
secGroup
- Security Group Namevoid startAdhoc(Configuration.Subscription subscription) throws ConfigurationException
subscription
- a new Subscription instance
ConfigurationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |