Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 03-return_of_a_portfolio_of_securities.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

# Get the historical data for each stock and add it to the dataframe
for t in tickers:
mydata[t] = yf.download(t, start='2023-01-01', end='2023-05-11')['Adj Close']
mydata[t] = yf.download(t, start='2023-01-01', end='2023-05-11')['Close']

# Print the dataframe information
print(mydata.info())
Expand Down