返回 Skill 列表
extension
分类: 其它无需 API Key

自动生成每日报告

>自动生成加密货币每日市场摘要报告,包含: • BTC/ETH 实时行情与24h涨跌幅 • 涨跌榜 TOP3(按成交额过滤) • 恐惧贪婪指数与市场情绪 • BTC/ETH 资金费率 • 热门趋势币种追踪 • BTC 链上手续费数据 数据源:OKX API / Alternative.me / mempool.space 输出:精美 HTML 可视化报告

person作者: user_3601a2f8hubcommunity

Daily Market Summary

Generate a daily cryptocurrency market summary report with real-time data from public APIs.

Workflow

Step 1: Fetch Real-Time Data

Run the data collection script:

python scripts/fetch_data.py

This fetches from multiple public APIs (no authentication required):

  • Binance: BTC/ETH tickers, all USDT pairs for ranking, funding rates
  • Alternative.me: Fear & Greed Index
  • CoinGecko: Trending coins
  • mempool.space: BTC network fees

Output: market_data.json in the current working directory.

Step 2: Generate HTML Report

python scripts/generate_report.py market_data.json market_summary.html

Reads market_data.json and produces a styled HTML report.

Step 3: Present to User

  • Use preview_url to show the HTML report in the browser.
  • Use deliver_attachments to send the file to the user.
  • Provide a concise text summary of key data points below the report.

Report Requirements

The report MUST include these sections:

  1. BTC & ETH 24h 行情 — Price, 24h change %, high/low, volume, trades
  2. 涨跌榜 — Top 3 gainers and top 3 losers (filtered by >$1M volume)
  3. 市场情绪 — Fear & Greed Index with visual gauge + BTC/ETH funding rates
  4. 热门趋势 & 链上动态 — CoinGecko trending + BTC mempool fees as network activity proxy

Data Presentation Rules

  • ALL data must be queried in real-time — never use cached or hardcoded data
  • Present data in table format with clear headers
  • Always annotate the query timestamp (e.g., "查询时间:2026-04-18 17:30 UTC+8")
  • Use Chinese stock market convention: RED = up (涨), GREEN = down (跌)
  • NEVER include any trading advice, buy/sell recommendations, or price predictions
  • If an API fails, note which data source is unavailable and continue with the rest

Script Notes

  • scripts/fetch_data.py: Data collection from public APIs. No proxy needed — Binance public API is globally accessible. If Binance fails, try setting HTTPS_PROXY if a proxy is available.
  • scripts/generate_report.py: HTML report generator. Takes JSON input and produces a dark-themed responsive HTML file.