# Data Routing

The single ROUTER for every data need.

- Repository: https://github.com/HKUDS/Vibe-Trading (37375 stars)
- Category: Writing
- License: MIT
- Last updated: 2026-11-01
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add HKUDS/Vibe-Trading --skill data-routing -g -a claude-code -y`
Codex: `npx skills add HKUDS/Vibe-Trading --skill data-routing -g -a codex -y`
Cursor: `npx skills add HKUDS/Vibe-Trading --skill data-routing -g -a cursor -y`
Gemini CLI: `npx skills add HKUDS/Vibe-Trading --skill data-routing -g -a gemini-cli -y`

## Description

The single ROUTER for every data need. Load this skill BEFORE any backtest, data-fetch, or research task to pick the best available source/tool, honour auth (env) requirements, and avoid ban-risk providers.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# Data Routing (Router)

This is the one router. It maps (a) every registered backtest data **source** to its
markets / auth / skill, and (b) every research **data need** to the concrete **tool**
that serves it, its market, and the env key it requires. Source names below are a
strict subset of `backtest.loaders.registry.VALID_SOURCES` (enforced by
`tests/test_data_routing_sources_subset.py`).

## Source Overview

Every name here is a registered OHLCV/backtest source in `VALID_SOURCES`.
"Runner-internal" sources are selected by the backtest runner, not authored as a
per-source skill.

The rest: https://github.com/HKUDS/Vibe-Trading/blob/HEAD/agent/src/skills/data-routing/SKILL.md
