Skip to content

Interactive Dashboard

FinanceLib includes a 5-page interactive dashboard powered by Plotly Dash.

Quick Start

pip install financelib[dashboard]
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

Programmatic Access

from financelib.dashboard.app import create_dashboard

app = create_dashboard()
# Embed in existing Dash application or customize layout