Layer1ApiListener
source_file: Layer1ApiListener.html package: velox.api.layer1 classes: Layer1ApiListener methods: Inherited from Layer1ApiAdminListener, Inherited from Layer1ApiDataListener, Inherited from Layer1ApiInstrumentListener, Inherited from Layer1ApiMboDataListener, Inherited from Layer1ApiTradingListener extends: ** Layer1ApiAdminListener, Layer1ApiDataListener, Layer1ApiInstrumentListener, Layer1ApiMboDataListener, Layer1ApiTradingListener​
Layer1ApiListener
Package: velox.api.layer1
Type: Interface
All Superinterfaces: Layer1ApiAdminListener, Layer1ApiDataListener, Layer1ApiInstrumentListener, Layer1ApiMboDataListener, Layer1ApiTradingListener
All Known Subinterfaces: Layer1ApiAdapter
All Known Implementing Classes: Layer1ApiDepthFreezer, Layer1ApiInjectorRelay, Layer1ApiRelay, Layer1ApiStrategiesEchoMessagesLayer, Layer1ApiUpstreamRelay
Description​
Extends all possible Layer1 listeners. Capable of listening to any Layer1 API events.
Methods​
Inherited from Layer1ApiAdminListener​
void onConnectionLost(DisconnectionReason reason, String text)
void onConnectionRestored()
void onLoginFailed(LoginFailedReason reason, String text)
void onLoginSuccessful()
void onSystemTextMessage(String message, SystemTextMessageType type)
void onUserMessage(Object message)
Inherited from Layer1ApiDataListener​
void onDepth(String alias, boolean isBid, int price, int size)
void onMarketMode(String alias, MarketMode mode)
void onTrade(String alias, double price, int size, TradeInfo tradeInfo)
Inherited from Layer1ApiInstrumentListener​
void onInstrumentAdded(String alias, InstrumentInfo instrumentInfo)
void onInstrumentAlreadySubscribed(String alias, String symbol, String exchange)
void onInstrumentNotFound(String alias, String symbol, String exchange)
void onInstrumentRemoved(String alias)
Inherited from Layer1ApiMboDataListener​
void onMboCancel(String alias, String orderId)
void onMboReplace(String alias, String orderId, int price, int size)
void onMboSend(String alias, String orderId, boolean isBid, int price, int size)
Inherited from Layer1ApiTradingListener​
void onBalance(BalanceInfo balanceInfo)
void onOrderExecuted(ExecutionInfo executionInfo)
void onOrderUpdated(OrderInfoUpdate orderInfoUpdate)
void onStatus(StatusInfo statusInfo)