/fear-greed-data

A historical copy of CNN's Fear and Greed Dataset

Primary LanguageJupyter Notebook

Description

The CNN's Fear and Greed website doesn't offer a historical dataset and the datasets that do exist have different values.

I tried to collect the most accurate data I could find combining three different sources into one file. I have included where i found the data and the csv/json.

Datasets

I have pulled multiple datasets and json files from different websites that had historical Fear and Greed data. I've included them in the datasets and json folder.

Openstockalert.com

Hackingthemarkets

alexey-formalmethods

macromicro.me

cnn.com

archive.org scrape

  • Scraped available data from 2012-2022 from waybackmachine
  • Not everyday is covered
  • File: archive_org_fear_greed_data.csv

Correlation with archive.org data

Higher the coefficent the more correlated with archive.org data:

DATASET CORRELATION
openstockalert_fear_greed_data: 0.4078
alexey-formalmethods_fear_greed_data: 0.4029
macromicro_fear_greed_data: 0.3437

Combining all the Data

I've combined the early data from Hackingthemarket (2011-2016) with openstockalert data (2016-2022) then combined with latest data from CNN (2022-2023).

  • File: fear-greed-2011-2023.csv

About the data

As a general rule these are the ranges for the data

EMOTION RANGE
Extreme Fear 0-24
Fear 25-49
Neutral 50
Greed 51-74
Extreme Greed 75-100

Number of total days in each range from 2011-2023

Range Days
Extreme Fear 503 days
Fear 1072 days
Neutral 1283 days
Greed 240 days
Extreme Greed 154 days

Average number of days in each range from 2011-2023

Range Average Duration (Days)
Extreme Fear 41.6
Fear 56.8
Neutral 16.0
Greed 11.8
Extreme Greed 7.7