Package org.knowm.xchange.ascendex
Class AscendexAdapters
java.lang.Object
org.knowm.xchange.ascendex.AscendexAdapters
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AccountInfoadaptAccountInfo(List<AscendexCashAccountBalanceDto> ascendexCashAccountBalanceDtoList) static Order.OrderTypestatic ExchangeMetaDataadaptExchangeMetaData(List<AscendexAssetDto> ascendexAssetDtos, List<AscendexProductDto> ascendexProductDtos) adaptOpenOrderById(AscendexOpenOrdersResponse ascendexOpenOrdersResponse) static OpenOrdersadaptOpenOrders(List<AscendexOpenOrdersResponse> ascendexOpenOrdersRespons) static OrderBookadaptOrderBook(AscendexOrderbookDto ascendexOrderbookDto) static TradesadaptTrades(AscendexMarketTradesDto marketTradesDto) static UserTradesadaptUserTrades(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
-