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, verifyOrder
protected KrakenAuthenticated kraken
protected si.mazi.rescu.ParamsDigest signatureCreator
public KrakenBasePollingService(Exchange exchange)
exchange
- public List<CurrencyPair> getExchangeSymbols() throws IOException
getExchangeSymbols
in interface BasePollingService
getExchangeSymbols
in class BaseExchangeService
IOException
protected String createKrakenCurrencyPair(CurrencyPair currencyPair) throws IOException
IOException
protected String createKrakenCurrencyPair(String tradableIdentifier, String currency) throws IOException
IOException
protected String getKrakenCurrencyCode(String currency) throws IOException
IOException
public KrakenServerTime getServerTime() throws IOException
IOException
public KrakenAssets getKrakenAssets(String... assets) throws IOException
IOException
public KrakenAssetPairs getKrakenAssetPairs(CurrencyPair... currencyPairs) throws IOException
IOException
protected <R> R checkResult(KrakenResult<R> krakenResult)
protected String delimitAssets(String[] assets) throws IOException
IOException
protected String delimitAssetPairs(CurrencyPair[] currencyPairs) throws IOException
IOException
protected String delimitSet(Set<Order.IOrderFlags> items)
Copyright © 2012–2017 Xeiam, LLC. All rights reserved.