ohlc {cryptoQuotes}R Documentation

OHLC Barchart

Description

[Experimental]

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

Usage

ohlc(...)

Arguments

...

For internal use. Please ignore.

Value

An invisible plotly::plot_ly()-object.

Author(s)

Serkan Korkmaz

See Also

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

Examples

# script start;

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

# script end;

[Package cryptoQuotes version 1.3.1 Index]