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.
What this skill does
# Yahoo Finance FOREX
Analyze major FOREX pairs using Yahoo Finance data: news, market data, sentiment analysis.
## When to Use This Skill
- User asks about FOREX pairs (EUR/USD, GBP/USD, USD/JPY, etc.)
- User wants latest FOREX news or market sentiment
- User needs fundamental analysis for currency trading
- User asks "What's happening with EUR/USD?" or similar
## Supported Currency Pairs
**7 Major Pairs:**
- EUR/USD πͺπΊπΊπΈ (Euro Dollar)
- GBP/USD π¬π§πΊπΈ (Cable)
- USD/JPY πΊπΈπ―π΅ (Dollar Yen)
- USD/CHF πΊπΈπ¨π (Swissy)
- AUD/USD π¦πΊπΊπΈ (Aussie)
- USD/CAD πΊπΈπ¨π¦ (Loonie)
- NZD/USD π³πΏπΊπΈ (Kiwi)
## Quick Start
### Fetch FOREX News
```bash
python3 scripts/fetch_forex_news.py EURUSD --limit 10
```
**Output:**
```json
{
"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"
}
}
```
## Workflow
### 1. User Asks About FOREX
**User:** "What's happening with EUR/USD?"
**Your Action:**
1. Run: `python3 scripts/fetch_forex_news.py EURUSD --limit 8`
2. Parse the JSON output
3. Analyze the sentiment and news
4. Provide a summary with:
- Current rate and change
- Key news headlines
- Sentiment analysis (bullish/bearish)
- Trading context (support/resistance if available)
### 2. Analyze Sentiment
The 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:**
- Positive (> 2): Bullish for the pair
- Negative (< -2): Bearish for the pair
- Near zero: Neutral
### 3. Provide Context
Always include:
- **Fundamentals:** What central banks are doing (ECB, Fed, BoJ, etc.)
- **News Impact:** How recent news affects the pair
- **Technical Context:** Current price vs support/resistance (if available)
## Script Reference
### fetch_forex_news.py
**Usage:**
```bash
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 code
- `current_rate`: Current exchange rate
- `change_pct`: 24h percentage change
- `news[]`: Array of news articles
- `title`: Article headline
- `published`: Publication timestamp
- `publisher`: News source
- `link`: Article URL (optional)
- `sentiment`: Sentiment analysis
- `pair_sentiment`: Sentiment score (-10 to +10)
- `recommendation`: BUY/SELL/HOLD
## Examples
### Get EUR/USD Analysis
```bash
python3 scripts/fetch_forex_news.py EURUSD --limit 5
```
### Get GBP/USD News
```bash
python3 scripts/fetch_forex_news.py GBPUSD --limit 8
```
## Central Bank Focus
When analyzing FOREX pairs, consider these central banks:
- **EUR/USD**: ECB (European Central Bank) vs Fed (Federal Reserve)
- **GBP/USD**: BoE (Bank of England) vs Fed
- **USD/JPY**: Fed vs BoJ (Bank of Japan)
- **USD/CHF**: Fed vs SNB (Swiss National Bank)
- **AUD/USD**: RBA (Reserve Bank of Australia) vs Fed
- **USD/CAD**: Fed vs BoC (Bank of Canada)
- **NZD/USD**: RBNZ (Reserve Bank of New Zealand) vs Fed
## Best Practices
1. **Always fetch news first** before making analysis
2. **Check sentiment score** to understand market bias
3. **Read headlines** to identify key drivers
4. **Consider fundamentals** (interest rates, economic data, geopolitics)
5. **Provide balanced analysis** - acknowledge both bullish and bearish factors
6. **Mention risk factors** - volatility, upcoming events, technical levels
## Reference Files
See `/references` directory for:
- `api-examples.md`: Detailed usage examples
- `forex-pairs.md`: Complete pairs reference with Yahoo Finance symbols
- `sentiment-guide.md`: Sentiment calculation methodology
## Limitations
- News data may have slight delays (1-5 minutes)
- Sentiment is keyword-based, not deep NLP analysis
- Historical data limited to recent news (last 7-14 days typically)
- No real-time tick data (only periodic updates)
## Troubleshooting
**Script fails to run:**
- Ensure Python 3.7+ is installed
- Install yfinance: `pip install yfinance>=0.2.40`
**No news returned:**
- Check internet connection
- Verify pair symbol is correct
- Try different pair or reduce limit
**Rate data missing:**
- Yahoo Finance API may be temporarily unavailable
- Try again in a few minutes
## Support
For issues or questions:
- GitHub: https://github.com/nazimboudeffa/openclaw-yahoo-finance-forex
- Report bugs via GitHub Issues
Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.