Hi Team ,
Need small help .. I just want to pass time stamps for end and start . How can I do this in below code
could you please help me with this
For example
Start as todays morning 09:15 AM
and end as current time stamp
Need small help .. I just want to pass time stamps for end and start . How can I do this in below code
could you please help me with this
For example
Start as todays morning 09:15 AM
and end as current time stamp
tech_list = ['AAPL','GOOG','MSFT','AMZN']
end = datetime.now()
start = datetime(end.year - 1,end.month,end.day)
for stock in tech_list:
# Set DataFrame as the Stock Ticker
globals()[stock] = DataReader(stock,'yahoo',start,end)
