Skip to content

kangsangsoo/Coinbase_Premium_Index

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

Coinbase_Premium_Index in Python

CPI concept made by CryptoQuant

What means the Coinbase Premium Index(CPI)?
It shows difference between BTC/USD(in Coinbase pro) and BTC/USDT(in Binance).

CPI = (Coinbase Price) - (Binance Price) * (Tether Index)
CPI = BTC/USD - BTC/USDT * USDT/USD

It updates every 1~4 sec.
By checking CPI, we could predict that whales in US and Wall street sell or buy.
If CPI > (Constant) > 0 then, they bought.
If CPI < (Constant) < 0 then, they sold.

Acutally, I don't know size of Constant. I think... Constant > 50.
Recently, when BTC was 52 -> 54K, I saw CPI > 50.
Next day, BTC go 56K.

I use threading, tkinter, ccxt, time, tradingview_ta, cbpro module.
I try to construct thread...

Instruction

  1. Download CPI.py
  2. Install moudle
  pip install cbpro
  pip install ccxt
  pip install tradingview_ta
  1. execute by IDE or make .exe
  2. click start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages