使用 methodalgo-cli 获取 MethodAlgo 加密货币市场情报。适用场景:查看加密新闻、交易信号、代币解锁、ETF 流向、图表快照等。
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:
bash
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:
bash
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:
ErrorActionAuthentication Required / 401 / 403Set METHODALGO_API_KEY, run methodalgo login, or verify the key at https://account.methodalgo.com/account/api-keys.methodalgo not foundInstall with npm install -g methodalgo-cli.macro / totals missingUpdate to methodalgo-cli >= 1.0.36.Binance command missingUpdate to methodalgo-cli >= 1.0.26.Network timeout / fred request failedCheck 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.
bash
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:
IntentPreferLatest market newsmethodalgo news --type breaking --limit 50 --jsonDeep market articlesmethodalgo news --type article --limit 100 --jsonSymbol-specific newsmethodalgo news --type article --search "<symbol or name>" --limit 10 --jsonTrading signalsmethodalgo signals <channel> --limit 10 --jsonChart image URLmethodalgo snapshot BTCUSDT.P 60 --url --jsonEconomic eventsmethodalgo calendar --countries US,EU,CN --jsonMacro dashboardmethodalgo macro dashboard --jsonNet liquiditymethodalgo macro liquidity --tail 52 --jsonCrypto-wide totalsmethodalgo totals --jsonBTC dominance / Fear & Greed / Altseason`methodalgo totals --history 30dBinance spot pricemethodalgo binance price BTCUSDT --jsonBinance futures pricemethodalgo binance price BTCUSDT.P --jsonBinance futures funding / OI / sentimentmethodalgo binance funding BTCUSDT.P --json; methodalgo binance oi BTCUSDT.P --period 5m --json; methodalgo binance sentiment BTCUSDT.P --period 5m --json
Use methodalgo signals <channel> --limit <N> --json.
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:
ChannelRequired details fieldsbreakout-*``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-todayVariable 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 <metric> --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:
bash
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
ScenarioCommandsDaily market overviewtotals --json; signals etf-tracker; news article; news breaking; optionally signals market-today.Specific coin deep scanSearch news, inspect breakout signals, fetch Binance futures price/funding/OI/sentiment, then fetch snapshot.Liquidation and reversal monitorsignals liquidation; signals exhaustion-buyer; signals exhaustion-seller.Token unlock checksignals token-unlock --limit 1 --json; parse root signals.Macro regime checkmacro dashboard; macro recession; macro liquidity --tail 52; optional macro compare or macro zscore.Binance microstructurebinance 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