Documents

财经日报

Try it

AI财经日报生成助手。自动获取A股/港股/美股实时行情,分析大盘指数、行业板块、资金流向、外汇商品、财经要闻,生成交互式HTML可视化日报。触发词:财经日报、今日财经、股市日报、每日财经、金融日报、finance daily report、股市行情、大盘分析、今日股市。

What it does

Generate a professional, interactive HTML financial daily report covering A-shares, Hong Kong stocks, and major global indices. The report follows Chinese stock market conventions (red for up, green for down) and uses AKShare for free real-time data.

The skill document

财经日报 (Finance Daily Report)

Overview

Generate a professional, interactive HTML financial daily report covering A-shares, Hong Kong stocks, and major global indices. The report follows Chinese stock market conventions (red for up, green for down) and uses AKShare for free real-time data.

When to Use

Trigger this skill when the user asks for:

  • 财经日报 / 今日财经 / 股市日报
  • A daily financial market report
  • Stock market overview or analysis
  • 大盘分析 / 今日股市 / 金融日报
  • Any request involving generating a daily financial summary

Workflow

Step 1: Prepare Environment

Before running the script, ensure dependencies are installed:

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple akshare pandas --trusted-host pypi.tuna.tsinghua.edu.cn

Use the managed Python runtime at C:/Users/PC/.workbuddy/binaries/python/versions/3.13.12/python.exe and create/use a venv if needed.

Step 2: Run the Report Generator

Execute the main script to generate the report:

python scripts/generate_report.py [--output ] [--date YYYY-MM-DD]

Options:

  • --output: Output HTML file path (default: current working directory finance_daily_report_YYYY-MM-DD.html)
  • --date: Target date in YYYY-MM-DD format (default: today). Note: only historical dates work for complete data; today may have incomplete real-time data.

Step 3: Present the Report

After generation, present the HTML file to the user using present_files. The report is a self-contained interactive HTML file that opens directly in the browser.

Report Modules

The generated report includes 6 modules:

  1. 大盘指数概览 — A-share main indices (SSE, SZSE, ChiNext, STAR 50), Hang Seng, Hang Seng Tech, with real-time price, change %, and change amount.
  2. 行业板块热力 — Top 5 gaining and top 5 declining industry sectors with representative stocks.
  3. 资金流向 — North-bound capital flow, total market turnover, main capital flow direction.
  4. 外汇与商品 — USD/CNY exchange rate, gold price, crude oil price.
  5. 财经要闻 — Key financial news headlines for the day.
  6. 明日关注 — Financial calendar events and upcoming economic data releases.

Visual Conventions

  • Red (红色 #e74c3c): Price increase (涨) — Chinese market convention
  • Green (绿色 #27ae60): Price decrease (跌) — Chinese market convention
  • Interactive charts powered by Chart.js (loaded from CDN)
  • Responsive design, mobile-friendly

Data Sources

The script uses the following AKShare data sources (v1.18+ optimized for China network):

ModuleAPISource
A-share indicesak.stock_zh_index_spot_sina()Sina (reliable in China)
HK indicesak.stock_hk_index_spot_sina()Sina
Industry sectorsak.stock_board_industry_summary_ths()TongHuaShun (THS)
North-bound flowak.stock_hsgt_hist_em(symbol='沪股通')EastMoney
TurnoverCalculated from stock_zh_index_spot_sina()Sina
Forexak.fx_spot_quote()-
Commoditiesak.futures_global_spot_em()EastMoney
Newsak.stock_news_em()EastMoney

See references/akshare_apis.md for detailed API mappings and column schemas.

Important: Encoding

On Windows, always set PYTHONIOENCODING=utf-8 when running the script to avoid GBK encoding errors:

PYTHONIOENCODING=utf-8 python scripts/generate_report.py --date 2026-06-16

Error Handling

  • Each API call includes automatic 2-retry with 1s delay for transient failures
  • Failed modules gracefully degrade: show "暂无数据" placeholder in report
  • Sina-based APIs (stock_zh_index_spot_sina, stock_hk_index_spot_sina) are preferred over EastMoney for reliability in China
  • If AKShare is not installed, guide the user to install it first

Related skills

Fetch raw ad creative, app, ranking, and revenue data from AdMapix as structured JSON.

by fly0pants4.3k installs296 stars

Generate and edit Draw.io, Mermaid, and Excalidraw diagrams from natural language using a structured JSON spec.

by nssa.io1.0k installs47 stars

Join a video meeting as an AI bot with voice, avatar, and screenshare across four operating modes.

by johnpatternai22 installs8 stars

Stores durable facts in a categorized, plain-markdown vault on disk, alongside your agent's built-in memory.

by Iván559 installs18 stars

Find why your productivity system keeps failing, then apply the smallest fix — capacity math, bottleneck routing, durable local notes.

by Iván855 installs69 stars

More from bettermen

Browse all skills

AI-powered memory guardian for Windows. Manage system memory, kill high-risk processes, monitor in background, and view real-time Web GUI dashboard. Triggers...

by bettermen5 installs1 stars

AI开发工程师全流程工作流。覆盖需求分析→技术选型→数据处理→AI核心开发(Prompt/Agent/RAG/微调)→后端服务→前端交互→测试评估→部署运维→性能优化→LLMOps→安全护栏10大阶段。面向LLM应用开发全链路,提供代码模板、架构决策框架、调试排查指南。触发词: AI开发, AI工程师, AI全栈...

by bettermen5 installs1 stars

AI产品经理全流程助手。覆盖需求洞察→竞品分析→PRD方案设计→AI能力设计(Prompt/Agent/RAG)→上线评估→迭代优化6大阶段。融合模型边界管理、Prompt工程、Agent编排、RAG数据工程、AI评估五大核心能力。触发词: AI产品经理, AI PM, 写PRD, 竞品分析, Prompt设计,...

by bettermen4 installs1 stars

MetricHub多租户指标平台全流程编排:指标目录浏览、查询构建执行(九条铁律/九条消歧规则/快速计算语法)、数据可视化推荐、仪表盘编排。触发:查询指标、同环比、占比、排名、时间限定、metricDefinitions、timeConstraint、filters、dimensions、查看指标目录、创建仪表盘...

by bettermen5 installs

为文章规划并生成可读性强的极简强线条手绘配图。先建立文章地图,识别段落适合流程图、架构图、对比图、关系图、结构图还是概念插图,再通过构思卡组织单一命题、原文指纹、信息单位、阅读顺序和固定橙白圆猫角色。构思通过可读性测试后默认直接生成。用户说配图、手绘配图、给文章配图、文章插图、技术文章插图、流程图、架构图、关系图...

by bettermen4 installs

绂诲搴旇瘔鎸囧崡AI鍔╂墜銆傚綋鐢ㄦ埛琚捣璇夌濠氶渶瑕佸簲璇夊府鍔╂椂锛屾彁渚涘叏娴佺▼鎸囧锛? 搴旇瘔娴佺▼瀵艰埅銆佺瓟杈╃姸鐢熸垚銆佹劅鎯呯牬瑁傝瘉鎹噯澶囥€佽储浜у垎鍓插垎鏋愩€佸瓙濂虫姎鍏绘潈璇勪及銆? 搴旇瘔绛栫暐寤鸿銆佹硶寰嬫潯鏂囬€熸煡銆傝鐩栦粠鏀跺埌璧疯瘔鐘跺壇鏈埌鍒ゅ喅鎵ц鐨勫...

by bettermen4 installs