If you're a masochist like me, you like to use Excel to manage your portfolio.
The amount of customization and control is simply unparalleled.
I can see nice graphs and visual aids that show me which of my altcoin investments are growing most, track my fiat conversions, and so much more, but typing in all those prices, market caps, and stats is a pain. Here I'm going to show you how to pull live data from two different websites so that you too can make the Excel spreadsheet of your dreams.
I'm going to go over two different sites that provide formatted data "tickers" that are meant for exactly this purpose.
Using Coinmarketcap.com API
You've probably used coinmarketcap before, but maybe you didn't know that they have a very comprehensive API you can use for tracking live stats on all their coins.
Below are some examples of the type of optional parameters you can use to limit the amount of top coins you get and convert to a different fiat currency.
Unfortunately, pulling multiple coins means they are sorted by coin rank based on market cap. That means the order of coins changes, and we can't have that in our Excel file if we want to use simple cell references.
The way around this is to add specific coins one at a time. To see a specific coin, use:
Note that we can use the "?convert=EUR" or other fiat conversion options on these:
For global stats, we use:
Using Coincap.io API
Coincap.io is relatively new the game, but they're quickly growing to be the most popular.
Coincap does things a little differently.
To see a list of all the coins, we use:
To see if the coin you want info on is supported, do a ctrl-f search for it on:
One thing we can do with Coincap is see the history of the coin.
To see the history over 1 day for Bitcoin, we would use:
We can do 1, 7, 30, 90, 180, and 365 days, or just use http://www.coincap.io/history/BTC to see all history.
For individual coin data *:
*Individual coin data doesn't seem to be working, see https://github.com/CoinCapDev/CoinCap.io/issues/19 for more info.
Getting Data Into Excel
To access the API from Excel, we go to the Data tab and click the "Get Data" option.
Go down to "From Other Sources" and over to "From Web".
As I mentioned before, we are going to want to import data one coin at a time so that the relative cell index doesn't change when the coin rank based on market cap changes.
There are other, more complicated, ways around this, but this is them method I use.
Also, since the Coincap site is having issues with individual coins, I'm going to use Coinmarketcap.com.
Let's get some data for Ethereum. If you want a certain fiat conversion, you need to use one of the ticker URLs that had /?convert=EUR at the end:
One of the things I like to do is rename the Query.
Now we need to hit the "To Table" convert option:
Leaving these options at their defaults is good.
I highly recommend renaming the entry to the name of the coin, underlined in red.
Then we need to click the button with two outward arrows, squared in blue:
Here we can check off which of the stats we actually want in our sheet.
I like to create a separate page in my Excel file where I put tickers for all the coins I'm tracking, so import everything here since it's not going to get in the way.
Now just hit "Close & Load" and your live data query will be put into a new sheet.
From here, I go to the Design Tab and select a more aesthetically pleasing style.
Once you're done moving your data where you want it and styling it out, we need to click in the query field and hit ctrl-a to select the entire thing.
On the Design Tab, select the Properties option.
Click the "Query Properties" button
Here you can check off "Refresh every" and "Refresh data when opening the file" options.
Tutorial: Auto Updating Cryptocurrency Portfolio on Excel Spreadsheet
The fastest you can refresh your data is every 1 minute.
Now hit OK a couple times and you're all set!
Just repeat this process for each coin you want to track, I know - it can take a while, but then they sky is the limit for what kind of analytics you create to help you keep your portfolio going.
If you're really crazy, you can donate Ethereum and ERC20 tokens to 0x93cB484e1130358EaBE927a46c094889D9f15E2B.
Please leave comments below about what content you'd like to see in the future!