nomics_candles_aggr: The candles endpoint returns aggregated open, high, low,...

Description Usage Arguments Value

Description

The candles endpoint returns aggregated open, high, low, close, and volume information for Nomics currencies. When asking for candles, a currency is provided as a parameter. Nomics aggregates all markets where the given currency is the base currency and the quote currency is a fiat currency, BTC, or ETH and returns all values in USD. Candles are aggregated across all markets for the base currencies, which necessitates converting to a common quote currency. Nomics converts all markets into USD in order to aggregated candles.

Usage

1
2
nomics_candles_aggr(interval = "1d", currency = "btc", start = NULL,
  end = NULL)

Arguments

interval

(optional) Time interval of the candle ('1d' or '1h'). Default is '1d'.

currency

(optional) Currency ID. Default is 'btc'

start

(optional) Start time of the interval in POSIXct format. If not provided, starts from first candle.

end

(optional) End time of the interval in POSIXct format. If not provided, the current time is used.

Value

A list of candles


SovereignNode/cryptor documentation built on May 13, 2019, 11:55 p.m.