Class BlockchainTradeServiceRaw
java.lang.Object
org.knowm.xchange.service.BaseExchangeService<E>
org.knowm.xchange.service.BaseResilientExchangeService<BlockchainExchange>
org.knowm.xchange.blockchain.service.BlockchainBaseService
org.knowm.xchange.blockchain.service.BlockchainTradeServiceRaw
- Direct Known Subclasses:
BlockchainTradeService
public class BlockchainTradeServiceRaw extends BlockchainBaseService
-
Field Summary
Fields inherited from class org.knowm.xchange.blockchain.service.BlockchainBaseService
apiKey, blockchainApi
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
BlockchainTradeServiceRaw(BlockchainExchange exchange, BlockchainAuthenticated blockchainApi, ResilienceRegistries resilienceRegistries)
-
Method Summary
Modifier and Type Method Description protected Boolean
cancelAllOrdersBySymbol(String symbol)
protected Boolean
cancelOrderById(String orderId)
protected BlockchainOrder
getOrder(String orderId)
protected List<BlockchainOrder>
getOrders()
protected List<BlockchainOrder>
getOrdersBySymbol(String symbol)
protected List<BlockchainOrder>
getTrades(String symbol, Long startTime, Long endTime, Integer limit)
protected BlockchainOrder
postOrder(BlockchainOrder blockchainOrder)
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
-
BlockchainTradeServiceRaw
protected BlockchainTradeServiceRaw(BlockchainExchange exchange, BlockchainAuthenticated blockchainApi, ResilienceRegistries resilienceRegistries)
-
-
Method Details
-
getOrders
- Throws:
IOException
BlockchainException
-
getOrdersBySymbol
protected List<BlockchainOrder> getOrdersBySymbol(String symbol) throws IOException, BlockchainException- Throws:
IOException
BlockchainException
-
getOrder
- Throws:
IOException
-
postOrder
- Throws:
IOException
-
cancelOrderById
- Throws:
IOException
BlockchainException
-
cancelAllOrdersBySymbol
- Throws:
IOException
BlockchainException
-
getTrades
protected List<BlockchainOrder> getTrades(String symbol, Long startTime, Long endTime, Integer limit) throws IOException- Throws:
IOException
-