Package org.knowm.xchange.ascendex
Class AscendexAdapters
java.lang.Object
org.knowm.xchange.ascendex.AscendexAdapters
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic AccountInfo
adaptAccountInfo
(List<AscendexCashAccountBalanceDto> ascendexCashAccountBalanceDtoList) static Order.OrderType
static ExchangeMetaData
adaptExchangeMetaData
(List<AscendexAssetDto> ascendexAssetDtos, List<AscendexProductDto> ascendexProductDtos) adaptOpenOrderById
(AscendexOpenOrdersResponse ascendexOpenOrdersResponse) static OpenOrders
adaptOpenOrders
(List<AscendexOpenOrdersResponse> ascendexOpenOrdersRespons) static OrderBook
adaptOrderBook
(AscendexOrderbookDto ascendexOrderbookDto) static Trades
adaptTrades
(AscendexMarketTradesDto marketTradesDto) static UserTrades
adaptUserTrades
(List<AscendexOpenOrdersResponse> ascendexOrderHistoryResponse)
-
Constructor Details
-
AscendexAdapters
public AscendexAdapters()
-
-
Method Details
-
adaptOrderBook
-
adaptAccountInfo
public static AccountInfo adaptAccountInfo(List<AscendexCashAccountBalanceDto> ascendexCashAccountBalanceDtoList) -
adaptLimitOrderToAscendexPlaceOrderRequestPayload
public static AscendexPlaceOrderRequestPayload adaptLimitOrderToAscendexPlaceOrderRequestPayload(LimitOrder limitOrder) -
adaptUserTrades
public static UserTrades adaptUserTrades(List<AscendexOpenOrdersResponse> ascendexOrderHistoryResponse) -
adaptOpenOrders
public static OpenOrders adaptOpenOrders(List<AscendexOpenOrdersResponse> ascendexOpenOrdersRespons) -
adaptOpenOrderById
-
adaptExchangeMetaData
public static ExchangeMetaData adaptExchangeMetaData(List<AscendexAssetDto> ascendexAssetDtos, List<AscendexProductDto> ascendexProductDtos) -
adaptAscendexSideToOrderType
public static Order.OrderType adaptAscendexSideToOrderType(AscendexPlaceOrderRequestPayload.AscendexSide ascendexSide) -
adaptTrades
-