adjust_ohlc: Perform dividen adjustment on OHLC data.

Description Usage Arguments Value

View source: R/eod.R

Description

Only open, high, low, close columns are ajusted.

Usage

1
2
3
4
5
adjust_ohlc(
  ohlc,
  adjust = c("forward", "qfq", "backward", "hfq"),
  api = TushareApi()
)

Arguments

ohlc

a data.table of OHLC data

adjust

Adjustment method

api

a tsapi object

Value

a data.table


imlijunda/tswbench documentation built on June 12, 2021, 12:45 p.m.