data-routing

Routes financial data requests to the appropriate provider based on availability and environment configuration.

Updated Jun 30, 2026
One-click install
npx skills add https://github.com/20YN04/vibe-trading-macos --skill data-routing-20yn04
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: data-routing
Source: https://github.com/20YN04/vibe-trading-macos/tree/main/agent/src/skills/data-routing
Command: npx skills add https://github.com/20YN04/vibe-trading-macos --skill data-routing-20yn04

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill solves the fragmentation of financial data sources by providing a centralized router that automatically selects the best available provider based on the user's data needs, authentication status, and network environment.

Core Features & Use Cases

  • Intelligent Source Selection: Automatically maps data requests to the most reliable provider, such as choosing between tencent or mootdx for A-shares to avoid IP bans.
  • Capability-Based Routing: Routes specific financial needs like OHLCV, fund flow, or SEC filings to the correct tool and handles necessary environment key requirements.
  • Resilient Fallback: Implements automatic fallback mechanisms to ensure that if one data source fails or is throttled, the agent seamlessly switches to an alternative without aborting the task.

Quick Start

Use the data-routing skill to identify the optimal source and tool for fetching OHLCV price bars for a list of A-share symbols.

Frequently Asked Questions about data-routing

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

FAQPage Schema
How do I route financial data requests to the best provider automatically?

Financial data routing maps requests to the optimal provider by matching data needs with available tools and environment configurations. It evaluates authentication status and network conditions to select the most reliable source for the specific market.

How does automated fallback logic work when a financial data source fails?

Automated fallback logic ensures operational continuity by seamlessly switching to an alternative data source if the primary provider fails or is throttled. This mechanism prevents task abortion during backtesting or research across A-share, US, HK, and crypto markets.

How do I avoid IP bans when fetching A-share OHLCV market data?

To avoid IP bans when fetching A-share data, intelligent source selection automatically routes requests between providers like tencent and mootdx. This capability-based routing evaluates network environment and provider reliability to ensure uninterrupted data access.

Do I need specific API keys to fetch SEC filings and fund flow data?

Yes, fetching specific financial data like SEC filings or fund flow requires strict adherence to environment API key requirements. The routing mechanism checks authentication status and handles necessary key configurations before routing to the correct tool.

What is the best way to manage multiple market data APIs for backtesting?

Managing multiple market data APIs for backtesting is best handled through a centralized router that implements capability-based routing. It directs specific needs like OHLCV bars to the correct tool and manages source selection across A-share, US, HK, and crypto markets.

Why does my trading agent abort research tasks when a data provider is throttled?

Research tasks abort when throttled if no fallback mechanism exists. Implementing a centralized data router with resilient fallback logic ensures the agent seamlessly switches to an alternative provider, maintaining operational continuity without aborting the task.