pedquant (version 0.1.3)

md_stock_financials: query financial statements

Description

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

Usage

md_stock_financials(symbol, type = NULL, print_step = 1L)

Arguments

symbol

symbol of stock shares.

type

the type of financial statements.

print_step

A non-negative integer. Print symbol name by each print_step iteration. Default is 1L.

Examples

Run this code
# 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="fs0")
# or type = "fr0_summary"
dat3 = md_stock_financials("000001", type="fs0_summary")

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

# }
# NOT RUN {
# }

Run the code above in your browser using DataLab