Plot the price of cryptocurrency

plot_price(df = price_df)

Arguments

df

data frame with time and price data.

Value

ggplot object

Examples

price_df <- data.frame('Symbol'=c('BTC-USDT','BTC-USDT'),
'Date'=c('2022-01-15', '2022-01-16'),
'Close'=c(1.5, 2.5))
{plot_price(df = price_df)}
#> geom_path: Each group consists of only one observation. Do you need to adjust
#> the group aesthetic?