Learn R Programming

cryptoQuotes (version 1.3.4)

ohlc: OHLC Barchart

Description

[Experimental]

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

Usage

ohlc(...)

Value

An invisible

plotly::plot_ly()-object.

Arguments

...

For internal use. Please ignore.

Author

Serkan Korkmaz

See Also

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

Examples

Run this code
# script start;

# Charting BTC using
# OHLC-bars as main
# chart
cryptoQuotes::chart(
  ticker = BTC,
  main = cryptoQuotes::ohlc(),
  sub = list(
    cryptoQuotes::volume()
  )
)

# script end;

Run the code above in your browser using DataLab