Last active
September 15, 2020 02:17
-
-
Save shashankvemuri/ee33f9daae70dfbb08dbe72a8d32b26f to your computer and use it in GitHub Desktop.
Intro
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 numpy as np | |
import warnings | |
from pandas_datareader import data as pdr | |
import yfinance as yf | |
import datetime as dt | |
from yahoo_fin import stock_info as si | |
import pandas as pd | |
pd.set_option('display.max_rows', None) | |
warnings.filterwarnings("ignore") | |
yf.pdr_override() | |
num_of_years = 1 | |
start = dt.date.today() - dt.timedelta(days = int(365.25*num_of_years)) | |
end = dt.date.today() | |
tickers = si.tickers_dow() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment