amberdata_market_metrics {cryptotrackr}R Documentation

amberdata_market_metrics

Description

amberdata_market_metrics

Usage

amberdata_market_metrics(api_key, symbol, timeout_seconds = 60)

Arguments

api_key

your Amberdata API key

symbol

the asset symbol you wish to receive metrics for

timeout_seconds

seconds until the query times out. Default is 60.

Value

returns a list containing market metrics for the specified symbol.

Examples

## Not run: 
api_key <- "..."
metrics <- amberdata_market_metrics(api_key, "btc")
## End(Not run)

[Package cryptotrackr version 1.3.3 Index]