Stock analysis demo
Pick a ticker and overlays. Hover any chart for values. Numbers match the package's Python output on the same data.
Package structure
The four modules handle data, indicators, risk metrics and plotting. Each can be imported separately.
Every public function checks its inputs: wrong types raise TypeError, bad values (empty ticker, non-positive window,
negative prices) raise ValueError, and a failed download raises ConnectionError. Indicator warm-up periods
stay as NaN instead of being dropped, so results keep the price index.
Most of the implementation work was in handling the data consistently: flattening yfinance column names, retaining missing values during indicator warm-up, and aligning stock and benchmark dates before computing beta.
Source
Python files from the course submission.
Loading…