Package org.knowm.xchange.kucoin
Class KucoinTradeServiceRaw
java.lang.Object
org.knowm.xchange.service.BaseExchangeService<E>
org.knowm.xchange.service.BaseResilientExchangeService<KucoinExchange>
org.knowm.xchange.kucoin.KucoinBaseService
org.knowm.xchange.kucoin.KucoinTradeServiceRaw
- Direct Known Subclasses:
KucoinTradeService
-
Field Summary
Fields inherited from class org.knowm.xchange.kucoin.KucoinBaseService
accountApi, apiKey, depositAPI, digest, fillApi, histOrdersApi, historyApi, limitOrderAPI, nonceFactory, orderApi, orderBookApi, passphrase, symbolApi, tradingFeeAPI, websocketAPI, withdrawalAPI
Fields inherited from class org.knowm.xchange.service.BaseResilientExchangeService
resilienceRegistries
Fields inherited from class org.knowm.xchange.service.BaseExchangeService
exchange
-
Constructor Summary
ModifierConstructorDescriptionprotected
KucoinTradeServiceRaw
(KucoinExchange exchange, ResilienceRegistries resilienceRegistries) -
Method Summary
Modifier and TypeMethodDescriptiongetKucoinClosedOrders
(String symbol, int page, int pageSize) getKucoinFills
(String symbol, String orderId, int page, int pageSize, Long startAt, Long endAt) getKucoinHistOrders
(String symbol, int page, int pageSize, Long startAt, Long endAt) getKucoinOpenOrders
(String symbol, int page, int pageSize) getKucoinOrder
(String id) getKucoinOrders
(String symbol, String status, int page, int pageSize) kucoinCancelAllOrders
(String symbol) kucoinCancelOrder
(String orderId) kucoinCreateOrder
(OrderCreateApiRequest opsRequest) Methods inherited from class org.knowm.xchange.kucoin.KucoinBaseService
checkAuthenticated
Methods inherited from class org.knowm.xchange.service.BaseResilientExchangeService
decorateApiCall, rateLimiter, rateLimiter, retry, retry
Methods inherited from class org.knowm.xchange.service.BaseExchangeService
verifyOrder, verifyOrder, verifyOrder
-
Constructor Details
-
KucoinTradeServiceRaw
-
-
Method Details
-
getKucoinOpenOrders
public Pagination<OrderResponse> getKucoinOpenOrders(String symbol, int page, int pageSize) throws IOException - Throws:
IOException
-
getKucoinClosedOrders
public Pagination<OrderResponse> getKucoinClosedOrders(String symbol, int page, int pageSize) throws IOException - Throws:
IOException
-
getKucoinOrders
public Pagination<OrderResponse> getKucoinOrders(String symbol, String status, int page, int pageSize) throws IOException - Throws:
IOException
-
getKucoinOrder
- Throws:
IOException
-
getKucoinFills
public Pagination<TradeResponse> getKucoinFills(String symbol, String orderId, int page, int pageSize, Long startAt, Long endAt) throws IOException - Throws:
IOException
-
getKucoinHistOrders
public Pagination<HistOrdersResponse> getKucoinHistOrders(String symbol, int page, int pageSize, Long startAt, Long endAt) throws IOException - Throws:
IOException
-
kucoinCancelAllOrders
- Throws:
IOException
-
kucoinCancelOrder
- Throws:
IOException
-
kucoinCreateOrder
- Throws:
IOException
-
getKucoinRecentOrders
- Throws:
IOException
-