git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
| def calc_allocations(self, date, quantity, cap): | |
| """Figure out ideal allocations for a given date""" | |
| # { | |
| # coin_name: (percent_allocation, data) | |
| # } | |
| top_market = self.get_top_market(date, quantity) | |
| total_cap = sum([coin.market_cap for coin in top_market]) | |
| allocations = [{ |
git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream