public interface IdaxApiWebSocketClient extends Closeable
| 限定符和类型 | 方法和说明 |
|---|---|
Closeable |
onDepthXEvent(String symbols,
IdaxApiCallback<DepthEvent> callback)
Open a new web socket to receive
depthEvents on a callback. |
Closeable |
onDepthXYEvent(String symbols,
Integer number,
IdaxApiCallback<DepthEvent> callback)
Open a new web socket to receive
depthEvents on a callback. |
Closeable |
onKLineEvent(String symbol,
PeriodEnum periodEnum,
IdaxApiCallback<KlineEventEntry> callback)
Open a new web socket to receive
klineEventEntry on a callback. |
Closeable |
onMyOrderEvent(Map<String,Object> param,
IdaxApiCallback<MyOrderEntry> callback)
Open a new web socket to receive
myOrderEntry on a callback. |
Closeable |
onMyTradeEvent(Map<String,Object> param,
IdaxApiCallback<MyTradeEntry> callback)
Open a new web socket to receive
myTradeEntry on a callback. |
Closeable |
onTickerEvent(String symbols,
IdaxApiCallback<TickerEventEntry> callback)
Open a new web socket to receive
tickerEventEntry on a callback. |
Closeable |
onTradeEvent(String symbols,
IdaxApiCallback<TradeEventEntry> callback)
Open a new web socket to receive
tradeEventEntry on a callback. |
Closeable onDepthXEvent(String symbols, IdaxApiCallback<DepthEvent> callback)
depthEvents on a callback.symbols - market (one or coma-separated) symbol(s) to subscribe tocallback - the callback to call on new eventsCloseable that allows the underlying web socket to be closed.Closeable onDepthXYEvent(String symbols, Integer number, IdaxApiCallback<DepthEvent> callback)
depthEvents on a callback.symbols - market (one or coma-separated) symbol(s) to subscribe tonumber - depth numbercallback - the callback to call on new eventsCloseable that allows the underlying web socket to be closed.Closeable onTickerEvent(String symbols, IdaxApiCallback<TickerEventEntry> callback)
tickerEventEntry on a callback.symbols - market (one or coma-separated) symbol(s) to subscribe tocallback - the callback to call on new eventsCloseable that allows the underlying web socket to be closed.Closeable onKLineEvent(String symbol, PeriodEnum periodEnum, IdaxApiCallback<KlineEventEntry> callback)
klineEventEntry on a callback.periodEnum - kline period periodEnumsymbol - market (one or coma-separated) symbol(s) to subscribe tocallback - the callback to call on new eventsCloseable that allows the underlying web socket to be closed.Closeable onTradeEvent(String symbols, IdaxApiCallback<TradeEventEntry> callback)
tradeEventEntry on a callback.symbols - market (one or coma-separated) symbol(s) to subscribe tocallback - the callback to call on new eventsCloseable that allows the underlying web socket to be closed.Closeable onMyTradeEvent(Map<String,Object> param, IdaxApiCallback<MyTradeEntry> callback)
myTradeEntry on a callback.param - paramcallback - callbackCloseable that allows the underlying web socket to be closed.Closeable onMyOrderEvent(Map<String,Object> param, IdaxApiCallback<MyOrderEntry> callback)
myOrderEntry on a callback.param - paramcallback - callbackCloseable that allows the underlying web socket to be closed.Copyright © 2019. All rights reserved.