Created
August 24, 2021 12:17
-
-
Save quantra-go-algo/35553a4c3f2cb566574c199daa53e628 to your computer and use it in GitHub Desktop.
Importing libraries
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Import the required libraries | |
import numpy as np | |
import pandas as pd | |
import yfinance as yf | |
import datetime | |
import matplotlib.pyplot as plt | |
## To use statsmodels for linear regression | |
import statsmodels.formula.api as smf | |
## To use sklearn for linear regression | |
from sklearn.linear_model import LinearRegression |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment