generate_payoff_diagram
Generate payoff diagrams for structured products including autocallables, barrier options, and custom structures. Visualize potential returns and risk across underlying price ranges.
Instructions
Generate payoff diagrams for structured products like autocallables, barrier options, and custom structures
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | No | Stock symbol for real market data (e.g., 'AAPL', 'TSLA') | |
| volatility | No | Annual volatility (e.g., 0.25 for 25%). If not provided and use_market_data=true, will be calculated from historical data | |
| price_range | No | Price range for payoff calculation | |
| product_type | Yes | Type of structured product | |
| strike_price | Yes | Strike price of the option/structure | |
| barrier_price | No | Barrier level (for barrier options) | |
| risk_free_rate | No | Risk-free interest rate (e.g., 0.05 for 5%). If not provided and use_market_data=true, will fetch current Treasury rate | |
| time_to_expiry | No | Time to expiry in years | |
| use_market_data | No | Use real-time market data and calculated volatility | |
| underlying_price | Yes | Current underlying asset price |