public final class OKCoinAdapters extends Object
Modifier and Type | Method and Description |
---|---|
static org.knowm.xchange.dto.account.AccountInfo |
adaptAccountInfo(UserInfo userInfo) |
static org.knowm.xchange.dto.trade.OpenOrders |
adaptOpenOrders(Collection<OrderResult> orderResults) |
static org.knowm.xchange.dto.marketdata.OrderBook |
adaptOrderBook(Depth depth,
org.knowm.xchange.currency.CurrencyPair currencyPair) |
static org.knowm.xchange.dto.Order.OrderType |
adaptOrderType(Type type) |
static String |
adaptSymbol(org.knowm.xchange.currency.CurrencyPair currencyPair) |
static org.knowm.xchange.currency.CurrencyPair |
adaptSymbol(String symbol) |
static org.knowm.xchange.dto.marketdata.Ticker |
adaptTicker(TickerResponse tickerResponse,
org.knowm.xchange.currency.CurrencyPair currencyPair) |
static org.knowm.xchange.dto.marketdata.Trades |
adaptTrades(Trade[] trades,
org.knowm.xchange.currency.CurrencyPair currencyPair) |
static org.knowm.xchange.dto.trade.UserTrades |
adaptUserTrades(OrderHistory orderHistory) |
public static String adaptSymbol(org.knowm.xchange.currency.CurrencyPair currencyPair)
public static org.knowm.xchange.currency.CurrencyPair adaptSymbol(String symbol)
public static org.knowm.xchange.dto.marketdata.Ticker adaptTicker(TickerResponse tickerResponse, org.knowm.xchange.currency.CurrencyPair currencyPair)
public static org.knowm.xchange.dto.marketdata.OrderBook adaptOrderBook(Depth depth, org.knowm.xchange.currency.CurrencyPair currencyPair)
public static org.knowm.xchange.dto.marketdata.Trades adaptTrades(Trade[] trades, org.knowm.xchange.currency.CurrencyPair currencyPair)
public static org.knowm.xchange.dto.account.AccountInfo adaptAccountInfo(UserInfo userInfo)
public static org.knowm.xchange.dto.trade.OpenOrders adaptOpenOrders(Collection<OrderResult> orderResults)
public static org.knowm.xchange.dto.trade.UserTrades adaptUserTrades(OrderHistory orderHistory)
public static org.knowm.xchange.dto.Order.OrderType adaptOrderType(Type type)
Copyright © 2013–2017. All rights reserved.