本文へスキップ
Skillpedia
分析とスプレッドシート37k · #7509

data-routing

できること

このスキルは、各種の金融データのリクエストを、それに最も適したソースに結び付けるルーティングのガイドです。Vibe-Tradingツールキットでバックテストやリサーチを行い、信頼できるデータがほしい人向けです。

使う場面

  • ✓バックテストの実行、市場データの取得、金融リサーチの開始をしようとするとき。
  • ✓特定の市場をどのデータソースがカバーしているかを知りたいとき。
  • ✓キーが必要なデータソースで、実行前に設定が済んでいるか確認したいとき。

スキルのリンク

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

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/HKUDS/Vibe-Trading/blob/main/agent/src/skills/data-routing/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“A株と米国株の日次価格を取得するには、どのデータソースを使うべきですか?そのためにキーは必要ですか?”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは、必要な市場とデータの種類について、ソースの表を確認します。各ソースにアクセスキーが必要かどうかを記し、最適なものを選びます。その後、そのソースをバックテストやデータ取得に使います。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)を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,
よくある質問

なぜルーティングのガイドがあるのですか?

ソースはカバーする市場、アクセス条件、信頼性が異なるため、適切なものを選ぶと、失敗したり安全でない取得を避けられたりするからです。

キーが必要なソースはどうしますか?

このスキルは、各キーが使う環境変数の名前を挙げるので、エージェントはそれが設定されているか確認できます。

危険なソースは避けますか?

はい。アクセスが遮断されるリスクが高いプロバイダーを印付けするので、エージェントはそれを避けられます。

詳細

作者による元の説明

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

人気

GitHubのスター
37k
ランキング
#7509
ライセンス
MIT
更新日
2026/11/1

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル