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
public class KucoinTradeServiceRaw extends KucoinBaseService
-
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
Constructors Modifier Constructor Description protected
KucoinTradeServiceRaw(KucoinExchange exchange, ResilienceRegistries resilienceRegistries)
-
Method Summary
Modifier and Type Method Description Pagination<OrderResponse>
getKucoinClosedOrders(String symbol, int page, int pageSize)
Pagination<TradeResponse>
getKucoinFills(String symbol, String orderId, int page, int pageSize, Long startAt, Long endAt)
Pagination<HistOrdersResponse>
getKucoinHistOrders(String symbol, int page, int pageSize, Long startAt, Long endAt)
Pagination<OrderResponse>
getKucoinOpenOrders(String symbol, int page, int pageSize)
OrderResponse
getKucoinOrder(String id)
Pagination<OrderResponse>
getKucoinOrders(String symbol, String status, int page, int pageSize)
List<OrderResponse>
getKucoinRecentOrders()
OrderCancelResponse
kucoinCancelAllOrders(String symbol)
OrderCancelResponse
kucoinCancelOrder(String orderId)
OrderCreateResponse
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
protected KucoinTradeServiceRaw(KucoinExchange exchange, ResilienceRegistries resilienceRegistries)
-
-
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
-