Interactive Dashboard¶
FinanceLib includes a 5-page interactive dashboard powered by Plotly Dash.
Quick Start¶
from financelib.dashboard import run_dashboard
run_dashboard(port=8050)
# Open http://localhost:8050
Pages¶
Market Overview¶
- Real-time candlestick charts
- Symbol and period selection
- Auto-refresh every 60 seconds
Technical Analysis¶
- Interactive candlestick with overlay indicators
- Checkbox selection: SMA 20/50, EMA 20, Bollinger Bands
- Separate RSI sub-chart
- Dark theme optimized for trading
Portfolio Tracker¶
- Equity, P&L, and cash summary cards
- Open positions table with unrealized P&L
- Color-coded profit/loss indicators
Risk Analytics¶
- Per-symbol risk computation
- Sharpe, Sortino, Max Drawdown, VaR, CVaR
Options Pricing¶
- Black-Scholes calculator
- Input fields: Spot, Strike, Expiry, Rate, Vol
- Greeks table (Delta, Gamma, Theta, Vega, Rho)
- Call/Put toggle