chart-generation

Generate candlestick and comprehensive financial charts from OHLCV data.

1|Updated Dec 14, 2025
One-click install
npx skills add https://github.com/YFOOOO/financial_agent --skill chart-generation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: chart-generation
Source: https://github.com/YFOOOO/financial_agent/tree/main/skills/chart-generation
Command: npx skills add https://github.com/YFOOOO/financial_agent --skill chart-generation

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes assets (resource) and references (resource) components.

What problem does it solve?

This Skill enables generating professional financial charts (candlestick charts and comprehensive charts) using mplfinance, enabling quick visual analysis and reporting.

Core Features & Use Cases

  • Basic Candlestick: 生成基础蜡烛图(蜡烛图 + 成交量)
  • Comprehensive Chart: 生成综合图表(K线 + MA + MACD + 成交量)
  • Use Case: 为季度报告快速生成高质量图表,展示价格走势与技术指标

Quick Start

Prepare an OHLCV DataFrame and call the chart generation tool to create a candlestick chart, optionally saving to a file.

Frequently Asked Questions about chart-generation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate candlestick charts from OHLCV data?

Candlestick charts visualize OHLCV (open, high, low, close, volume) data using mplfinance to display price action and trading volume over time. Prepare a DataFrame with OHLCV columns, call the chart generation tool, and it returns a professional chart suitable for technical analysis and reporting.

Can I create comprehensive financial charts with technical indicators?

Yes, comprehensive charts combine candlesticks, moving averages (MA), MACD, and volume in a single visualization. The Skill generates multi-panel layouts showing price trends alongside momentum indicators for deeper technical analysis in notebooks or dashboards.

What input validation does the chart generation tool require?

The tool validates that your DataFrame contains required OHLCV columns (open, high, low, close, volume). It accepts optional parameters for theme selection (dark or light) and file save paths, returning a structured result indicating success and the saved file location.

Can I save generated charts to a file automatically?

Yes, the save_path parameter lets you export charts directly to disk. Specify a file path and the tool saves your visualization while returning the output location in the result, enabling integration into automated reporting pipelines.

Does this work for financial data visualization in Jupyter notebooks?

The Skill renders professional financial charts in notebook environments and dashboard applications. Both basic candlestick and comprehensive multi-indicator charts display inline, supporting dark and light themes for different presentation contexts.

What's the difference between basic and comprehensive chart types?

Basic candlestick charts show price action and volume only, ideal for quick trend assessment. Comprehensive charts layer moving averages and MACD momentum indicators alongside candlesticks and volume, providing technical traders with multi-signal analysis in one visualization.