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
-
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
ModifierConstructorDescriptionprotected
BlockchainTradeServiceRaw
(BlockchainExchange exchange, BlockchainAuthenticated blockchainApi, ResilienceRegistries resilienceRegistries) -
Method Summary
Modifier and TypeMethodDescriptionprotected Boolean
cancelAllOrdersBySymbol
(String symbol) protected Boolean
cancelOrderById
(String orderId) protected BlockchainOrder
protected List<BlockchainOrder>
protected List<BlockchainOrder>
getOrdersBySymbol
(String symbol) protected List<BlockchainOrder>
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
-