Yahoo Finance FOREX
Fetches real-time FOREX news and market data from Yahoo Finance for major currency pairs (EUR/USD, GBP/USD, USD/JPY, etc.). Analyzes sentiment and provides trading context.
Fetches real-time FOREX news and market data from Yahoo Finance for major currency pairs (EUR/USD, GBP/USD, USD/JPY, etc.). Analyzes sentiment and provides trading context.
Real data. Real impact.
Emerging
Developers
Per week
Open source
Skills give you superpowers. Install in 30 seconds.
Analyze major FOREX pairs using Yahoo Finance data: news, market data, sentiment analysis.
7 Major Pairs:
python3 scripts/fetch_forex_news.py EURUSD --limit 10
Output:
{ "pair": "EURUSD", "current_rate": 1.10250, "change_pct": 0.136, "news": [ { "title": "ECB maintains hawkish stance on rates", "published": "2026-02-02 14:30:00", "publisher": "Reuters" } ], "sentiment": { "pair_sentiment": 3, "recommendation": "BUY" } }
User: "What's happening with EUR/USD?"
Your Action:
python3 scripts/fetch_forex_news.py EURUSD --limit 8The script automatically calculates sentiment based on keywords:
Bullish Keywords: strengthens, rallies, hawkish, rate hike, growth Bearish Keywords: weakens, falls, dovish, rate cut, recession
Sentiment Score:
Always include:
Usage:
python3 scripts/fetch_forex_news.py <PAIR> [--limit N]
Arguments:
<PAIR>: Currency pair (EURUSD, GBPUSD, USDJPY, USDCHF, AUDUSD, USDCAD, NZDUSD)--limit N: Number of news articles to fetch (default: 10, max: 50)Output Fields:
pair: Currency pair codecurrent_rate: Current exchange ratechange_pct: 24h percentage changenews[]: Array of news articles
title: Article headlinepublished: Publication timestamppublisher: News sourcelink: Article URL (optional)sentiment: Sentiment analysis
pair_sentiment: Sentiment score (-10 to +10)recommendation: BUY/SELL/HOLDpython3 scripts/fetch_forex_news.py EURUSD --limit 5
python3 scripts/fetch_forex_news.py GBPUSD --limit 8
When analyzing FOREX pairs, consider these central banks:
See
/references directory for:
api-examples.md: Detailed usage examplesforex-pairs.md: Complete pairs reference with Yahoo Finance symbolssentiment-guide.md: Sentiment calculation methodologyScript fails to run:
pip install yfinance>=0.2.40No news returned:
Rate data missing:
For issues or questions:
No automatic installation available. Please visit the source repository for installation instructions.
View Installation Instructions1,500+ AI skills, agents & workflows. Install in 30 seconds. Part of the Torly.ai family.
ยฉ 2026 Torly.ai. All rights reserved.