From 6500c0f7fecee2a044f2bbe885b9b17d19611567 Mon Sep 17 00:00:00 2001 From: Dmitri Karpovich Date: Mon, 10 Jun 2024 20:56:29 +0200 Subject: [PATCH] [coinex] Fix ticker mapping --- .../src/main/java/org/knowm/xchange/coinex/CoinexAdapters.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xchange-coinex/src/main/java/org/knowm/xchange/coinex/CoinexAdapters.java b/xchange-coinex/src/main/java/org/knowm/xchange/coinex/CoinexAdapters.java index 951c0ea39d8..302bc9385e5 100644 --- a/xchange-coinex/src/main/java/org/knowm/xchange/coinex/CoinexAdapters.java +++ b/xchange-coinex/src/main/java/org/knowm/xchange/coinex/CoinexAdapters.java @@ -175,7 +175,7 @@ public Ticker toTicker(Instrument instrument, CoinexTickerV1 coinexTickerV1, Ins builder .open(coinexTickerV1.getOpen24h()) - .last(coinexTickerV1.getVolume24h()) + .last(coinexTickerV1.getLast()) .bid(coinexTickerV1.getBestBidPrice()) .ask(coinexTickerV1.getBestAskPrice()) .high(coinexTickerV1.getHigh24h())