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, blockchainApiFields inherited from class org.knowm.xchange.service.BaseResilientExchangeService
resilienceRegistriesFields inherited from class org.knowm.xchange.service.BaseExchangeService
exchange -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBlockchainTradeServiceRaw(BlockchainExchange exchange, BlockchainAuthenticated blockchainApi, ResilienceRegistries resilienceRegistries) -
Method Summary
Modifier and TypeMethodDescriptionprotected BooleancancelAllOrdersBySymbol(String symbol) protected BooleancancelOrderById(String orderId) protected BlockchainOrderprotected List<BlockchainOrder>protected List<BlockchainOrder>getOrdersBySymbol(String symbol) protected List<BlockchainOrder>protected BlockchainOrderpostOrder(BlockchainOrder blockchainOrder) Methods inherited from class org.knowm.xchange.service.BaseResilientExchangeService
decorateApiCall, rateLimiter, rateLimiter, retry, retryMethods 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:
IOExceptionBlockchainException
-
getOrdersBySymbol
protected List<BlockchainOrder> getOrdersBySymbol(String symbol) throws IOException, BlockchainException - Throws:
IOExceptionBlockchainException
-
getOrder
- Throws:
IOException
-
postOrder
- Throws:
IOException
-
cancelOrderById
- Throws:
IOExceptionBlockchainException
-
cancelAllOrdersBySymbol
- Throws:
IOExceptionBlockchainException
-
getTrades
protected List<BlockchainOrder> getTrades(String symbol, Long startTime, Long endTime, Integer limit) throws IOException - Throws:
IOException
-