Skip to content

A short analysis and prediction of Nvidia stock prices based on past prices.

Notifications You must be signed in to change notification settings

rachelsohzc/Nvidia-stock-analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Nvidia stock analysis

Overview

I've been interested in investing in the stock market lately. I thought doing this project might help me learn more about valuing companies and deciding what stocks to invest in. This is a short project where I analyse Nvidia stocks using past information. Some key questions that I wanted to answer in this project are:

  1. What was the change in price of stock over time? [COMPLETE]
  2. What was the daily and monthly return of the stock? [COMPLETE]
  3. What is the stock's moving average? [COMPLETE]
  4. How much risk do we take by investing in this stock? [COMPLETE]
  5. How can we predict future stock behavior with statistical models?

Description

The first few questions are easy to answer through a couple of plots. Regarding predictions of the stock, I had to read up a bit on time series forecasting. The dataset used in this analysis can be found here: https://www.kaggle.com/kalilurrahman/nvidia-stock-data-latest-and-updated/version/3

How to run

Make sure you've downloaded the dataset, then run the Nvidia Stock analysis.ipynb jupyter notebook.

Conclusion

References

  1. ARIMA model
  2. Predictions with LSTM
  3. Matplotlib.pyplot guide
  4. Time series forecasting
  5. .loc function
  6. Fundamental vs technical analysis
  7. Moving average
  8. Cumulative returns
  9. Calculating risk
  10. Augmented Dickey Fuller Test
  11. Kwiatkowski–Phillips–Schmidt–Shin test
  12. Technical analysis

About

A short analysis and prediction of Nvidia stock prices based on past prices.

Topics

Resources

Stars

Watchers

Forks