szwzz/astockpursue/global-indices

Claude Code and agent skill by szwzz/astockpursue

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Global stock index data — S&P 500, DJI, NASDAQ, DAX, FTSE, Nikkei 225, Hang Seng, KOSPI, and more. Free via yfinance.

Install

npx vskill@latest install szwzz/astockpursue/global-indices

SKILL.md

The same SKILL.md was published earlier as szwzz/astockpursue/global-indices.

Global Indices

Overview

Provides OHLCV data and real-time snapshots for 15+ major global stock indices via yfinance. Completely free, no API key required.

The project has a built-in GlobalIndices DataLoader (backtest/loaders/global_indices.py). For backtesting, use source: "global_indices".

Available Indices

US
CodeNameTicker
SPXS&P 500^GSPC
DJIDow Jones Industrial^DJI
IXICNASDAQ Composite^IXIC
NDXNASDAQ 100^NDX
RUTRussell 2000^RUT
Europe
CodeNameTicker
DAXDAX 40^GDAXI
FTSEFTSE 100^FTSE
CACCAC 40^FCHI
STOXXEuro STOXX 50^STOXX50E
Asia
CodeNameTicker
N225Nikkei 225^N225
HSIHang Seng Index^HSI
KOSPIKOSPI^KS11
ASXASX 200^AXJO
SENSEXBSE SENSEX^BSESN
China (offshore ETFs)
CodeNameTicker
CSI300CSI 300 ETF510300.SS
SZ50SSE 50 ETF510050.SS

Usage

Python
python
from backtest.loaders.global_indices import DataLoader, list_indices, get_index_info
# List all indices
all_idx = list_indices()
# List by region
us_idx = list_indices(region="US")
# Fetch historical data
loader = DataLoader()
data = loader.fetch(
codes=["SPX", "DJI", "IXIC"],
start_date="2025-01-01",
end_date="2025-12-31",
interval="1D",
)
# Latest snapshot
latest = loader.fetch_latest() # All indices
us_latest = loader.fetch_latest(codes=["SPX", "DJI", "NDX"])
Agent Tool

Use the market_sentiment tool with indicator="global_indices" to get the latest index snapshot.

Column Format

Returned OHLCV DataFrame follows the standard schema:

  • trade_date (index), open, high, low, close, volume

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/szwzz/astockpursue/global-indices/badge)](https://verified-skill.com/skills/szwzz/astockpursue/global-indices)

Something wrong with this skill or its page? Tell us.