public CexIOTrade[] getCexIOTrades(CurrencyPair currencyPair, Long since) throws IOException { CexIOTrade[] trades; if (since != null) { trades = cexio.getTradesSince(currencyPair.baseSymbol, currencyPair.counterSymbol, since); } else { // default to full available trade history trades = cexio.getTrades(currencyPair.baseSymbol, currencyPair.counterSymbol); } return trades; }
public CexIODepth getCexIOOrderBook(CurrencyPair currencyPair) throws IOException { CexIODepth cexIODepth = cexio.getDepth(currencyPair.baseSymbol, currencyPair.counterSymbol); return cexIODepth; }
public CexIOTicker getCexIOTicker(CurrencyPair currencyPair) throws IOException { CexIOTicker cexIOTicker = cexio.getTicker(currencyPair.baseSymbol, currencyPair.counterSymbol); return cexIOTicker; }