default_dates {cryptoQuotes}R 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(), convert_date(), fetch(), flatten(), is.date()


[Package cryptoQuotes version 1.3.0 Index]