md_stock_financials: get financial statements

Description Usage Arguments Examples

View source: R/md_stock_fs.R

Description

md_stock_financials provides an interface to query financial statements and indicators of listed companies in SSE and SZSE.

Usage

1
2
md_stock_financials(symbol, type = NULL, source = "163",
  print_step = 1L)

Arguments

symbol

symbol of stock in China.

type

the type of financial statements.

print_step

A non-negative integer, which will print symbol name by each print_step iteration. Default is 1.

region

only cn (China) is available.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
## Not run: 
# interactively specify type of financial table 
dat1 = md_stock_financials("000001")

# manually specify type of financial table
# type = "fr0"
dat2 = md_stock_financials("000001", type="fr0")
# or type = "fr0_summary"
dat3 = md_stock_financials("000001", type="fr0_summary")

# multiple symbols and statements
dat4 = md_stock_financials(c("000001", "600000"), type = "fi")


## End(Not run)

ShichenXie/getpedr documentation built on Feb. 16, 2019, 5:47 a.m.