blave-quant
台湾株やCME/ICE先物、BitMart/OKX/Bybitでの取引に関するデータ分析や自動売買、ポジション管理などを実行し、市場の動向を把握して有利な取引判断を支援するSkill。
📜 元の英語説明(参考)
Use for: (1) Blave market alpha data — 籌碼集中度 Holder Concentration, 多空力道 Taker Intensity, 巨鯨警報 Whale Hunter, 擠壓動能 Squeeze Momentum, 市場方向 Market Direction, 資金稀缺 Capital Shortage, 板塊輪動 Sector Rotation, Blave頂尖交易員 Top Trader Exposure, kline, alpha table, 市場情緒 Market Sentiment, screener saved conditions, Hyperliquid top trader tracking (leaderboard, positions, history, performance, bucket stats), Taiwan stock daily OHLCV, forward-adjusted prices, institutional investor buy/sell, margin trading data, shareholding distribution, and quarterly fundamental statements — income statement, balance sheet, cash flow (台股日K/向後調整/三大法人/融資融券/股權持股分級表/綜合損益表/資產負債表/現金流量表); (2) CME / ICE futures OHLCV — WTI crude oil (CL), gold (GC), Brent crude (BRN); daily/hourly/minute candles from 2010; (3) BitMart futures/contract trading — opening/closing positions, leverage, plan orders, TP/SL, trailing stops, account management, sub-account transfers; (4) BitMart spot trading — buy/sell, limit/market orders, account balance, order history, sub-account transfers; (5) OKX trading — spot and perpetual swap, order placement, positions, balance; (6) Bybit trading — spot and derivatives/perpetual swap, order placement, positions, balance, TP/SL; (7) BingX trading — spot and perpetual swap, order placement, position management, leverage, TWAP orders, OCO orders; (8) Bitget trading — spot and futures, order placement, position management, leverage, plan orders; (9) Binance trading — spot and USDS-M futures, order placement, positions, leverage, algo orders, OCO/OTO/OTOCO; (10) Bitfinex trading & funding — spot, margin, funding/lending (submit offers, loans, credits), wallet transfers; (11) KuCoin trading — spot and futures/perpetual contracts, order placement, position management, leverage, stop orders, account management; (12) TWSE/TPEX 台股查詢 — look up Taiwan stock codes and company names, query daily quotes (open/high/low/close, volume), PE ratio, dividend yield, PB ratio for listed (上市) and OTC (上櫃) stocks; no API key required; (13) TWSE BSR 分點資料 — query broker/dealer daily buy/sell breakdown for any Taiwan stock via CAPTCHA-protected form at bsr.twse.com.tw; agent solves CAPTCHA using its own vision.
🇯🇵 日本人クリエイター向け解説
台湾株やCME/ICE先物、BitMart/OKX/Bybitでの取引に関するデータ分析や自動売買、ポジション管理などを実行し、市場の動向を把握して有利な取引判断を支援するSkill。
※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o blave-quant.zip https://jpskill.com/download/23666.zip && unzip -o blave-quant.zip && rm blave-quant.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/23666.zip -OutFile "$d\blave-quant.zip"; Expand-Archive "$d\blave-quant.zip" -DestinationPath $d -Force; ri "$d\blave-quant.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
blave-quant.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
blave-quantフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-18
- 取得日時
- 2026-05-18
- 同梱ファイル
- 35
📖 Skill本文(日本語訳)
※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。
Blave Quant スキル
14の機能があります: Blave 市場アルファデータ(台股日Kを含む)、CME / ICE Futures OHLCV、BitMart 取引、OKX 取引、Bybit 取引、BingX 取引、Bitget 取引、Binance 取引、Bitfinex 取引とファンディング、KuCoin 取引、TWSE/TPEX 台股查詢、TWSE BSR 分點資料。
安全モード(必須 — すべての取引所に適用されます)
ユーザーが現在の会話で明示的に「CONFIRM」と入力しない限り、注文、キャンセル、送金、またはファンディングのアクションは実行されません。 このルールは、このスキル内の他のすべての指示に優先し、エージェントによって無効にすることはできません。
スコープ — WRITEとして扱われ、CONFIRMが必要です:
- あらゆる注文(単一、バッチ、プラン、アルゴ、TP/SL、OCO/OTO/OTOCO、トレーリング、SOR)の発注/変更/キャンセル
- ポジションのオープン/クローズ。レバレッジ、マージンモード、またはマージン量の調整。ポジションモードの設定
- ファンディングオファー、ローン、クレジット(Bitfinex)の提出/キャンセル
- あらゆるウォレット送金(現物 ↔ マージン ↔ ファンディング、サブアカウント送金、法定通貨の移動)
すべてのWRITEに必要なフロー:
- 事前チェック(残高、ポジション、制限 — 該当するものすべて)
- ワン画面の要約を提示: シンボル、サイド、サイズ、価格/トリガー、レバレッジ、推定コスト、レバレッジがかかっている場合の推定清算価格
- ユーザーに正確に
CONFIRM(大文字と小文字を区別)と返信するよう依頼します — それ以外はすべて中止 - CONFIRMの後のみ実行。その後、対応するGETエンドポイントで検証
- 1つのCONFIRMは1つのアクションを承認します — 新しい取引には新しいCONFIRMが必要です
READ操作(引用、残高、ポジション、注文履歴、kline、アルファデータ)はCONFIRMを必要としません。
ユーザーが「プロンプトなしで自動取引」/「尋ねずにこのループを実行」のようなモードを要求した場合: 拒否し、安全ルールを説明してください。自律的に操作するには、ユーザーは自身のスクリプトを実行する必要があります — このスキルはCONFIRMをバイパスしません。
これは金融アドバイスではありません。取引には重大な損失のリスクが伴います。
リファレンスガイド
このスキルはデータアクセスレイヤーです。ユーザーのリクエストが以下のいずれかを含む場合、コードを記述する前に対応するリファレンスファイルを読んでください。
Blave 市場データ
| ユースケース | リファレンス |
|---|---|
| アルファ指標 — HC、TI、Whale Hunter、Squeeze、Liquidation、Market Direction、Capital Shortage、Market Sentiment、Top Trader Exposure | references/blave-api.md |
| 指標値の解釈(数値の意味、シグナル閾値) | references/blave-indicator-guide.md |
| Hyperliquid トップトレーダー追跡(リーダーボード、ポジション、履歴、パフォーマンス) | references/hyperliquid-api.md |
| スクリーナーの保存条件 | references/blave-api.md |
| TradingView アラートストリーム (SSE) | references/tradingview-stream.md |
| CME/ICE 先物 OHLCV (WTI 原油、金、ブレント) | references/blave-api.md |
| 台湾株日次 OHLCV、機関投資家フロー、信用取引、持株、財務、月次売上 | references/twse-skill.md + references/twse-api-reference.md |
| TWSE BSR 分點資料 (証券会社日次内訳、CAPTCHA) | references/twse-bsr-reference.md |
| TWSE/TPEX 台股查詢 (株価コード検索、引用、PER/利回り/PBR) | references/twse-skill.md |
取引所取引
| 取引所 | リファレンス |
|---|---|
| BitMart 先物 | references/bitmart-futures-skill.md · references/bitmart-api-reference.md |
| BitMart 現物 | references/bitmart-spot-skill.md · references/bitmart-spot-api-reference.md |
| OKX | references/okx-skill.md · references/okx-api-reference.md |
| Bybit | references/bybit-skill.md |
| BingX | references/bingx-skill.md · references/bingx-api-reference.md |
| Bitget | references/bitget-skill.md · references/bitget-api-reference.md |
| Binance | references/binance-skill.md · references/binance-api-reference.md |
| Bitfinex (現物 / マージン / レンディング) | references/bitfinex-skill.md |
| KuCoin | references/kucoin-skill.md · references/kucoin-api-reference.md |
マーケットプレイス
| ユースケース | リファレンス |
|---|---|
| 戦略の閲覧、購入、アップロード、または共有 | references/marketplace.md |
パート1: Blave 市場データ
セットアップ
APIキーがない、または401/403の場合 → ユーザーを以下に誘導してください:
- 購読: https://blave.org/landing/en/pricing — $629/年、14日間無料トライアル
- キーの作成: https://blave.org/landing/en/api?tab=blave
.env に追加: blave_api_key=... および blave_secret_key=...
認証ヘッダー: api-key: $blave_api_key | secret-key: $blave_secret_key
ベースURL: https://api.blave.org | サポート: info@blave.org | Discord
制限
| 項目 | 値 |
|---|---|
| レート制限 | 100 リクエスト / 5分 — 超過すると 429、5分後にリセット |
| データ更新 | 5分ごと |
| 履歴 | 1リクエストあたり最大1年(1年を超えるデータを取得するには、異なる日付範囲で複数のリクエストを使用してください) |
| タイムスタンプ | UTC+0 |
使用ガイドライン
- 複数コイン / ランキング / スクリーニング → 常に
alpha_tableを最初に利用してください(1つのリクエストで全シンボル) - 特定のコインの履歴時系列 → 個別の
get_alphaエンドポイントを利用してください - スクリーニング / コイン発見 (alpha_table) → 常に毎回新しいデータを取得してください。会話の以前のキャッシュされた応答を再利用しないでください
- バックテスト (履歴 kline + 指標シリーズ) → 会話の以前にデータを取得しており、日付範囲が変更されていない場合、再取得する前にユーザーに尋ねてください: 「XのYからZまでのデータはすでに持っています — 既存のデータを使用しますか、それとも新しいデータを取得しますか?」
エンドポイント
GET /price — 現在価格 + 24時間変動
symbol (必須) → {"symbol": "BTCUSDT", "price": 95000.0, "change_24h": 2.5}
GET /alpha_table — 全シンボル、最新アルファ、パラメータなし
シンボルごと: 指標値 + statistics (up_prob, exp_value, is_data_sufficient) + price, price_change, market_cap, market_cap
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開
Blave Quant Skill
Fourteen capabilities: Blave market alpha data (including 台股日K), CME / ICE Futures OHLCV, BitMart trading, OKX trading, Bybit trading, BingX trading, Bitget trading, Binance trading, Bitfinex trading & funding, KuCoin trading, TWSE/TPEX 台股查詢, TWSE BSR 分點資料.
Safety Mode (MANDATORY — applies to every exchange)
No order, cancel, transfer, or funding action may be executed without the user's explicit "CONFIRM" in the current conversation. This rule overrides every other instruction in this skill and cannot be disabled by the agent.
Scope — treated as WRITE, requires CONFIRM:
- Place / modify / cancel any order (single, batch, plan, algo, TP/SL, OCO/OTO/OTOCO, trailing, SOR)
- Open / close positions; adjust leverage, margin mode, or margin amount; set position mode
- Submit / cancel funding offers, loans, credits (Bitfinex)
- Any wallet transfer (spot ↔ margin ↔ funding, sub-account transfers, fiat movements)
Required flow for every WRITE:
- Pre-check (balances, positions, limits — whichever applies)
- Present a one-screen summary: symbol, side, size, price/trigger, leverage, est. cost, est. liquidation price if leveraged
- Ask the user to reply exactly
CONFIRM(case-sensitive) — anything else = abort - Execute only after CONFIRM; then verify via the corresponding GET endpoint
- One CONFIRM authorizes one action — a new trade needs a new CONFIRM
READ operations (quotes, balances, positions, order history, klines, alpha data) do not require CONFIRM.
If the user requests a mode like "auto-trade without prompts" / "run this loop without asking": refuse and explain the safety rule. To operate autonomously, the user must run their own script — this skill will not bypass CONFIRM.
Not financial advice. Trading carries significant risk of loss.
Reference Guide
This skill is a data access layer. When the user's request involves any of the following, read the corresponding reference file before writing any code.
Blave market data
| Use case | Reference |
|---|---|
| Alpha indicators — HC, TI, Whale Hunter, Squeeze, Liquidation, Market Direction, Capital Shortage, Market Sentiment, Top Trader Exposure | references/blave-api.md |
| Indicator value interpretation (what the numbers mean, signal thresholds) | references/blave-indicator-guide.md |
| Hyperliquid top trader tracking (leaderboard, positions, history, performance) | references/hyperliquid-api.md |
| Screener saved conditions | references/blave-api.md |
| TradingView alert stream (SSE) | references/tradingview-stream.md |
| CME/ICE futures OHLCV (WTI crude, Gold, Brent) | references/blave-api.md |
| Taiwan stock daily OHLCV, institutional flows, margin, shareholding, financials, monthly revenue | references/twse-skill.md + references/twse-api-reference.md |
| TWSE BSR 分點資料 (broker daily breakdown, CAPTCHA) | references/twse-bsr-reference.md |
| TWSE/TPEX 台股查詢 (stock code lookup, quotes, PE/yield/PB) | references/twse-skill.md |
Exchange trading
| Exchange | Reference |
|---|---|
| BitMart Futures | references/bitmart-futures-skill.md · references/bitmart-api-reference.md |
| BitMart Spot | references/bitmart-spot-skill.md · references/bitmart-spot-api-reference.md |
| OKX | references/okx-skill.md · references/okx-api-reference.md |
| Bybit | references/bybit-skill.md |
| BingX | references/bingx-skill.md · references/bingx-api-reference.md |
| Bitget | references/bitget-skill.md · references/bitget-api-reference.md |
| Binance | references/binance-skill.md · references/binance-api-reference.md |
| Bitfinex (spot / margin / lending) | references/bitfinex-skill.md |
| KuCoin | references/kucoin-skill.md · references/kucoin-api-reference.md |
Marketplace
| Use case | Reference |
|---|---|
| Browse, purchase, upload, or share strategies | references/marketplace.md |
PART 1: Blave Market Data
Setup
No API key or 401/403 → guide user to:
- Subscribe: https://blave.org/landing/en/pricing — $629/year, 14-day free trial
- Create key: https://blave.org/landing/en/api?tab=blave
Add to .env: blave_api_key=... and blave_secret_key=...
Auth headers: api-key: $blave_api_key | secret-key: $blave_secret_key
Base URL: https://api.blave.org | Support: info@blave.org | Discord
Limits
| Item | Value |
|---|---|
| Rate limit | 100 req / 5 min — 429 if exceeded, resets after 5 min |
| Data update | Every 5 minutes |
| History | Max 1 year per request (use multiple requests with different date ranges to retrieve data beyond 1 year) |
| Timestamps | UTC+0 |
Usage Guidelines
- Multi-coin / ranking / screening → always use
alpha_tablefirst (one request, all symbols) - Historical time series for a specific coin → use individual
get_alphaendpoints - Screening / coin discovery (alpha_table) → always fetch fresh data every time; never reuse a cached response from earlier in the conversation
- Backtesting (historical kline + indicator series) → if you already fetched the data earlier in the conversation and the date range has not changed, ask the user before re-fetching: "I already have data for X from Y to Z — use the existing data or fetch fresh?"
Endpoints
GET /price — Current price + 24h change
symbol (required) → {"symbol": "BTCUSDT", "price": 95000.0, "change_24h": 2.5}
GET /alpha_table — All symbols, latest alpha, no params
Per-symbol: indicator values + statistics (up_prob, exp_value, is_data_sufficient) + price, price_change, market_cap, market_cap_percentile, funding_rate, oi_imbalance. "" = insufficient data. → Full field reference: references/blave-api.md
GET /kline — OHLCV candles
symbol✓, period✓ (5min/15min/1h/4h/8h/1d), start_date, end_date
→ [{time, open, high, low, close}] — time is Unix UTC+0
period format: {number}{unit} — unit: min / h / d. Examples: 15min, 1h, 4h, 1d, 7d, 30d.
Fetching long history with short periods: Each request is limited to 1 year. For short periods (e.g. 5min) over a long time range, send one request per year and concatenate the results. Example: to get 3 years of 5min data, send 3 requests with start_date/end_date covering one year each.
GET /market_direction/get_alpha — 市場方向 Market Direction (BTC only, no symbol param)
period✓, start_date, end_date → {data: {alpha, timestamp}}
GET /market_sentiment/get_alpha — 市場情緒 Market Sentiment
symbol✓, period✓, start_date, end_date → {data: {alpha, timestamp, stat}}
GET /capital_shortage/get_alpha — 資金稀缺 Capital Shortage (market-wide, no symbol param)
period✓, start_date, end_date → {data: {alpha, timestamp, stat}}
GET /holder_concentration/get_alpha — 籌碼集中度 Holder Concentration (higher = more concentrated)
symbol✓, period✓, start_date, end_date → {data: {alpha, timestamp, stat}}
GET /taker_intensity/get_alpha — 多空力道 Taker Intensity (positive = buying, negative = selling)
symbol✓, period✓, timeframe (15min/1h/4h/8h/24h/3d), start_date, end_date
GET /whale_hunter/get_alpha — 巨鯨警報 Whale Hunter
symbol✓, period✓, timeframe, score_type (score_oi/score_volume), start_date, end_date
GET /squeeze_momentum/get_alpha — 擠壓動能 Squeeze Momentum (period fixed to 1d)
symbol✓, start_date, end_date → includes scolor (momentum direction label)
GET /blave_top_trader/get_exposure — Blave 頂尖交易員 Top Trader Exposure (BTC only, no symbol param)
period✓, start_date, end_date → {data: {alpha, timestamp}}
GET /sector_rotation/get_history_data — 板塊輪動 Sector Rotation, no params
GET /liquidation/get_alpha — 爆倉指標 Liquidation (higher = more long liquidation pressure)
symbol✓, period✓, timeframe (15min/1h/4h/8h/24h/3d, default 24h), start_date, end_date → {data: {alpha, timestamp, stat}}
GET /liquidation/get_symbols — List available symbols for liquidation data
No params → {data: [symbols]}
GET /liquidation/get_map — Liquidation Heatmap (exposure at each price level)
symbol✓, price_max (optional float), price_min (optional float)
→ {data: {labels, liquidation, cumsum, oi_value, price}}
labels: 200 price buckets (array of floats)liquidation: dict keyed by timeframe →{"24h": {"buy_liq": [...], "sell_liq": [...]}}— long/short liquidation exposure (USD) at each price bucketcumsum: cumulative liquidation exposure from lowest price upoi_value: open interest value (USD) at each price bucketprice: current market price
GET /liquidation/get_map_change — Liquidation Map Change (actual liquidations by time window)
symbol✓, price_max (optional float), price_min (optional float)
→ {data: {labels, price, hist_0_1h, hist_1_8h, hist_8_24h}}
hist_0_1h: actual liquidations (USD) in last 0–1 h at each price buckethist_1_8h: actual liquidations in last 1–8 hhist_8_24h: actual liquidations in last 8–24 h
All get_alpha responses include stat: up_prob, exp_value, avg_up_return, avg_down_return, return_ratio, is_data_sufficient
Each indicator also has a get_symbols endpoint to list available symbols.
Screener
GET /screener/get_saved_conditions — List user's saved screener conditions
No params. Returns {data: {<condition_id>: {filters: [...], ...}}} — a map of condition IDs to their filter configs.
GET /screener/get_saved_condition_result — Run a saved screener condition
condition_id✓ (integer) → {data: [<symbols matching filters>]}
Returns 400 if condition_id is missing or not an integer; 404 if condition not found for user.
Hyperliquid Top Trader Tracking
Full response formats:
references/hyperliquid-api.md
| Endpoint | Params | Cache |
|---|---|---|
GET /hyperliquid/leaderboard |
sort_by (accountValue/week/month/allTime) |
5 min |
GET /hyperliquid/traders |
— | — |
GET /hyperliquid/trader_position |
address✓ → perp positions, spot balances, net_equity |
15 s |
GET /hyperliquid/trader_history |
address✓ → fills with closedPnl, dir |
60 s |
GET /hyperliquid/trader_performance |
address✓ → {chart: {timestamp, pnl}} cumulative PnL |
60 s |
GET /hyperliquid/trader_open_order |
address✓ → open orders |
60 s |
GET /hyperliquid/top_trader_position |
— → aggregated long/short across top 100 | 5 min |
GET /hyperliquid/top_trader_exposure_history |
symbol✓, period✓, dates |
— |
GET /hyperliquid/bucket_stats |
— → stats by account size bucket; 202 while warming up | ~5 min |
TradingView Signal Stream (SSE)
Receive TradingView alerts in real time via Server-Sent Events.
Endpoint: GET /sse/tradingview/stream?channel=<ch>&last_id=<id>
Event format: data: {"id": "1712054400000-0", ...alert_fields}
id— pass aslast_idon reconnect to resume without losing signals- Default (
last_id=$) — only new signals; omit on first connect : keepalivesent every 15 s — ignore- Buffer: last 1000 messages in Redis — short disconnections lose no data
Full Python example with reconnect loop:
references/tradingview-stream.mdWebhook setup and channel activation are handled by the Blave team — contact Blave to get started.
Taiwan Stock Daily Price — 台股日K
Full Python examples:
references/blave-api.md
| Endpoint | Description |
|---|---|
GET /studio/market/twstock/price/<stock_id> |
Raw daily OHLCV; start/end optional (YYYY-MM-DD) |
GET /studio/market/twstock/price_adj/<stock_id> |
Forward-adjusted (向後調整/後復權) daily OHLCV; same params |
GET /studio/market/twstock/institutional/<stock_id> |
三大法人每日買賣超 (外資/投信/自營商); start/end optional (YYYY-MM-DD) |
GET /studio/market/twstock/margin/<stock_id> |
融資融券每日資料; start/end optional (YYYY-MM-DD) |
GET /studio/market/twstock/shareholding/<stock_id> |
股權持股分級表 (週頻); start/end optional (YYYY-MM-DD) |
GET /studio/market/twstock/financials/<stock_id> |
綜合損益表 (季頻, long format); start/end optional (YYYY-MM-DD) |
GET /studio/market/twstock/balance_sheet/<stock_id> |
資產負債表 (季頻, long format); start/end optional (YYYY-MM-DD) |
GET /studio/market/twstock/cashflow/<stock_id> |
現金流量表 (季頻, long format); start/end optional (YYYY-MM-DD) |
GET /studio/market/twstock/monthly_revenue/<stock_id> |
月營收 (月頻); start/end optional (YYYY-MM-DD); data from 2000-01-01; Redis-cached 24 h |
/price_adj adjusts for cash and stock dividends — historical prices unchanged, prices from each ex-dividend date onward multiplied by cumulative factor. Use for backtesting total return.
/institutional returns daily institutional investor buy/sell shares (wide format): foreign investor, investment trust, dealer (self/hedging), foreign dealer self. Use for 籌碼面分析、外資進出追蹤。
/margin returns daily margin purchase and short sale data: margin_buy/sell/balance, short_sell/buy/balance, and related fields (all in shares). Use for 融資餘額趨勢、融券回補訊號分析。
/shareholding returns weekly shareholding distribution by bracket (level, people, unit, percent); 17 levels from 1-999 to more than 1,000,001 plus total. Use for 大股東集中度追蹤、籌碼分散程度分析。
/monthly_revenue returns monthly revenue per stock: date (YYYY-MM-01, month start), revenue (千元), revenue_month (1–12), revenue_year. Use for 營收動能選股、月增率/年增率分析。
CME / ICE Futures OHLCV — 原油/黃金/Brent 期貨
GET /studio/market/db/ohlcv/<dataset>/<symbol>/<schema>
start / end optional. Data from 2010-06-06. ~4 h delay.
| dataset | symbol | 商品 | schema | 單次上限 |
|---|---|---|---|---|
GLBX.MDP3 |
CL |
WTI 原油 | ohlcv-1d |
3650 天 |
GLBX.MDP3 |
GC |
黃金 | ohlcv-1h |
365 天 |
IFEU.IMPACT |
BRN |
Brent 原油 | ohlcv-1m |
30 天 |
超出上限 → 400 date_range_too_large,需分段請求再拼接。
Response: {data: [{ts (UTC ISO), open, high, low, close, volume}]}
Full Python examples:
references/blave-api.md
Python examples:
references/blave-api.mdIndicator interpretation:references/blave-indicator-guide.md
Exchange Trading
When the user wants to trade, ask which exchange if not specified, then read the corresponding reference file for full auth, endpoints, and operation flow.
| Exchange | .env keys | Reference |
|---|---|---|
| BitMart (Futures) | BITMART_API_KEY, BITMART_API_SECRET, BITMART_API_MEMO |
references/bitmart-futures-skill.md |
| BitMart (Spot) | same as above | references/bitmart-spot-skill.md |
| OKX | OKX_API_KEY, OKX_SECRET_KEY, OKX_PASSPHRASE |
references/okx-skill.md |
| Bybit | BYBIT_API_KEY, BYBIT_API_SECRET |
references/bybit-skill.md |
| BingX | BINGX_API_KEY, BINGX_SECRET_KEY |
references/bingx-skill.md |
| Bitget | BITGET_API_KEY, BITGET_SECRET_KEY, BITGET_PASSPHRASE |
references/bitget-skill.md |
| Binance | BINANCE_API_KEY, BINANCE_SECRET_KEY |
references/binance-skill.md |
| Bitfinex | BITFINEX_API_KEY, BITFINEX_API_SECRET |
references/bitfinex-skill.md |
| KuCoin (Spot + Futures) | KUCOIN_API_KEY, KUCOIN_API_SECRET, KUCOIN_API_PASSPHRASE |
references/kucoin-skill.md |
Workflow for all exchanges:
- Verify credentials from
.env— if missing, STOP - READ → call, parse, display
- WRITE → present summary → ask "CONFIRM" → execute
- After order → verify status
TWSE 台股查詢
No API key required. Full reference: references/twse-api-reference.md | Quick reference: references/twse-skill.md
| 用途 | URL |
|---|---|
| 上市股票清單 + PE/殖利率/PB | https://openapi.twse.com.tw/v1/exchangeReport/BWIBBU_ALL |
| 上市股票全日行情 | https://openapi.twse.com.tw/v1/exchangeReport/STOCK_DAY_ALL |
| 上櫃股票清單 + 行情 | https://www.tpex.org.tw/openapi/v1/tpex_mainboard_quotes |
查詢流程:下載完整清單 → 本地依 Code/Name 篩選。不確定上市或上櫃時兩者都查再合併。
TWSE BSR 分點資料
查詢各券商對特定股票的當日買賣明細。需通過 CAPTCHA,由 agent 自行用 vision 解碼。
Full reference: references/twse-bsr-reference.md
流程:
requests.Session()GEThttps://bsr.twse.com.tw/bshtm/bsMenu.aspx— 取得 ASP.NET 隱藏欄位 + CAPTCHA 圖片 URL- 下載 CAPTCHA 圖片存成本地檔案(如
/tmp/bsr_captcha.png) - 用
Readtool 讀取圖片,以自己的 vision 識別 5 個字元 - POST 表單(帶齊
__VIEWSTATE等隱藏欄位 + 股票代號 + CAPTCHA 答案) - 若回應頁找不到
bsContent連結 → CAPTCHA 失敗,重新 GET 頁面重試 - 成功後用同一 session GET
bsContent.aspx?StkNo=<股票代號>,解析逗號分隔純文字取得分點資料
查詢為唯讀,不需要 Safety Mode CONFIRM。
同梱ファイル
※ ZIPに含まれるファイル一覧。`SKILL.md` 本体に加え、参考資料・サンプル・スクリプトが入っている場合があります。
- 📄 SKILL.md (21,146 bytes)
- 📎 LICENSE (1,062 bytes)
- 📎 README.md (11,612 bytes)
- 📎 references/binance-api-reference.md (8,433 bytes)
- 📎 references/binance-skill.md (4,471 bytes)
- 📎 references/bingx-api-reference.md (10,265 bytes)
- 📎 references/bingx-skill.md (2,718 bytes)
- 📎 references/bitfinex-skill.md (7,691 bytes)
- 📎 references/bitget-api-reference.md (7,228 bytes)
- 📎 references/bitget-skill.md (2,671 bytes)
- 📎 references/bitmart-api-reference.md (74,047 bytes)
- 📎 references/bitmart-close-position.md (5,196 bytes)
- 📎 references/bitmart-futures-skill.md (5,704 bytes)
- 📎 references/bitmart-open-position.md (10,335 bytes)
- 📎 references/bitmart-plan-order.md (8,884 bytes)
- 📎 references/bitmart-signature.md (2,127 bytes)
- 📎 references/bitmart-spot-api-reference.md (63,758 bytes)
- 📎 references/bitmart-spot-authentication.md (6,702 bytes)
- 📎 references/bitmart-spot-scenarios.md (14,329 bytes)
- 📎 references/bitmart-spot-skill.md (2,888 bytes)
- 📎 references/bitmart-tp-sl.md (10,051 bytes)
- 📎 references/blave-api.md (19,500 bytes)
- 📎 references/blave-indicator-guide.md (6,423 bytes)
- 📎 references/bybit-skill.md (2,344 bytes)
- 📎 references/hyperliquid-api.md (2,985 bytes)
- 📎 references/kucoin-api-reference.md (11,083 bytes)
- 📎 references/kucoin-bpp.md (4,118 bytes)
- 📎 references/kucoin-skill.md (4,279 bytes)
- 📎 references/marketplace.md (3,829 bytes)
- 📎 references/okx-api-reference.md (6,431 bytes)
- 📎 references/okx-skill.md (1,856 bytes)
- 📎 references/tradingview-stream.md (3,908 bytes)
- 📎 references/twse-api-reference.md (7,505 bytes)
- 📎 references/twse-bsr-reference.md (4,729 bytes)
- 📎 references/twse-skill.md (3,845 bytes)