This repository was archived by the owner on Nov 18, 2020. It is now read-only.

Description
Currently, the weights for the Index Fund are being pulled from https://index-am.coinbase.com//v2/indices/cbi/composition.json to match Coinbase's weights.
The goal here is to do this all automatically with an official calculation, that uses the same formula Coinbase does. That way, if Coinbase ever changes the url or otherwise removes the ability to get this information, the code can still work properly.
Their methodology can be found here.