Gold Fundamental Analysis for Openclaw

An automated AI agent skill that aggregates and analyzes macroeconomic indicators, COT positioning, and ETF flows to score and forecast gold market fundamentals.

kimminhpro
v1.0.0
Jun 15, 2026
0
578
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install gold-fundamental-analysis

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install gold-fundamental-analysis using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Gold Fundamental Analysis?

The Gold Fundamental Analysis skill is a high-performance market intelligence tool built for AI agents. By utilizing Openclaw Skills, developers can programmatically fetch, consolidate, and analyze key gold macroeconomic indicators from premier sources like the Federal Reserve Bank (FRED), CFTC Commitments of Traders (COT), SPDR ETF holdings, and Fed RSS feeds. This skill is critical for traders and automated agents requiring structured fundamental insight before making market decisions.

Rather than manually tracking multiple disjointed financial portals, this skill standardizes data ingestion and executes an advanced financial scoring system. It factors in interest rates, real yields, inflation indexes, dollar strength, and investor positioning to generate a consolidated, actionable fundamental report. It serves as an essential building block in modern AI trading setups developed with Openclaw Skills.

Gold Fundamental Analysis Use Cases

  • Automated Market Reports: Run automated cron jobs for Asian, European, and US trading sessions that incorporate fresh fundamental sentiment.
  • Algorithmic Trading Input: Feed quantitative models with a consolidated Fundamental Score ranging from -100 to +100.
  • On-Demand Trader Inquiries: Empower users to query their AI agents directly with questions like "phân tích cơ bản vàng" or "gold fundamental analysis" to receive instant structured briefs.
  • Risk Management Alerts: Monitor extreme COT positioning or looming high-impact Fed announcements to dynamically adjust portfolio risk.

How Gold Fundamental Analysis Works

  1. Data Ingestion: The integrated Python script queries FRED APIs, scrapes SPDR GLD assets, reads CFTC COT data tables, and parses ForexFactory schedules.
  2. Multi-Pillar Evaluation: Evaluates 7 core pillars: Fed Policy, Inflation, Real Yield, DXY, ETF Flows, COT Positioning, and Upcoming Events.
  3. Fundamental Scoring: Applies built-in mathematical guidelines to assign positive or negative point weightings based on macroeconomic configurations.
  4. Confidence Matrix Generation: Evaluates data freshness and availability to assign a reliability rating between 0% and 100%.
  5. Structured Localized Output: Generates an actionable, structured report in Vietnamese containing clear Bullish, Bearish, and Neutral indicators, alongside short, medium, and long-term forecasts.

Gold Fundamental Analysis Setup

Prerequisites

Make sure your environment has Python 3 and the required dependencies installed. You will also need a FRED API key.

Running the Data Fetcher

Run the data fetcher script directly to acquire current market fundamentals:

python3 scripts/get_gold_fundamental_data.py

Environment Variables

You can configure the FRED API key via the terminal environment:

export FRED_API_KEY="your_fred_api_key_here"

Or pass it explicitly during script execution:

python3 scripts/get_gold_fundamental_data.py --fred-key your_fred_api_key_here

This skill is fully compatible with broader agent architectures configured through Openclaw Skills.

Gold Fundamental Analysis Data Schema & Taxonomy

The fundamental script aggregates multi-source inputs into structured data objects for the AI agent to consume:

Source Key Metric Update Frequency
FRED API Fed funds rate, CPI, Core CPI, 10-Year real yield, DXY Regular (API-driven)
CFTC COT Managed Money long/short contracts, Net position Weekly (Friday publication)
SPDR GLD Total AUM, NAV, estimated gold metric tonnes Daily (Web scrape)
Fed RSS FOMC monetary policy statements On-demand (30-day window)
ForexFactory High/medium-impact USD events via JSON Live schedule

Analytical Weights

  • Fed Policy Pivot: +/- 20 to 30 points
  • CPI Trends: +/- 10 to 20 points
  • Real Yield Dynamics: +/- 15 to 25 points
  • DXY Shifts: +/- 10 to 15 points
  • ETF & COT Fluxes: +/- 5 to 10 points (Contrarian metrics apply for extreme sentiment)

Gold Fundamental Analysis Advanced Features

  • Contrarian Sentiment Modifiers: Automatically triggers contrarian bullish or bearish adjustments when COT Managed Money net positioning hits extreme thresholds.
  • Volatility Amplification: Automatically inflates indicator weightings by 20% if a major high-impact macro event (e.g., FOMC, NFP) is scheduled within the next 3 days.
  • Confidence Verification Engine: Generates a self-diagnostic confidence score (<50% triggers developer warnings for missing API configurations).
  • Multi-Skill Orchestration: Designed to be chained seamlessly with MT5 market connectivity platforms and Financial Astrology calculations within unified automated workflows enabled by Openclaw Skills.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*