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 https://github.com/drincon02/Calculo-de-beta-y-capm-python/blob/main/financial_capm.py

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