Class CoindealAdapters

java.lang.Object
org.knowm.xchange.coindeal.CoindealAdapters

public final class CoindealAdapters
extends Object
  • Constructor Details

    • CoindealAdapters

      public CoindealAdapters()
  • Method Details

    • adaptToUserTrades

      public static UserTrades adaptToUserTrades​(List<CoindealTradeHistory> coindealTradeHistoryList) throws com.fasterxml.jackson.databind.exc.InvalidFormatException
      Throws:
      com.fasterxml.jackson.databind.exc.InvalidFormatException
    • adaptToAccountInfo

      public static AccountInfo adaptToAccountInfo​(List<CoindealBalance> coindealBalances)
    • adaptOrderBook

      public static OrderBook adaptOrderBook​(CoindealOrderBook coindealOrderBook, CurrencyPair currencyPair)
    • adaptToOpenOrders

      public static OpenOrders adaptToOpenOrders​(List<CoindealOrder> coindealActiveOrders) throws com.fasterxml.jackson.databind.exc.InvalidFormatException
      Throws:
      com.fasterxml.jackson.databind.exc.InvalidFormatException
    • adaptOrder

      public static Order adaptOrder​(CoindealOrder coindealOrder) throws com.fasterxml.jackson.databind.exc.InvalidFormatException
      Throws:
      com.fasterxml.jackson.databind.exc.InvalidFormatException
    • adaptCurrencyPairToString

      public static String adaptCurrencyPairToString​(CurrencyPair currencyPair)
    • adaptOrderType

      public static String adaptOrderType​(Order.OrderType orderType)
    • adaptOrderType

      public static Order.OrderType adaptOrderType​(String coindealOrderType)