generate_candlestick_chart
Visualize financial data, including stock or cryptocurrency prices, using a candlestick chart. Input OHLC data to create detailed charts with customizable dimensions, themes, and optional volume display.
Instructions
Generate a candlestick chart for financial data visualization, such as, stock prices, cryptocurrency prices, or other OHLC (Open-High-Low-Close) data.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
data | Yes | Data for candlestick chart, such as, [{ date: '2023-01-01', open: 100, high: 110, low: 95, close: 105, volume: 10000 }]. | |
height | No | Set the height of the chart, default is 600px. | |
showVolume | No | Whether to show volume chart below candlestick. Default is false. | |
theme | No | Set the theme for the chart, optional, default is 'default'. | default |
title | No | Set the title of the chart. | |
width | No | Set the width of the chart, default is 800px. |