Package org.knowm.xchange.kraken.service
Class KrakenBaseService
java.lang.Object
org.knowm.xchange.service.BaseExchangeService
org.knowm.xchange.kraken.service.KrakenBaseService
- All Implemented Interfaces:
BaseService
- Direct Known Subclasses:
KrakenAccountServiceRaw
,KrakenMarketDataServiceRaw
,KrakenTradeServiceRaw
-
Field Summary
Modifier and TypeFieldDescriptionprotected KrakenAuthenticated
protected si.mazi.rescu.ParamsDigest
Fields inherited from class org.knowm.xchange.service.BaseExchangeService
exchange
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<R> R
checkResult
(KrakenResult<R> krakenResult) For more info on each error codesprotected String
createDelimitedString
(String[] items) protected String
delimitAssetPairs
(CurrencyPair[] currencyPairs) protected String
delimitAssets
(Currency[] assets) protected String
delimitSet
(Set<Order.IOrderFlags> items) protected int
getAssetPairScale
(Instrument instrument) getKrakenAssets
(Currency... assets) Methods inherited from class org.knowm.xchange.service.BaseExchangeService
verifyOrder, verifyOrder, verifyOrder
-
Field Details
-
kraken
-
signatureCreator
protected si.mazi.rescu.ParamsDigest signatureCreator
-
-
Constructor Details
-
KrakenBaseService
Constructor- Parameters:
exchange
-
-
-
Method Details
-
getServerTime
- Throws:
IOException
-
getKrakenAssets
- Throws:
IOException
-
checkResult
For more info on each error codeshttps://support.kraken.com/hc/en-us/articles/360001491786-API-Error-Codes
-
createDelimitedString
-
delimitAssets
- Throws:
IOException
-
delimitAssetPairs
- Throws:
IOException
-
delimitSet
-
getAssetPairScale
- Throws:
IOException
-