Skip to contents

[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.

See also

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

Author

Serkan Korkmaz

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;