Pular para o conteúdo
Skillpedia
Análise e planilhas37 mil · #7509

data-routing

O que ela faz

Esta skill é um guia de roteamento que associa cada tipo de pedido de dados financeiros à fonte que melhor atende a ele. É para quem executa backtests ou pesquisas no kit Vibe-Trading e quer dados confiáveis.

Quando usar

  • ✓Quando você está prestes a executar um backtest, buscar dados de mercado ou iniciar uma pesquisa financeira.
  • ✓Quando você precisa saber qual fonte de dados cobre um determinado mercado.
  • ✓Quando uma fonte de dados precisa de chave e você quer conferir se ela está configurada antes da execução.

Link da skill

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

Copie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.

Como usar

O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.

Mensagem pronta para colar

Use esta skill para me ajudar: https://github.com/HKUDS/Vibe-Trading/blob/main/agent/src/skills/data-routing/SKILL.md Leia o arquivo SKILL.md desse link e siga as instruções dele na minha tarefa.
Quer que a sua IA encontre skills como esta sozinha?Instale o MCP grátis do Skillpedia: uma linha, e ela pesquisa entre 15.000+ skills antes de cada tarefa.Instalar em 1 minuto →

Exemplo do que pedir para a IA

“Qual fonte de dados devo usar para obter preços diários de ações A e ações dos EUA, e preciso de uma chave para ela?”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

O agente confere a tabela de fontes para os mercados e tipos de dados que você precisa, verifica se cada fonte exige uma chave de acesso e escolhe a melhor opção. Depois usa essa fonte para o backtest ou para a coleta de dados.

Conteúdo técnico (SKILL.md original)

Texto original do autor, em inglês, direto do GitHub.

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.

Source Markets Auth (env key) Network Skill
tushare A-shares, funds, futures, macro Yes (TUSHARE_TOKEN) China network tushare
akshare A-shares, US, HK, futures, macro, forex No Unrestricted akshare
yfinance US, HK, Canada (TSX/TSXV) stocks, ETFs No Needs Yahoo access yfinance
okx Crypto (OKX exchange) No Needs okx.com access okx-market
nobitex Crypto, IRT/Toman-quoted pairs (BTC-IRT, USDT-IRT — Iran market premium) No Needs apiv2.nobitex.ir access data-routing (explicit *IRT routing only)
wallex Crypto, TMN/Toman-quoted pairs (USDT-TMN, BTC-TMN — Iran market premium) No Needs api.wallex.ir access data-routing (explicit *TMN routing only; truly serves 1m/1h/1d)
ccxt Crypto (100+ exchanges) No Needs exchange access ccxt
baostock A-shares (free daily/min) No China network data-routing
tencent A-shares, HK, US (never-banned) No Unrestricted data-routing
mootdx A-shares (retired 2026-10: TDX servers stopped answering the client protocol; explicit source="mootdx" only) No China network data-routing
futu A/HK/US via OpenD gateway Yes (OpenD running) Local gateway data-routing (runner-internal)
mt5 Forex & metals (your broker's MT5 feed) Yes (running, logged-in MT5 terminal; optional ~/.vibe-trading/mt5.json) Local terminal (Windows) data-routing (runner-internal)
tickerall Forex & metals (same broker MT5 feed, hosted) Yes (TICKERALL_API_KEY + TICKERALL_ACCOUNT_ID; read-only) Hosted API (any OS, no terminal) data-routing (runner-internal; explicit source=tickerall only)
local User CSV/parquet on disk No Offline data-routing (runner-internal)
eastmoney A-shares, HK, US equities No (IP-throttled) Unrestricted data-routing
sina US equities (daily OHLCV) No (IP-throttled) Unrestricted data-routing
stooq US equities (daily OHLCV) No Unrestricted data-routing
yahoo US, HK, Canada (TSX/TSXV) equities No (IP-throttled) Needs Yahoo access data-routing
finnhub US equities Yes (FINNHUB_API_KEY) Unrestricted data-routing
alphavantage US equities Yes (ALPHAVANTAGE_API_KEY) Unrestricted data-routing
tiingo US equities Yes (TIINGO_API_KEY) Unrestricted data-routing
fmp US equities Yes (FMP_API_KEY) Unrestricted data-routing
gildata A-shares (前复权 dailies), HK equities (raw), CN indices Yes (GILDATA_TOKEN / Settings) Gildata MCP API data-routing
qveris Global multi-asset (paid, credits) Yes (QVERIS_API_KEY / Settings) QVeris API qveris <!-- QVERIS-INTEGRATION -->

Capability → Tool Routing

Pick the tool by the data need. "Market" is the universe the tool covers; "Env key" is required only where listed (no key listed = free / no auth).

Data need Tool Market Env key
OHLCV price bars get_market_data A-share / US / HK / Canada / crypto / futures / forex per-source (see Source Overview)
Fund flow (资金流向) get_fund_flow A-share, HK, US —
Dragon-tiger (龙虎榜) get_dragon_tiger A-share —
Northbound flow (北向资金) get_northbound_flow A-share —
Margin trading (融资融券) get_margin_trading A-share —
Block trades (大宗交易) get_block_trades A-share —
Shareholder count (股东户数) get_shareholder_count A-share —
Lockup expiry (限售解禁) get_lockup_expiry A-share —
Sector / board taxonomy (板块) get_sector_info A-share —
Sell-side research reports get_research_reports A-share —
Stock news get_stock_news A-share, US, HK —
SEC filings (EDGAR) get_sec_filings US —
Financial statements get_financial_statements A-share, US,
Perguntas frequentes

Por que existe um guia de roteamento?

As fontes diferem em mercados cobertos, requisitos de acesso e confiabilidade, então escolher a certa evita coletas que falham ou são inseguras.

E as fontes que exigem chave?

A skill informa a variável de ambiente que cada chave usa, para que o agente possa confirmar que ela está definida.

Ele evita fontes arriscadas?

Sim. Ele marca provedores com maior risco de bloqueio, para que o agente possa evitá-los.

Detalhes

Descrição original do autor

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.

repo: HKUDS/Vibe-Trading

Popularidade

Estrelas no GitHub
37 mil
Posição no ranking
#7509
Licença
MIT
Atualizada em
01/11/2026

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Mais skills deste repositório

Skills parecidas