Skip to the guide
BTCETHMarket cap (coins we track)BTC dominance (coins we track)

Build your own crypto index

CryptoKeyhole’s basket builder turns any mix of coins, long or short, into one index rebalanced every day, then shows how it would have done against Bitcoin.

Short

Your basket

Long

Or start from one of these

 

 

BasketBitcoinBoth start from 100

What each coin did

How the index is worked out

The weights you enter are scaled so that longs and shorts together make 100%. Each day’s return is the weighted sum of the coins’ returns from one daily close to the next, a short counting as the opposite of its coin, and the index compounds those daily returns from 100 on its first day. The basket is set back to its weights every day, so a winner is trimmed and a loser topped up.

It starts on the first day every coin has a price and ends on the latest day they all do. If a coin has no close on a day, it sits that day out and the others are scaled up to fill its place, the same rule as our sector indices. Closes are the same cleaned daily prices behind our price history pages.

What it leaves out

Funding on perpetual futures, the cost of borrowing a coin to short it, trading fees and slippage. A real book would pay or earn all of these, and resetting small coins every day would be costly in practice, so read the line as a measure of a view rather than a record of what could have been banked.

“Added” in the table is the sum of the coin’s weighted daily returns in percentage points, so it does not add up to the compounded total.

Use it elsewhere

The starting baskets are free as JSON with no key: GET /api/v1/basket?preset=ether-against-bitcoin. Your own baskets (weights=BTC:50,ETH:30,SOL:-20) and CSV need Plus when signed in, and an API key needs Pro. How to get a key. Next to this: the correlation matrix and coins compared side by side.