An open API service indexing awesome lists of open source software.

https://github.com/primaryobjects/stock-predictions

Stock market predictions for the S&P 500, submitted by users of a financial forum.
https://github.com/primaryobjects/stock-predictions

Last synced: 10 months ago
JSON representation

Stock market predictions for the S&P 500, submitted by users of a financial forum.

Awesome Lists containing this project

README

          

S&P 500 Stock Predictions
-------------------------------

A dataset of stock predictions from 2010 to 2017, submitted by forum community users as part of the bogleheads.org stock market prediction contest.

This project collects all user guesses for the ending price of the stock market's S&P 500 at the end of the year. Users submit their guesses within the first 10 days of the year.

## The Dataset

Data was collected from forum postings from the years 2010 to 2017. Each post was made during the first week of the year, and contained a prediction for the ending price of the S&P 500 for the given year.

Download the [raw](https://raw.githubusercontent.com/primaryobjects/stock-predictions/master/data/predictions-raw.csv) or [pre-processed](https://raw.githubusercontent.com/primaryobjects/stock-predictions/master/data/predictions.csv) dataset as a CSV file.

The dataset contains the following fields:

"id" - A unique id for the original form post.

"author" - User name of the guess.

"history" - Total number of posts made by the user.

"date" - Date of the guess.

"bid" - S&P 500 ending year guess.

"bull" - True if the guess is greater than the S&P 500 opening day price.

The predictions-raw CSV file contains stock market predictions, collected in their raw form, directly from user postings. The pre-processed CSV file removes bids beyond the contest ending data, removes duplicates, removes missing bids, removes the introduction post, and adds the "bull" column.

## Results

Charts are available for each [year](https://github.com/primaryobjects/stock-predictions/tree/master/images) in the dataset. The following were produced from the dataset for the year 2017.

![2017 S&P 500 Predicitions](https://raw.githubusercontent.com/primaryobjects/stock-predictions/master/images/2017/bids-2017.png)

![Are predictions bullish or bearish in 2017?](https://raw.githubusercontent.com/primaryobjects/stock-predictions/master/images/2017/bullsvsbears-2017.png)

![Histogram of Predicitions](https://raw.githubusercontent.com/primaryobjects/stock-predictions/master/images/2017/histogram-2017.png)

![Overview of Predicitions](https://raw.githubusercontent.com/primaryobjects/stock-predictions/master/images/2017/overview-2017.png)

![Bulls vs Bears by Year](https://raw.githubusercontent.com/primaryobjects/stock-predictions/master/images/bulls-vs-bears.png)

![Bearish Sentiment by Year](https://raw.githubusercontent.com/primaryobjects/stock-predictions/master/images/bear-sentiment.png)

## References

[Bogleheads.org](https://www.bogleheads.org/)

[DieHards Stock Prediction Archive](http://www.lostoak.com/ls/diehards/contest/)

## Copyright

Copyright (c) 2017 Kory Becker http://primaryobjects.com/kory-becker

## Author

Kory Becker
http://www.primaryobjects.com