public interface Application
Modifier and Type | Method and Description |
---|---|
void |
resolveInstrumentBySecID(long secID,
SecurityDefinitionListener listener)
Subscribes to instrument replay by security ID
|
void |
resolveInstrumentBySecurityDescription(String secDesc,
SecurityDefinitionListener listener)
Subscribes to instrument replay by security description
|
void |
resolveInstrumentBySecurityGroup(String securityGroup,
SecurityDefinitionListener listener)
Subscribes to instrument replay by security group
|
void |
resolveInstrumentBySymbol(String symbol,
SecurityDefinitionListener listener)
Subscribes to instrument replay by symbol
|
boolean |
resolveInstrumentsByChannelID(String channelID,
SecurityDefinitionListener listener)
Subscribes to instrument replay by channel ID
|
void |
start()
Deprecated.
|
void |
stop()
Stops application.
|
void |
stopChannelListener(String channelID,
SecurityDefinitionListener listener)
Unsubscribe from instrument replay by channel
|
void |
stopSecGroupListener(String securityGroup,
SecurityDefinitionListener listener)
Unsubscribe from instrument replay by security group
|
void |
stopSecIDListener(long secID,
SecurityDefinitionListener listener)
Unsubscribe from instrument replay by security ID
|
void |
stopSecurityDescriptionListener(String secDesc,
SecurityDefinitionListener listener)
Unsubscribe from instrument replay by security description
|
void |
stopSymbolListener(String symbol,
SecurityDefinitionListener listener)
Unsubscribe from instrument replay by String
|
void |
subscribe(String symbol,
InstrumentListener listener,
RecoveryOptions recovery) |
boolean |
subscribeAll(InstrumentListener listener,
RecoveryOptions recoveryOptions)
Subscribes to the market data for all instruments on market
|
void |
subscribeAll(RecoveryOptions recoveryOptions)
Deprecated.
|
boolean |
subscribeByChannelID(String channelID,
InstrumentListener listener,
RecoveryOptions recoveryOptions)
Subscribes to market data for instrument by security ID and channel info
|
void |
subscribeBySecurityDesc(String secDesc,
InstrumentListener listener,
RecoveryOptions recoveryOptions)
Subscribes to market data for instrument by security description
|
boolean |
subscribeBySecurityID(long secID,
String secDesc,
String channelID,
InstrumentListener listener,
RecoveryOptions recoveryOptions)
Subscribes to market data for instrument by security ID and channel info
|
void |
unsubscribe(String symbol) |
void |
unsubscribeAll()
Unsubscribe from all instruments
|
void |
unsubscribeByChannelID(String channelID,
InstrumentListener listener)
Unsubscribes from market data on channel.
|
void |
unsubscribeBySecDesc(String secDesc)
Unsubscribes from instrument by security description
|
void |
unsubscribeBySecurityID(long secID)
Unsubscribes from instrument by security ID
|
@Deprecated void start()
void subscribe(String symbol, InstrumentListener listener, RecoveryOptions recovery)
void unsubscribe(String symbol)
void subscribeBySecurityDesc(String secDesc, InstrumentListener listener, RecoveryOptions recoveryOptions)
secDesc
- listener
- recoveryOptions
- void unsubscribeBySecDesc(String secDesc)
secDesc
- void unsubscribeBySecurityID(long secID)
secID
- boolean subscribeBySecurityID(long secID, String secDesc, String channelID, InstrumentListener listener, RecoveryOptions recoveryOptions)
secID
- secDesc
- channelID
- listener
- recoveryOptions
- boolean subscribeByChannelID(String channelID, InstrumentListener listener, RecoveryOptions recoveryOptions)
channelID
- listener
- recoveryOptions
- void unsubscribeByChannelID(String channelID, InstrumentListener listener)
channelID
- subscribeByChannelID(String, InstrumentListener, RecoveryOptions)
void resolveInstrumentBySymbol(String symbol, SecurityDefinitionListener listener)
symbol
- listener
- void resolveInstrumentBySecurityDescription(String secDesc, SecurityDefinitionListener listener)
secDesc
- listener
- void resolveInstrumentBySecID(long secID, SecurityDefinitionListener listener)
secID
- listener
- void resolveInstrumentBySecurityGroup(String securityGroup, SecurityDefinitionListener listener)
securityGroup
- listener
- boolean resolveInstrumentsByChannelID(String channelID, SecurityDefinitionListener listener)
channelID
- listener
- void stopSymbolListener(String symbol, SecurityDefinitionListener listener)
symbol
- listener
- void stopSecurityDescriptionListener(String secDesc, SecurityDefinitionListener listener)
secDesc
- listener
- void stopSecIDListener(long secID, SecurityDefinitionListener listener)
secID
- listener
- void stopSecGroupListener(String securityGroup, SecurityDefinitionListener listener)
securityGroup
- listener
- void stopChannelListener(String channelID, SecurityDefinitionListener listener)
channelID
- listener
- boolean subscribeAll(InstrumentListener listener, RecoveryOptions recoveryOptions)
recoveryOptions
- @Deprecated void subscribeAll(RecoveryOptions recoveryOptions)
void unsubscribeAll()
void stop()
Copyright © 2000-2017 EPAM Systems. All Rights Reserved.