get_buz_day: Get business day

Description Usage Arguments Details Value Examples

View source: R/get_buz_day.R

Description

Get business day of stock market bewteen two days

Usage

1
get_buz_day(con, beg_dt, end_dt, ...)

Arguments

con

a connection

beg_dt

the begin date, can be integer or character format like %Y%m%d

end_dt

the end date, can be integer or character format like %Y%m%d

Details

The begin date and end date should not be the business day. The return vector will begin at the first business day after begin date.

Value

a vector of date

Examples

1
2
3
4
## Not run: 
get_buz_day(con, 20100101, 20110101)

## End(Not run)

cloud-brain/backtest documentation built on Feb. 6, 2020, 11:17 p.m.