default_dates: Get the minimum and maximum date range

View source: R/helper.R

default_datesR Documentation

Get the minimum and maximum date range

Description

[Experimental]

All available_exchanges() have different limitations on the returned data this function is adaptive in nature so enforces compliance on the limits

Usage

default_dates(interval, from = NULL, to = NULL, length = 200, limit = NULL)

Arguments

interval

A character-vector of length 1. ⁠1d⁠ by default. See available_intervals() for available intervals.

from

An optional character-, date- or POSIXct-vector of length 1. NULL by default.

to

An optional character-, date- or POSIXct-vector of length 1. NULL by default.

length

a numeric-value of length 1. The desired distance between from and to.

Value

A vector of minimum and maximum dates.

Author(s)

Serkan Korkmaz

See Also

Other development tools: GET(), chart_layout(), convert_date(), fetch(), flatten(), is.date()


cryptoQuotes documentation built on April 4, 2025, 2:33 a.m.