data-routing

Select market data providers for trading symbols during backtest configuration.

Updated Apr 10, 2026
One-click install
npx skills add https://github.com/ebrahim-sani/trading-automation --skill data-routing-ebrahim-sani
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: data-routing
Source: https://github.com/ebrahim-sani/trading-automation/tree/main/vibe-trading/agent/src/skills/data-routing
Command: npx skills add https://github.com/ebrahim-sani/trading-automation --skill data-routing-ebrahim-sani

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Users must manually choose which market data provider to use for different symbols, leading to configuration errors and wasted time. This skill automatically determines the best source, removing guesswork and simplifying setup.

Core Features & Use Cases

  • Decision tree that maps symbol patterns to providers such as tushare, akshare, yfinance, okx, and ccxt.
  • Automatic checks for required tokens, network accessibility, and fallback chains.
  • Seamless integration during backtest configuration and analysis scripts to ensure reliable data retrieval.

Quick Start

Request the data-routing skill to choose the source for symbol "AAPL.US" before launching a backtest.

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 a market data provider for backtesting?

Automatically select a market data provider by applying a decision tree that maps symbol patterns to specific sources during backtest configuration and script execution. This routing mechanism checks token availability, network accessibility, and fallback priorities based on market type.

How does fallback routing work for market data sources like tushare and akshare?

Fallback routing for market data sources works by evaluating token availability and network accessibility, then directing symbols to providers like tushare, akshare, or yfinance based on a priority chain tailored to the specific market type.

Can I use yfinance or ccxt for backtesting without manually configuring data sources?

Yes, you can use providers like yfinance or ccxt without manual configuration. The routing mechanism automatically evaluates your symbols and selects the optimal source, ensuring data retrieval respects your current network restrictions and available tokens.

What is the best way to route crypto symbols to okx during script execution?

The best way to route crypto symbols to okx is to let the automatic data routing mechanism evaluate the symbol pattern. It determines the appropriate provider during script execution, ensuring selection respects token availability and network accessibility.

Why does my market data source selection fail during backtest configuration?

Market data source selection fails during backtest configuration when required tokens are missing or network restrictions block access to the designated provider. The routing mechanism checks these constraints and automatically applies a fallback chain based on market type.

Do I need a tushare token to automatically route market data for trading analysis?

You need a tushare token only if the automatic data routing selects tushare as the optimal provider for your specific symbols. The mechanism checks token availability and seamlessly applies fallback priorities to other sources if required tokens are absent.