stock_basic: Get basic stock market information

Description Usage Arguments Value Examples

View source: R/basic.R

Description

Get basic stock market information

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
stock_basic(is_hs = c("", "N", "H", "S"), list_status = c("", "L", "D",
  "P"), exchange = c("", "SSE", "SZSE", "HKEX"),
  date_format = c("POSIXct", "Date", "char"), ...)

trade_cal(exchange = c("", "SSE", "SZSE"), start_date = "",
  end_date = "", is_open, date_format = c("POSIXct", "Date", "char"),
  ...)

hs_const(hs_type = c("SH", "SZ"), is_new = c("1", "0"),
  date_format = c("POSIXct", "Date", "char"), ...)

namechange(ts_code = "", start_date = "", end_date = "",
  date_format = c("POSIXct", "Date", "char"), ...)

stock_company(exchange = c("SSE", "SZSE"), date_format = c("POSIXct",
  "Date", "char"), ...)

new_share(start_date = "", end_date = "", date_format = c("POSIXct",
  "Date", "char"), ...)

Arguments

is_hs

Flag for Shenzhen/Shanghai-Hong Kong Stock Connect#'

list_status

List status

exchange

Exchange market

date_format

How to cast datetime format.

...

futher arguments passed

start_date

Start date

end_date

End date

is_open

Whether the market is open

hs_type

Type of Shenzhen/Shanghai-Hong Kong Stock Connect

is_new

Whether the stock is new

ts_code

Tushare equity code

Value

data.frame/data.table

Examples

1
2
3
4
## Not run: 
stock_basic()

## End(Not run)

imlijunda/TushareR documentation built on Dec. 2, 2019, 3:25 a.m.