Returns

Contents

ROI

Definition

The return on investment for the asset assuming a purchase 12 months prior.

Name
MetricID
Unit
Interval

ROI, 1 Year

ROI1yr

Dimensionless

1 day, 1 hour

ROI, 30 Days

ROI30d

Dimensionless

1 day, 1 hour

Details

Calculated as PriceUSD Change/PriceUSD Previous*100

Release History

  • Released in the 1.0 release of NDP

Availability for Assets

API Endpoints

Exchange Deposits metrics can be accessed using these endpoints:

  • timeseries/asset-metrics

and by passing in the metric ID's ROI* in the metrics parameter.

GET undefined/timeseries/asset-metrics

curl --compressed "https://api.coinmetrics.io/v4/timeseries/asset-metrics?metrics=ROI1yr&assets=btc&pretty=true&api_key=<your_key>"

Last updated