Skip to main content
Glama

MCP ECharts

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

NameRequiredDescriptionDefault
dataYesData for candlestick chart, such as, [{ date: '2023-01-01', open: 100, high: 110, low: 95, close: 105, volume: 10000 }].
heightNoSet the height of the chart, default is 600px.
showVolumeNoWhether to show volume chart below candlestick. Default is false.
themeNoSet the theme for the chart, optional, default is 'default'.default
titleNoSet the title of the chart.
widthNoSet the width of the chart, default is 800px.

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "data": { "description": "Data for candlestick chart, such as, [{ date: '2023-01-01', open: 100, high: 110, low: 95, close: 105, volume: 10000 }].", "items": { "additionalProperties": false, "properties": { "close": { "description": "Closing price.", "type": "number" }, "date": { "description": "Date string, such as '2023-01-01'.", "type": "string" }, "high": { "description": "Highest price.", "type": "number" }, "low": { "description": "Lowest price.", "type": "number" }, "open": { "description": "Opening price.", "type": "number" }, "volume": { "description": "Trading volume (optional).", "type": "number" } }, "required": [ "date", "open", "high", "low", "close" ], "type": "object" }, "minItems": 1, "type": "array" }, "height": { "default": 600, "description": "Set the height of the chart, default is 600px.", "exclusiveMinimum": 0, "type": "integer" }, "showVolume": { "default": false, "description": "Whether to show volume chart below candlestick. Default is false.", "type": "boolean" }, "theme": { "default": "default", "description": "Set the theme for the chart, optional, default is 'default'.", "enum": [ "default", "dark" ], "type": "string" }, "title": { "description": "Set the title of the chart.", "type": "string" }, "width": { "default": 800, "description": "Set the width of the chart, default is 800px.", "exclusiveMinimum": 0, "type": "integer" } }, "required": [ "data" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hustcc/mcp-echarts'

If you have feedback or need assistance with the MCP directory API, please join our Discord server