• Stars
    star
    142
  • Rank 258,495 (Top 6 %)
  • Language
    Python
  • License
    GNU Affero Genera...
  • Created over 3 years ago
  • Updated about 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

ColinTalksCrypto Bitcoin Bull Run Index (CBBI)

Python version Project license GitHub Repo stars

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 10 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, check out this video.

Visit our website

Bookmark it and receive latest CBBI updates.

Script Demo

asciicast

Docker Usage

To use the CBBI script with Docker, run the following command:

$ docker run --rm --pull=always zaczero/cbbi --help
$ docker run --rm --pull=always zaczero/cbbi

Manual Usage

To use the CBBI script without Docker, follow these two simple steps:

1. Install nix

Before you jump in, make sure to install the ❄️ Nix package manager. It's your shortcut to seamless dependency management and reproducible environment setup. It will save you lots of time and spare you from unnecessary stress.

2. Run the application

nix-shell --run "python main.py --help"

or with using interactive shell:

nix-shell
python main.py --help

Metrics

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

Name Link
Pi Cycle Top Indicator Visit page
RUPL/NUPL Chart Visit page
RHODL Ratio Visit page
Puell Multiple Visit page
2 Year Moving Average Visit page
Bitcoin Trolololo Trend Line Visit page
MVRV Z-Score 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.

To use this feature, create a file called .env in the project's root directory, and add environment variables in the following format:

VARIABLE_NAME=value

GLASSNODE_API_KEY

Defines an API key to be used during GlassNode fallback requests. If unset or empty, a cache fallback will be used instead (via CBBI.info).

Example usage

  • GLASSNODE_API_KEY=REPLACE_ME

TELEGRAM_TOKEN, TELEGRAM_CHAT_ID

Define both variables to receive Telegram notifications about metric errors that occur during the execution.

Example usage

  • TELEGRAM_TOKEN=REPLACE_ME
  • TELEGRAM_CHAT_ID=123456

Footer

Contact me

https://monicz.dev/#get-in-touch

License

This project is licensed under the GNU Affero General Public License v3.0.

The complete license text can be accessed in the repository at LICENSE.

More Repositories

1

DNSChanger

🔧 The ultimate Windows DNS changer tool (with DNSCrypt)
C#
113
star
2

openstreetmap-ng

🚀 The Next Generation of OpenStreetMap — in Python!
Python
72
star
3

osm-revert

⏪ OpenStreetMap Changeset Reverter — CLI + Website
Python
63
star
4

osm-relatify

🚍 OpenStreetMap Public Transport Made Easy! — Web Editor
Python
59
star
5

Kumo

🍹 Nginx DDoS mitigation project
C#
47
star
6

SharpLoader

🔮 [C#] Source code randomizer and compiler
C#
39
star
7

btcpredict

📈 Bitcoin bull run peak prediction project (price and date)
Python
38
star
8

2Captcha

🍬 Simple API wrapper for https://2captcha.com
C#
32
star
9

php-electrum-class

🔮 It's time to accept Bitcoin payments with no third-party/KYC
PHP
24
star
10

osm-yolo-crossings

🦓 AI-powered OpenStreetMap tool for importing zebra crossings
Python
23
star
11

bootstrap-v4-snippets

📦 Bootstrap v4 Snippets for VS Code
HTML
22
star
12

jsfuck.php

🔮 Write any JavaScript with 6 Characters: []()!+ in PHP!
PHP
22
star
13

teodle

🎮️ Teodle is a website for Teo to watch game clips and guess the ranks
Python
21
star
14

LinqFasterer

Set of fast LINQ-like extension methods for arrays and lists. Fine-tune your code for the maximum performance.
C#
20
star
15

AntiCaptcha

🍬 Simple HTTP API wrapper for https://anti-captcha.com
C#
19
star
16

Tor4NET

🍝 An all-in-one solution to fulfill your .NET dark web needs
C#
17
star
17

google-photos-takeout.sh

🔧 Fixes Google Photos Takeout metadata
Shell
15
star
18

WinFLIF

🔧 FLIF image converter for Windows
C#
14
star
19

osm-budynki-orto-import

🏠 OpenStreetMap, AI import tool for buildings in Poland
Python
14
star
20

SimpleMbrOverride

☣️ Simple Master Boot Record (MBR) override example
C#
14
star
21

10MinuteMail.net

🍬 Simple API wrapper for https://10minutemail.net/
C#
12
star
22

starlette-compress

Compression middleware for Starlette - supporting ZStd, Brotli, and GZip
Python
11
star
23

osm-countries-geojson

🗺️ OpenStreetMap Countries GeoJSON — updated daily!
Python
11
star
24

py-lib-collection

📦 A categorized collection of useful Python libraries
9
star
25

ForceSpotifySync

🔧 Force Spotify to sync with this simple tool
C#
7
star
26

Thanos

🧩 Mass-revert extension designed for osm-revert
Python
6
star
27

PurgeMyDiscord

🗑️ Simple tool for deleting Discord messages
C#
4
star
28

Skype-AdBlock

📛 Skype AdBlock for Windows
C#
4
star
29

10MinuteMail

🍬 Simple API wrapper for https://10minutemail.com/
C#
4
star
30

pihole-phishtank

🐟 PhishTank Blocklist for Pi-hole
Shell
4
star
31

PersonalAI-2021

School project using which everyone is be able to create their very own personal AI Q&A assistant.
Python
3
star
32

XorPasswordFinder

🔧 Simple tool for finding XOR passwords
C#
2
star
33

osm-addr-bot

🗺️ Configurable OpenStreetMap changeset validation bot
Python
1
star
34

osm-warszawa-restauracje

🏙️ OpenStreetMap import tool for restaurants from um.warszawa.pl
Python
1
star
35

osm-route-distance-feed

🗺️ Script that checks for distance changes on a given OpenStreetMap route and provides updates via RSS feed
Python
1
star