daily: Query daily OHLC data

Description Usage Arguments Value

View source: R/eod.R

Description

Query daily OHLC data

Usage

1
2
3
4
5
6
7
daily(
  ts_code,
  start_date = "",
  end_date = "",
  adjust = c("none", "forward", "qfq", "backward", "hfq"),
  api = TushareApi()
)

Arguments

ts_code

Tushare code

start_date

OPTIONAL, start date of OHLC

end_date

OPTIONAL, end date of OHLC

adjust

Dividen adjustment method

api

a tsapi object

Value

a data.table


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