Skip to main content
Though decentralized finance has garnered significant attention in recent years, centralized exchanges remain a crucial cornerstone of the crypto asset industry. These trading venues serve as some of the deepest pools of liquidity for the top crypto assets, and facilitate the onboarding and offboarding of millions of users by sitting at the intersection of digital assets and fiat currencies. Coin Metrics collects a wide variety of data from a universe of 39+ top crypto exchanges, allowing our users to easily assess exchange dominance, asset trading volumes, and even the composition of trading patterns in specific markets.

Resources

This notebook demonstrates basic functionality offered by the Coin Metrics Python API Client and Market Data Feed. Coin Metrics offers a vast assortment of data for hundreds of cryptoassets. The Python API Client allows for easy access to this data using Python without needing to create your own wrappers using requests and other such libraries. To understand the data that Coin Metrics offers, feel free to peruse the resources below.

File Download

Download the entire notebook as either a jupyter notebook to run yourself or as a pdf from the two links below MDF_exchange_volume.ipynb MDF_exchange_volume.pdf

Notebook Setup

Daily Exchange Volumes

Coin Metrics creates aggregated metrics to allow users to easily compare the total trading volume of dominant centralized exchanges. By leveraging the timeseries/exchange-metrics endpoint, we can retrieve the daily reported spot trading volume for a single trading venue or a list of exchanges.

Asset Share

In addition to retrieving aggregated trading volumes for all markets on an exchange, we can also utilize the timeseries/market-candles to obtain the USD trading volume of individual markets on a particular exchange.
11032 rows × 10 columns
297 rows × 5 columns

Retrieve Trade Sizes

Trade size is a useful metric for understanding the composition of an exchange’s trading patterns. Is the platform more popular for retail traders, or large institutions? Which assets are driven by whale trades vs. small buys? These patterns are especially relevant for venues like Coinbase, where fee revenue is determined by trade size.