Generate and plot synthetic financial price data (requires matplotlib).
Creates realistic price movement patterns for educational purposes.
Does not use real market data.
Args:
days: Number of days to generate (default: 30)
trend: Market trend ('bullish', 'bearish', or 'volatile')
start_price: Starting price value (default: 100.0)
color: Line color (name or hex code, e.g., 'blue', '#2E86AB')
ctx: FastMCP context for logging
Returns:
Dict with base64-encoded PNG image or error message
Examples:
plot_financial_line(days=60, trend='bullish')
plot_financial_line(days=90, trend='volatile', start_price=150.0, color='orange')