Automatic Calculation of CAPM and Beta with Python

Calculating a stocks Beta and CAPM with python

The code of the calculation are in the following .py file

This code receives as input a list of stock and a start and end datetime then the code extracts the neccesary data from Yahoo Finance to then make the proper calculations and export the file as a .csv file

API: Extract and Transform financial statement on bulk to obtain financial ratios