From 344d30f440c95e15ffb13a2d53ed77b4a19e1a41 Mon Sep 17 00:00:00 2001 From: sylyx Date: Thu, 7 May 2026 14:28:20 +0200 Subject: [PATCH] fix(config): use Kraken Futures perpetual symbols (BTC/USD:USD) --- config.yaml | 2 +- src/aitrader/news/sentiment.py | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/config.yaml b/config.yaml index 18acb9c..18f9d1d 100644 --- a/config.yaml +++ b/config.yaml @@ -1,4 +1,4 @@ -pairs: [BTC/EUR, ETH/EUR] +pairs: ["BTC/USD:USD", "ETH/USD:USD"] # Kraken-Futures Perpetuals (USD-margined) interval_minutes: 15 timeframes: [15m, 1h, 4h] ohlcv_limit: 200 diff --git a/src/aitrader/news/sentiment.py b/src/aitrader/news/sentiment.py index e2d81fb..9ad4eb9 100644 --- a/src/aitrader/news/sentiment.py +++ b/src/aitrader/news/sentiment.py @@ -13,10 +13,10 @@ log = get_logger(__name__) _vader = SentimentIntensityAnalyzer() _SYMBOL_TO_CURRENCY = { - "BTC/EUR": "BTC", - "ETH/EUR": "ETH", - "BTC/USD": "BTC", - "ETH/USD": "ETH", + "BTC/EUR": "BTC", "ETH/EUR": "ETH", + "BTC/USD": "BTC", "ETH/USD": "ETH", + "BTC/USD:USD": "BTC", "ETH/USD:USD": "ETH", + "BTC/USD:BTC": "BTC", "ETH/USD:ETH": "ETH", }