| 程序包 | 说明 |
|---|---|
| com.kucoin.sdk | |
| com.kucoin.sdk.impl | |
| com.kucoin.sdk.websocket |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
KucoinPrivateWSClient.onAccountBalance(KucoinAPICallback<KucoinEvent<AccountChangeEvent>> callback)
You will receive this message when an account balance changes.
|
String |
KucoinPrivateWSClient.onAdvancedOrder(KucoinAPICallback<KucoinEvent<? extends AdvancedOrderEvent>> callback,
String... symbols)
You will receive the message when the status of advanced order changes.
|
String |
KucoinPublicWSClient.onCandles(KucoinAPICallback<KucoinEvent<CandlesEvent>> callback,
String symbolAndType)
Subscribe to this topic to get the K-line data of the specified type for the specified symbol.
|
String |
KucoinPublicWSClient.onIndicatorIndex(KucoinAPICallback<KucoinEvent<IndicatorEvent>> callback,
String... symbols)
Subscribe to this topic to get the index prices used for leveraged trading.
|
String |
KucoinPublicWSClient.onIndicatorMarkPrice(KucoinAPICallback<KucoinEvent<IndicatorEvent>> callback,
String... symbols)
Subscribe to this topic to get the mark prices used for leveraged trading.
|
String |
KucoinPublicWSClient.onLevel2Data(int depth,
KucoinAPICallback<KucoinEvent<Level2Event>> callback,
String... symbols)
Subscribe this topic to get Level2 order book data.
|
String |
KucoinPublicWSClient.onLevel2Data(KucoinAPICallback<KucoinEvent<Level2ChangeEvent>> callback,
String... symbols)
Subscribe this topic to get Level2 order book data.
|
String |
KucoinPublicWSClient.onLevel3Data_V2(KucoinAPICallback<KucoinEvent<Level3Event>> callback,
String... symbols)
Subscribe this topic to get the updated data for orders and trades.
|
String |
KucoinPublicWSClient.onLevel3Data(KucoinAPICallback<KucoinEvent<Level3ChangeEvent>> callback,
String... symbols)
已过时。
instead use the method
onLevel3Data_V2 |
String |
KucoinPublicWSClient.onMarginFundingBook(KucoinAPICallback<KucoinEvent<FundingBookEvent>> callback,
String... currency)
Subscribe to this topic to get the changes of leveraged trading borrowing and selling orders.
|
String |
KucoinPrivateWSClient.onMarginLoan(KucoinAPICallback<KucoinEvent<MarginLoanEvent>> callback,
String symbol)
Borrowing change message push
|
String |
KucoinPrivateWSClient.onMarginPosition(KucoinAPICallback<KucoinEvent<MarginPositionEvent>> callback)
When the position status changes, a status change event will be pushed.
|
String |
KucoinPublicWSClient.onMatchExecutionData(KucoinAPICallback<KucoinEvent<MatchExcutionChangeEvent>> callback,
String... symbols)
Subscribe this topic to fully get the updata data for orders and trades.
|
String |
KucoinPrivateWSClient.onOrderActivate(KucoinAPICallback<KucoinEvent<OrderActivateEvent>> callback,
String... symbols)
已过时。
instead use the method
onStopOrderChange(KucoinAPICallback<KucoinEvent<OrderChangeEvent>> callback, String... symbols) |
String |
KucoinPrivateWSClient.onOrderChange(KucoinAPICallback<KucoinEvent<OrderChangeEvent>> callback)
You will receive the message when order changes.
|
String |
KucoinPrivateWSClient.onOrderV2Change(KucoinAPICallback<KucoinEvent<OrderChangeEvent>> callback)
You will receive the message when order changes.
|
String |
KucoinPublicWSClient.onSnapshot(KucoinAPICallback<KucoinEvent<SnapshotEvent>> callback,
String target)
Subscribe to get snapshot data for a single symbol or a market
|
String |
KucoinPublicWSClient.onTicker(KucoinAPICallback<KucoinEvent<TickerChangeEvent>> callback,
String... symbols)
Subscribe this topic to get the realtime push of BBO changes.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
PrintCallback<T>
Created by chenshiwei on 2019/1/19.
|
Copyright © 2023. All rights reserved.