pline {cryptoQuotes}R Documentation

Line Chart

Description

[Experimental]

A high-level plotly::plot_ly()-function for charting Open, High, Low and Close prices.

Usage

pline(price = "close", ...)

Arguments

price

A character-vector of length 1. "close" by default.

...

For internal use. Please ignore.

Value

An invisible plotly::plot_ly()-object.

Author(s)

Serkan Korkmaz

See Also

Other price charts: chart(), kline(), ohlc()

Examples

# script start;

# Charting BTC using
# line charts with closing price
# as main chart
cryptoQuotes::chart(
  ticker = BTC,
  main   = cryptoQuotes::pline(),
  sub    = list(
    cryptoQuotes::volume()
  )
)

# script end;

[Package cryptoQuotes version 1.3.1 Index]