public class KucoinPrivateWSClientImpl extends BaseWebsocketImpl implements KucoinPrivateWSClient
| 构造器和说明 |
|---|
KucoinPrivateWSClientImpl(KucoinClientBuilder kucoinClientBuilder) |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
onAccountBalance(KucoinAPICallback<KucoinEvent<AccountChangeEvent>> callback)
You will receive this message when an account balance changes.
|
String |
onAdvancedOrder(KucoinAPICallback<KucoinEvent<? extends AdvancedOrderEvent>> callback,
String... symbols)
You will receive the message when the status of advanced order changes.
|
String |
onMarginLoan(KucoinAPICallback<KucoinEvent<MarginLoanEvent>> callback,
String symbol)
Borrowing change message push
|
String |
onMarginPosition(KucoinAPICallback<KucoinEvent<MarginPositionEvent>> callback)
When the position status changes, a status change event will be pushed.
|
String |
onOrderActivate(KucoinAPICallback<KucoinEvent<OrderActivateEvent>> callback,
String... symbols)
已过时。
|
String |
onOrderChange(KucoinAPICallback<KucoinEvent<OrderChangeEvent>> callback)
You will receive the message when order changes.
|
String |
onOrderV2Change(KucoinAPICallback<KucoinEvent<OrderChangeEvent>> callback)
You will receive the message when order changes.
|
String |
ping(String requestId)
To prevent the TCP link being disconnected by the server, the client side needs to send ping messages to the server to keep alive the link.
|
protected WebsocketTokenResponse |
requestToken() |
String |
unsubscribe(PrivateChannelEnum channelEnum,
String... symbols)
Unsubscribe from topics you have subscribed to.
|
close, connect, subscribe, unsubscribeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclosepublic KucoinPrivateWSClientImpl(KucoinClientBuilder kucoinClientBuilder)
protected WebsocketTokenResponse requestToken() throws IOException
requestToken 在类中 BaseWebsocketImplIOException@Deprecated public String onOrderActivate(KucoinAPICallback<KucoinEvent<OrderActivateEvent>> callback, String... symbols)
KucoinPrivateWSClientonOrderActivate 在接口中 KucoinPrivateWSClientpublic String onAccountBalance(KucoinAPICallback<KucoinEvent<AccountChangeEvent>> callback)
KucoinPrivateWSClientonAccountBalance 在接口中 KucoinPrivateWSClientpublic String onOrderChange(KucoinAPICallback<KucoinEvent<OrderChangeEvent>> callback)
KucoinPrivateWSClientonOrderChange 在接口中 KucoinPrivateWSClientpublic String onOrderV2Change(KucoinAPICallback<KucoinEvent<OrderChangeEvent>> callback)
KucoinPrivateWSClientonOrderV2Change 在接口中 KucoinPrivateWSClientpublic String onMarginPosition(KucoinAPICallback<KucoinEvent<MarginPositionEvent>> callback)
KucoinPrivateWSClientonMarginPosition 在接口中 KucoinPrivateWSClientpublic String onMarginLoan(KucoinAPICallback<KucoinEvent<MarginLoanEvent>> callback, String symbol)
KucoinPrivateWSClientonMarginLoan 在接口中 KucoinPrivateWSClientpublic String onAdvancedOrder(KucoinAPICallback<KucoinEvent<? extends AdvancedOrderEvent>> callback, String... symbols)
KucoinPrivateWSClientonAdvancedOrder 在接口中 KucoinPrivateWSClientpublic String ping(String requestId)
KucoinPrivateWSClientping 在接口中 KucoinPrivateWSClientping 在类中 BaseWebsocketImplpublic String unsubscribe(PrivateChannelEnum channelEnum, String... symbols)
KucoinPrivateWSClientunsubscribe 在接口中 KucoinPrivateWSClientCopyright © 2023. All rights reserved.