A cryptocurrency index for the masses.
- use the CoinMarketCap API to figure out the relative market cap of the top N coins (e.g., N = 15)
- use the binance API to query the portfolio of the user
- write a CSV file of sells and buys to make on binance
- Clone the this repo:
git clone git@github.com:jeffreywescott/coindex.git
- Create your
binance.json
file usingbinance.json.sample
- Run the
rebalance
script:yarn run rebalance
- right now, all it does is save CSV files of the top coins and the non-zero portfolio balances
- name mismatches between CoinMarketCap and binance aren't handled appropriately