is_st: Test if the stock is st or not

Description Usage Arguments Value Examples

View source: R/is_st.R

Description

Test if the stock is st or not at business day

Usage

1
is_st(con, wind_code, buz_day, ...)

Arguments

con

a tiny connection

wind_code

vecter of future code list in wind_code format

buz_day

integer or character format like %Y%m%d, test for this day

Value

a data.frame with stock code and flag that 1 means st and 0 not

Examples

1
2
3
4
## Not run: 
is_st(con, c('600000.SH','000001.SH'), 20110104)

## End(Not run)

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