data-routing

Automate data source selection for backtesting and live data workflows.

Updated May 15, 2026
One-click install
npx skills add https://github.com/philipcoller-777/Vibe-Trading-TV2 --skill data-routing-philipcoller-777
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: data-routing
Source: https://github.com/philipcoller-777/Vibe-Trading-TV2/tree/main/agent/src/skills/data-routing
Command: npx skills add https://github.com/philipcoller-777/Vibe-Trading-TV2 --skill data-routing-philipcoller-777

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Data source selection for backtests and live data fetches is error-prone and time-consuming; this Skill provides a deterministic method to pick the best available data source.

Core Features & Use Cases

  • Decision-tree guidance to pick among tushare, akshare, yfinance, okx, and ccxt based on market and access.
  • Automatic fallback to secondary sources when the primary is unavailable, reducing manual intervention.
  • Use case: When preparing a backtest across US stocks and macro data, the skill selects the appropriate data source and loads it for the runner.

Quick Start

Load this skill before any backtest or data-fetching task to automatically select the best available data source.

Frequently Asked Questions about data-routing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate data source selection for backtesting across multiple markets?

Automate data source selection by using a decision-tree mechanism that checks market type and environment availability, applying a built-in fallback sequence to pick the best source for backtests.

What is the best way to handle data source fallbacks when fetching market data?

The best way to handle fallbacks is implementing an automatic sequence that switches to secondary sources like akshare or yfinance when the primary data source is unavailable.

Does this data routing approach support crypto and macro data environments?

Yes, this data routing approach supports crypto and macro data environments, automatically detecting market types to select appropriate sources like okx and ccxt for crypto workflows.

How do I prepare a backtest data fetch for US stocks and macro data?

Prepare a backtest data fetch by loading the routing logic before the task; it selects the appropriate data source for US stocks and macro data, then loads it for the runner.

Why does my backtest fail due to unavailable primary market data sources?

Backtests fail when primary market data sources are unavailable, but automatic fallback to secondary sources reduces manual intervention and ensures deterministic data loading.