data-routing

Route market data requests to prioritized sources like tushare, akshare, yfinance, okx, and ccxt.

Updated Jun 12, 2026
One-click install
npx skills add https://github.com/GGwujun/SigmX --skill data-routing-ggwujun
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: data-routing
Source: https://github.com/GGwujun/SigmX/tree/main/agent/src/skills/data-routing
Command: npx skills add https://github.com/GGwujun/SigmX --skill data-routing-ggwujun

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Data Routing skill helps you automatically select the most suitable data source for a given market and task, ensuring reliable data for backtests.

Core Features & Use Cases

  • Automated source prioritization based on market type and available tokens.
  • Flexible fallbacks and auto-detection to minimize manual configuration.
  • Use Case: when a user runs a backtest for A-shares, the tool picks akshare if tushare token is unavailable and vice versa.

Quick Start

Identify the market type and run the decision logic to route to the best 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 automatically select the best data source for backtesting across different markets?

Automated data-source routing selects the best available data source for backtesting by detecting market type and checking source availability. It prioritizes sources like tushare and akshare for A-shares, yfinance for US stocks, and okx or ccxt for crypto.

Can I run a backtest for A-shares if my tushare token is unavailable?

Yes, you can run an A-shares backtest without a tushare token. The routing logic implements flexible fallbacks, automatically picking akshare as the data source when tushare tokens are unavailable and vice versa.

What is the best way to fetch historical market data without manual configuration?

The best way to fetch historical market data without manual configuration is using a no-configuration default path. The routing mechanism auto-detects the market type and applies prioritized fallback routing to fetch data from available sources.

Does data routing support fetching data for both US stocks and crypto markets?

Yes, data routing supports fetching data for both US stocks and crypto markets. It automatically routes requests to yfinance for US stocks and okx or ccxt for crypto based on the detected market type and analysis needs.

Why does my backtesting workflow need market-type detection for data sourcing?

Backtesting workflows need market-type detection to ensure reliable data sourcing. Identifying whether the target is A-shares, US stocks, HK stocks, or crypto allows the system to automatically select the most suitable source and minimize manual configuration errors.