Skip to content
/ CBBI Public
forked from Zaczero/CBBI

📊 The official Python implementation of the ColinTalksCrypto Bitcoin Bull Run Index (CBBI)

License

Notifications You must be signed in to change notification settings

oiasam/CBBI

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ColinTalksCrypto Bitcoin Bull Run Index (CBBI)

The official Python implementation of the ColinTalksCrypto Bitcoin Bull Run Index (CBBI).

The CBBI is a Bitcoin index that utilizes advanced, real-time analysis of 11 metrics to help us understand what stage of the Bitcoin bull run and bear market cycles we are in. The CBBI is time-independent and price-independent. It simply indicates whether it believes we are approaching the top/bottom of a Bitcoin cycle.

If you want to learn more, watch this video.

Visit our website

Bookmark it to receive latest CBBI updates.

Check out this demo

asciicast

Usage

Recommended Python version: 3.9

Install required packages

$ pip install -r requirements.txt

Execute the script

$ py main.py --help
$ py main.py

Metrics

The current CBBI version (November 2021) includes the following metrics:

Name Link
Google Trends for "Bitcoin" Visit page
Halving-to-Peak Days Visit page
Pi Cycle Top Indicator Visit page
2 Year Moving Average Visit page
Bitcoin Trolololo Trend Line Visit page
RUPL/NUPL Chart Visit page
Puell Multiple Visit page
MVRV Z-Score Visit page
RHODL Ratio Visit page
Reserve Risk Visit page
Woobull Top Cap vs CVDD Visit page

Environment variables

This project supports .env files which provide a convenient way of setting environment variables.

GOOGLE_PROXY

Defines a requests-supported proxy string used during Google Trends metric calculation. If unset or empty, a direct connection will be made. May be used to resolve the Google returned a response with code 429 issue.

Example usage

Footer

Contact

About

📊 The official Python implementation of the ColinTalksCrypto Bitcoin Bull Run Index (CBBI)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 94.8%
  • PHP 5.2%