Data used

The data that we will use will be the standard and poor's 500. According to Wikipedia, it is An American stock market index based on the market capitalizations of 500 large companies having common stock listed on the NYSE or NASDAQ. Here is a link to the data (https://ca.finance.yahoo.com/quote/%255EGSPC/history?p=%255EGSPC).

The data has the following columns:

  1. Date: This indicates the date under consideration
  2. Open: This indicates the price at which the market opens on the date
  3. High: This indicates the highest market price on the date
  4. Low: This indicates the lowest market price on the date
  5. Close: This indicates the price at which the market closes on the date, adjusted for the split
  6. Adj Close: This indicates the adjusted closing ...

Get Python Reinforcement Learning Projects now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.