read_ohlcv: Read OHLCV csv

Description Usage Arguments Value Examples

View source: R/csv.R

Description

First column must be the date, and the second must be the time component (optional)

Usage

1
2
read_ohlcv(filename, orders = c("ymd HMS", "ymd HM"), exact = FALSE,
  log = FALSE, info = FALSE)

Arguments

filename

path to file

orders

a character vector of date-time formats. See parse_date_time.

exact

use exact parsing. See parse_date_time.

log

should log which file is read.

info

show additional info about file.

Value

a xts

Examples

1
read_ohlcv("ohlc.csv")

jmayalag/OHLCMerge documentation built on April 1, 2021, 3:34 a.m.