Learn R Programming

qrmdata (version 2024-03-04-2)

crypto: Cryptocurrency Prices in USD

Description

Bitcoin, Ethereum, Litecoin and Ripple prices in USD (from their first available date onwards).

Usage

data("crypto")

Arguments

Format

xts object containing cryptocurrency prices in USD of Bitcoin (ticker symbol ``BTC-USD''), Ethereum (ticker symbol ``ETH-USD''), Litecoin (ticker symbol ``LTC-USD'') and Ripple (ticker symbol ``XRP-USD'') from their first available date onwards.

Author

Marius Hofert

Examples

Run this code
data("crypto")
str(crypto)
library(xts)
plot.zoo(crypto, main = "Cryptocurrencies in USD", xlab = "Time")

Run the code above in your browser using DataLab