Financial Line Chart
plot_financial_lineGenerate and plot synthetic financial price data (requires matplotlib).
Creates realistic price movement patterns for educational purposes. Does not use real market data.
Note: Use for time-series price data with optional moving average overlay. For general XY data, use plot_line_chart instead.
Examples: plot_financial_line(days=60, trend='bullish') plot_financial_line(days=90, trend='volatile', start_price=150.0, color='orange')
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Number of days to generate, e.g., 30 | |
| color | No | Line color (name or hex code, e.g., 'blue', '#2E86AB') | |
| trend | No | Market trend direction | bullish |
| start_price | No | Starting price value, e.g., 100.0 |