get_crypto_quotes: Scrap crypto quotes data

Description Usage Arguments Value

View source: R/get_crypto_quotes.R

Description

Scrap crypto quotes data

Usage

1
2
3
4
5
6
7
get_crypto_quotes(
  crypto_id = 1,
  currency = "USD",
  interval = "1h",
  time_start = Sys.Date() - 5,
  time_end = Sys.Date()
)

Arguments

crypto_id

Id of crypto asset

currency

In which currency to show value of the crypto asset

interval

Time interval; can be '1h' or '1d'

time_start

date objecct, start of series

time_end

date objecct, end of series

Value

data.table of quotes and metadata


MislavSag/financeScrap documentation built on Feb. 14, 2021, 12:23 a.m.