From 928c9524b9ecb0900d489c27e51733bd1aed20f6 Mon Sep 17 00:00:00 2001 From: francitoshi <129845410+francitoshi@users.noreply.github.com> Date: Tue, 7 May 2024 11:50:20 +0200 Subject: [PATCH] Update TradeOgreAdapters.java fix the CurrencyPair that is buiding wrong using COUNTER-BASE and should be BASE-COUNTER --- .../java/org/knowm/xchange/tradeogre/TradeOgreAdapters.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xchange-tradeogre/src/main/java/org/knowm/xchange/tradeogre/TradeOgreAdapters.java b/xchange-tradeogre/src/main/java/org/knowm/xchange/tradeogre/TradeOgreAdapters.java index fe2ea703af4..a592aafa7a2 100644 --- a/xchange-tradeogre/src/main/java/org/knowm/xchange/tradeogre/TradeOgreAdapters.java +++ b/xchange-tradeogre/src/main/java/org/knowm/xchange/tradeogre/TradeOgreAdapters.java @@ -23,7 +23,7 @@ public class TradeOgreAdapters { public static String adaptCurrencyPair(CurrencyPair currencyPair) { - return currencyPair.counter.toString() + "-" + currencyPair.base.toString(); + return currencyPair.base.toString() + "-" + currencyPair.counter.toString(); } public static CurrencyPair adaptTradeOgreCurrencyPair(String currencyPair) {