Use this skill as the AI-facing routing layer for methodalgo-cli. Keep direct CLI calls in JSON mode unless the user explicitly asks for human-readable output.
Install or update the CLI:
npm install -g methodalgo-cli
methodalgo --version
Use methodalgo-cli >= 1.0.36 for macro and totals; use >= 1.0.26 for Binance public market data.
Most MethodAlgo service commands require METHODALGO_API_KEY or methodalgo login:
methodalgo login
Authentication rules:
news, signals, snapshot, calendar, macro, and totals require MethodAlgo service access.METHODALGO_API_KEY is required for normal MethodAlgo CLI service usage and login flows.methodalgo binance ... uses Binance public endpoints and does not require a MethodAlgo API key or Binance API key.METHODALGO_API_KEY over local login config.Troubleshooting:
| Error | Action |
|---|---|
| --- | --- |
| Authentication Required / 401 / 403 | Set METHODALGO_API_KEY, run methodalgo login, or verify the key at https://account.methodalgo.com/account/api-keys. |
methodalgo not found | Install with npm install -g methodalgo-cli. |
macro / totals missing | Update to methodalgo-cli >= 1.0.36. |
| Binance command missing | Update to methodalgo-cli >= 1.0.26. |
Network timeout / fred request failed | Check access to methodalgo.com, upstream macro/FRED services, or Binance public API endpoints. |
Load only the reference needed for the task:
details field meanings.Always include --json for structured output.
methodalgo news --type <article|breaking|onchain|report> --limit <N> --json
methodalgo news --type article --search "Bitcoin" --limit 5 --json
methodalgo signals <channel> --limit <N> --json
methodalgo snapshot <symbol> [tf] --url --json
methodalgo calendar --countries <codes> [options] --json
methodalgo macro <subcommand> [options] --json
methodalgo totals [metric] [options] --json
methodalgo binance <subcommand> [options] --json
Core routing:
| Intent | Prefer | ||
|---|---|---|---|
| --- | --- | ||
| Latest market news | methodalgo news --type breaking --limit 50 --json | ||
| Deep market articles | methodalgo news --type article --limit 100 --json | ||
| Symbol-specific news | methodalgo news --type article --search " | ||
| Trading signals | methodalgo signals | ||
| Chart image URL | methodalgo snapshot BTCUSDT.P 60 --url --json | ||
| Economic events | methodalgo calendar --countries US,EU,CN --json | ||
| Macro dashboard | methodalgo macro dashboard --json | ||
| Net liquidity | methodalgo macro liquidity --tail 52 --json | ||
| Crypto-wide totals | methodalgo totals --json | ||
| BTC dominance / Fear & Greed / Altseason | `methodalgo totals | 90d | 1y --json` |
| Binance spot price | methodalgo binance price BTCUSDT --json | ||
| Binance futures price | methodalgo binance price BTCUSDT.P --json | ||
| Binance futures funding / OI / sentiment | methodalgo binance funding BTCUSDT.P --json; methodalgo binance oi BTCUSDT.P --period 5m --json; methodalgo binance sentiment BTCUSDT.P --period 5m --json |
Use methodalgo signals .
Standard signal channels return an array of message objects. Each message may contain id, timestamp, attachments, image, and a nested signals array. Each nested signal may contain title, description, direction, and channel-specific details. Full examples live in references/sample-output.md.
Protected details field map:
| Channel | Required details fields |
|---|---|
| --- | --- |
breakout-* | Symbol, TimeFrame, Type (UP / DOWN), BreakPrice, Exchange |
liquidation | Symbol, Side, Quantity, Average Price, Liquidation Price, Position Total |
exhaustion-* | Type, Timeframe, Exhaustion Side, Safety, Tip, Exchange |
golden-pit-* | Pattern, Safety |
etf-tracker | Net Inflow, 7 Days Avg. |
market-today | Variable Discord-style summary fields; do not use it as the structured metric source. |
Signal interpretation:
exhaustion-buyer is bearish buyer exhaustion.exhaustion-seller is bullish seller exhaustion.market-today is a Discord-style summary stream. For structured BTC Dominance, ETH Dominance, Total Market Cap, Fear & Greed, and Altseason Index values, call methodalgo totals --json or methodalgo totals --json .token-unlock is the special-case channel: it returns a root object shaped as { signals: [...], updatedAt }, not a root array. Token unlock items include ts, symbol, perc, progress, circSup, countDown, marketCap, unlockToken, and unlockTokenVal. When showing countdowns, calculate live timing from ts and updatedAt rather than trusting countDown as immutable text.
News:
article normally includes richer excerpt, analysis, and url.breaking, onchain, and report can omit article-style fields.title.zh, excerpt.zh, and analysis.zh when present.Macro:
methodalgo macro ... for server-side macro/FRED-derived data. The CLI no longer needs a local FRED key.methodalgo macro liquidity computes Net Liquidity from Fed Assets - RRP - TGA and is the default liquidity command for BTC macro analysis.fred request failed; surface the failure instead of fabricating macro values.FEDFUNDS, WALCL, M2SL, RRPONTSYD, WTREGEN, CPIAUCSL, DGS10, DGS2, REAINTRATREARAT10Y, DTWEXBGS, and VIXCLS, read references/command-reference.md.Totals:
methodalgo totals --json for crypto-wide structured metrics.btc-dominance, eth-dominance, total-market-cap, fear-greed, and altseason-index.methodalgo totals shows human CLI help; methodalgo totals --json is the AI structured aggregate endpoint.signals market-today only when the user wants the Discord-style market summary stream.Binance:
BTCUSDT means spot.BTCUSDT.P means USD-M perpetual futures; the CLI sends BTCUSDT to Binance futures APIs.--market futures for list-style futures queries such as movers.funding, oi, sentiment, and basis are futures-only.--json often returns direct Binance API shapes; do not assume every subcommand has the same wrapper.raw is restricted to allowlisted public endpoints. Account, order, trading, signed, and user-data endpoints are intentionally blocked.Use a low-cost preview first, then deepen only where the data points:
--after, --search, symbol filtering, or larger limits after identifying relevant IDs, symbols, or themes.Examples:
methodalgo signals breakout-mtf --limit 5 --json
methodalgo signals breakout-mtf --limit 100 --after "msgId" --json
methodalgo news --type article --search "SOL" --limit 10 --json
| Scenario | Commands |
|---|---|
| --- | --- |
| Daily market overview | totals --json; signals etf-tracker; news article; news breaking; optionally signals market-today. |
| Specific coin deep scan | Search news, inspect breakout signals, fetch Binance futures price/funding/OI/sentiment, then fetch snapshot. |
| Liquidation and reversal monitor | signals liquidation; signals exhaustion-buyer; signals exhaustion-seller. |
| Token unlock check | signals token-unlock --limit 1 --json; parse root signals. |
| Macro regime check | macro dashboard; macro recession; macro liquidity --tail 52; optional macro compare or macro zscore. |
| Binance microstructure | binance price; binance klines; binance funding; binance oi; binance sentiment. |
market-today and totals; they serve different data shapes..P when presenting user-facing futures symbols.Github: https://github.com/methodalgo/methodalgo-market-intel-explorer
ClawHub: https://clawhub.ai/methodalgo/methodalgo-market-intel-explorer
共 4 个版本