public class KrakenBasePollingService extends BaseExchangeService implements BasePollingService
| Modifier and Type | Field and Description |
|---|---|
protected KrakenAuthenticated |
kraken |
protected si.mazi.rescu.ParamsDigest |
signatureCreator |
exchange| Constructor and Description |
|---|
KrakenBasePollingService(Exchange exchange)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected <R> R |
checkResult(KrakenResult<R> krakenResult) |
protected String |
createDelimitedString(String[] items) |
protected String |
createKrakenCurrencyPair(CurrencyPair currencyPair) |
protected String |
createKrakenCurrencyPair(String tradableIdentifier,
String currency) |
protected String |
delimitAssetPairs(CurrencyPair[] currencyPairs) |
protected String |
delimitAssets(String[] assets) |
protected String |
delimitSet(Set<Order.IOrderFlags> items) |
List<CurrencyPair> |
getExchangeSymbols() |
KrakenAssetPairs |
getKrakenAssetPairs(CurrencyPair... currencyPairs) |
KrakenAssets |
getKrakenAssets(String... assets) |
protected String |
getKrakenCurrencyCode(String currency) |
KrakenServerTime |
getServerTime() |
verifyOrder, verifyOrder, verifyOrderprotected KrakenAuthenticated kraken
protected si.mazi.rescu.ParamsDigest signatureCreator
public KrakenBasePollingService(Exchange exchange)
exchange - public List<CurrencyPair> getExchangeSymbols() throws IOException
getExchangeSymbols in interface BasePollingServicegetExchangeSymbols in class BaseExchangeServiceIOExceptionprotected String createKrakenCurrencyPair(CurrencyPair currencyPair) throws IOException
IOExceptionprotected String createKrakenCurrencyPair(String tradableIdentifier, String currency) throws IOException
IOExceptionprotected String getKrakenCurrencyCode(String currency) throws IOException
IOExceptionpublic KrakenServerTime getServerTime() throws IOException
IOExceptionpublic KrakenAssets getKrakenAssets(String... assets) throws IOException
IOExceptionpublic KrakenAssetPairs getKrakenAssetPairs(CurrencyPair... currencyPairs) throws IOException
IOExceptionprotected <R> R checkResult(KrakenResult<R> krakenResult)
protected String delimitAssets(String[] assets) throws IOException
IOExceptionprotected String delimitAssetPairs(CurrencyPair[] currencyPairs) throws IOException
IOExceptionprotected String delimitSet(Set<Order.IOrderFlags> items)
Copyright © 2012–2017 Xeiam, LLC. All rights reserved.