Skip to main content
Options contracts have become an increasingly liquid segment of crypytoasset derivatives. Coin Metrics currently offers options data through various endpoints in our Market Data Feed offering. Available endpoints include market greeks, implied volatility, contract prices, market quotes, open interest, and more.

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_options_exploration.ipynb MDF_options_exploration.pdf

Notebook Setup

Query Examples

Retrieving Market Greeks


Retrieving Market Quotes


Retrieving Contract Prices


Retrieving Open Interest


Plotting Options ‘Volatility Smiles’


‘Volatility smiles’ are a popular options data visualization tool that help traders understand predicted asset volatility across various contract expiration dates. The ‘smile’ is plotted by mapping the strike price and implied volatility of a group of options with the same underlying asset and expiration date.

Catalog Endpoint

The Coin Metrics API contains two types of catalog endpoints (Python client functions in paranthesis): the catalog (catalog_*) and catalog-all (catalog_full_*). The catalog endpoint displays the set of data available to your API key. The catalog-all endpoint displays the full set of data for CM Pro users. Catalog objects return a list of dictionaries. For catalog_full_market_implied_volatility_v2, each element of the list is an option market that supports implied volatility data.
40442 rows × 3 columns

Collect Contract Reference Data

1008 rows × 6 columns

Retrieve Implied Volatility

1006 rows × 7 columns
1006 rows × 2 columns
503 rows × 7 columns

Plotting Calls vs. Puts by Open Interest

1387 rows × 3 columns
825 rows × 6 columns
825 rows × 6 columns