public class BTCCentralAdapters extends Object
Modifier and Type | Method and Description |
---|---|
static OrderBook |
adaptMarketDepth(BTCCentralMarketDepth marketDepth,
CurrencyPair currencyPair) |
static Ticker |
adaptTicker(BTCCentralTicker btcCentralTicker,
CurrencyPair currencyPair)
Adapts a BTCCentralTicker to a Ticker Object
|
static Trades |
adaptTrade(BTCCentralTrade[] btcCentralTrades,
CurrencyPair currencyPair) |
public static Ticker adaptTicker(BTCCentralTicker btcCentralTicker, CurrencyPair currencyPair)
btcCentralTicker
- The exchange specific tickercurrencyPair
- (e.g. BTC/USD)public static OrderBook adaptMarketDepth(BTCCentralMarketDepth marketDepth, CurrencyPair currencyPair)
marketDepth
- currencyPair
- public static Trades adaptTrade(BTCCentralTrade[] btcCentralTrades, CurrencyPair currencyPair)
Copyright © 2012–2017 Xeiam, LLC. All rights reserved.