import datetime as dt import matplotlib.pyplot as plt from matplotlib import style import pandas as pd import pandas_datareader.data as web style.use('ggplot') start = dt.datetime(2000,1,1) end = dt.datetime(2020,5,22) df = web.DataReader('TSLA' , 'yahoo' , start , end) df.to_csv('tsla.csv')
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)