Skip to content

A daily Docker job to monitor Bitcoin Bull Run Index. This makes timing of your investments just a little easier.

Notifications You must be signed in to change notification settings

chrisswanda/Bitcoin-Bull-Run-Index-CBBI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

The Colin Talks Crypto Bitcoin Bull Run Index (CBBI) is located here if you need more background - https://colintalkscrypto.com/cbbi/.

The CBBI also has an open API located here - https://colintalkscrypto.com/cbbi/data/latest.json

I wanted a way to check the daily CBBI index, automagically, along with checking to see what the trend was, the days before the Halving and the current BTC price. I'm sure there are more eligant ways to do this, but I have a bare bones Raspiberry Pi that lives somewhere in my house that just does utilitarian things, such as running docker jobs or various scripts. Now it is doing one more thing.

So I built this little janky script, and I am having it run as a docker job via cron every morning at 7 am, and emails me the results. At some point I'll probably integrate Apprise so that I can have multiple messaging options. Or maybe I won't. Who knows.

To use, clone this repo.

Then build the image - docker build --tag cbbi .

edit your crontab to have - 0 7 * * * docker run --rm -v --name cbbi | mail -s "CBBI" myemail@example.com

When it runs it will output:

Estimated days until the Halving: 30
Trend: Down
Last 7 CBBI values: 81%, 81%, 81%, 80%, 79%, 78%, 79%
Current price of Bitcoin (in USD): $66512

Then enjoy them sweet, sweet BTC returns by trying to time the market.

About

A daily Docker job to monitor Bitcoin Bull Run Index. This makes timing of your investments just a little easier.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published