Your first analysis
In this tutorial you run one analysis command against public market data and read its output. No credentials, database, or instance are required.
Before you start
Section titled “Before you start”You need an engine checkout with the development environment installed.
git clone https://github.com/YOUR-USERNAME/Finance-Guru.gitcd Finance-Guruuv sync --devStep 1. Run a risk-metrics analysis
Section titled “Step 1. Run a risk-metrics analysis”From the repository root, analyze one year of AAPL history against the SPY benchmark.
uv run python src/analysis/risk_metrics_cli.py AAPL --days 252 --benchmark SPYThe command downloads public price history and prints risk metrics for the ticker. Expect values for Value at Risk, Conditional Value at Risk, Sharpe ratio, Sortino ratio, maximum drawdown, and the beta and alpha computed against the benchmark.
The command needs network access to a public market-data provider. If it fails, see Troubleshoot common failures.
Step 2. Explore the options
Section titled “Step 2. Explore the options”Every analysis command documents its own flags.
uv run python src/analysis/risk_metrics_cli.py --helpTry a shorter window or machine-readable output. The help text lists supported values for the confidence level, the VaR method, and the output format.
What you learned
Section titled “What you learned”You ran one command through the engine’s standard shape. Every analysis tool follows the same pattern of a ticker, a window, and optional flags. The CLI reference lists every supported command.
Important notice
Section titled “Important notice”Finance Guru provides educational analysis only. It is not investment, tax, or legal advice. Financial markets involve risk, including loss of principal. Consult appropriately licensed professionals for decisions about your assets.
This page is built from the Wiki Getting Started page and docs/reference/api.md in the repository.