ohcl: Get Market data in OHCL Format

Description Usage Arguments Value Examples

View source: R/ohcl.R

Description

Get Market data in OHCL Format

Usage

1
ohcl(isin, freq = "daily", interval = 1, from = Sys.Date() - 30)

Arguments

isin

character; ISIN of instrument to be retrieved.

freq

character; Frequency of time series to be retrieved, one of 'daily', 'hourly', 'min'

interval

character; Interval of time series, defaults to 1. E.g. freq = "hourly" and interval = 2 means every to hours.

from

character; Starting date to be retrieved in ISO format YYYY-mm-dd

Value

zoo objects with the columns "open", "high", "low" and "close"

Examples

1
2
# Get Data for Deutsche Post
ohcl("DE0005552004")

quantargo/lemonmarkets documentation built on Dec. 22, 2021, 10:57 a.m.