Package org.knowm.xchange.poloniex
Class PoloniexAdapters
java.lang.Object
org.knowm.xchange.poloniex.PoloniexAdapters
- Version:
- 2.0 *
- Author:
- Zach Holmes, Dave Seyb
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic List<FundingRecord>
adaptFundingRecords
(PoloniexDepositsWithdrawalsResponse poloFundings) adaptPoloniexBalances
(HashMap<String, PoloniexBalance> poloniexBalances) static CandleStickData
adaptPoloniexCandleStickData
(PoloniexChartData[] poloniexChartData, CurrencyPair currencyPair) static OrderBook
adaptPoloniexDepth
(PoloniexDepth depth, CurrencyPair currencyPair) static LoanInfo
adaptPoloniexLoans
(HashMap<String, PoloniexLoan[]> poloniexLoans) static LimitOrder
adaptPoloniexOpenOrder
(PoloniexOpenOrder openOrder, CurrencyPair currencyPair) static OpenOrders
adaptPoloniexOpenOrders
(Map<String, PoloniexOpenOrder[]> poloniexOpenOrders) static List<LimitOrder>
adaptPoloniexPublicOrders
(List<List<BigDecimal>> rawLevels, Order.OrderType orderType, CurrencyPair currencyPair) static Trade
adaptPoloniexPublicTrade
(PoloniexPublicTrade poloniexTrade, CurrencyPair currencyPair) static Trades
adaptPoloniexPublicTrades
(PoloniexPublicTrade[] poloniexPublicTrades, CurrencyPair currencyPair) static Ticker
adaptPoloniexTicker
(PoloniexMarketData marketData, CurrencyPair currencyPair) static Ticker
adaptPoloniexTicker
(PoloniexTicker poloniexTicker, CurrencyPair currencyPair) static UserTrade
adaptPoloniexUserTrade
(PoloniexUserTrade userTrade, CurrencyPair currencyPair) static ExchangeMetaData
adaptToExchangeMetaData
(Map<String, PoloniexCurrencyInfo> poloniexCurrencyInfo, Map<String, PoloniexMarketData> poloniexMarketData, ExchangeMetaData exchangeMetaData) static LimitOrder
adaptUserTradesToOrderStatus
(String orderId, PoloniexUserTrade[] poloniexUserTrades)
-
Constructor Details
-
PoloniexAdapters
public PoloniexAdapters()
-
-
Method Details
-
adaptPoloniexTicker
-
adaptPoloniexTicker
-
adaptPoloniexDepth
-
adaptPoloniexPublicOrders
public static List<LimitOrder> adaptPoloniexPublicOrders(List<List<BigDecimal>> rawLevels, Order.OrderType orderType, CurrencyPair currencyPair) -
adaptPoloniexPublicTrades
public static Trades adaptPoloniexPublicTrades(PoloniexPublicTrade[] poloniexPublicTrades, CurrencyPair currencyPair) -
adaptPoloniexPublicTrade
public static Trade adaptPoloniexPublicTrade(PoloniexPublicTrade poloniexTrade, CurrencyPair currencyPair) -
adaptPoloniexBalances
-
adaptPoloniexLoans
-
adaptPoloniexOpenOrders
public static OpenOrders adaptPoloniexOpenOrders(Map<String, PoloniexOpenOrder[]> poloniexOpenOrders) -
adaptPoloniexOpenOrder
public static LimitOrder adaptPoloniexOpenOrder(PoloniexOpenOrder openOrder, CurrencyPair currencyPair) -
adaptPoloniexUserTrade
public static UserTrade adaptPoloniexUserTrade(PoloniexUserTrade userTrade, CurrencyPair currencyPair) -
adaptToExchangeMetaData
public static ExchangeMetaData adaptToExchangeMetaData(Map<String, PoloniexCurrencyInfo> poloniexCurrencyInfo, Map<String, PoloniexMarketData> poloniexMarketData, ExchangeMetaData exchangeMetaData) -
adaptFundingRecords
public static List<FundingRecord> adaptFundingRecords(PoloniexDepositsWithdrawalsResponse poloFundings) -
adaptUserTradesToOrderStatus
public static LimitOrder adaptUserTradesToOrderStatus(String orderId, PoloniexUserTrade[] poloniexUserTrades) -
adaptPoloniexCandleStickData
public static CandleStickData adaptPoloniexCandleStickData(PoloniexChartData[] poloniexChartData, CurrencyPair currencyPair)
-