trday.count: trday.count

Description Usage Arguments Value Author(s) Examples

Description

get the count of the trading days between begT and endT.

Usage

1
2
trday.count(begT = as.Date("1990-12-19"), endT = Sys.Date(),
  stockID = NULL)

Arguments

begT

a Date object.The default is as.Date("1990-12-19")

endT

a Date object.The default is Sys.Date()

stockID

a character string or null. If null, the market trading days, other wise the trading days of specific stock.

Value

a integer

Author(s)

Ruifei.Yin

Examples

1
2
trday.count(as.Date("2012-01-01"),as.Date("2012-09-30"))
trday.count(as.Date("2012-01-01"),as.Date("2012-09-30"),stockID="EQ000527")

QuantAndrew/QDataGet documentation built on May 14, 2019, 7:35 a.m.