nathanvy / BAFI550

Python scripts for BAFI 550

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This repository contains python version 3 source code to generate plots for a term paper for BAFI 550 at the UBC Sauder School of Business. You can generate the plots by cloning the repository and issuing the make command on any POSIX-compliant system.

Requires Python 3.10+ and the following libraries:

  • yFinance, for downloading market data
  • Scikit-Learn, for running linear regressions
  • Matplotlib, for plotting
  • NumPy, for some array operations
  • Seaborn, for fancy-shmancy plots
  • Pandas, for data frame operations

Stock data is fetched from the Yahoo Finance API except for TFCF, which has been delisted from Yahoo after the Disney merger and so that data is stored in a comma-delimited file, tfcf.csv, retrieved from MarketWatch in May of 2023.

About

Python scripts for BAFI 550

License:GNU General Public License v2.0


Languages

Language:Python 99.3%Language:Makefile 0.7%