md_stock_financials
provides an interface to query financial statements and indicators of listed companies in SSE and SZSE.
md_stock_financials(symbol, type = NULL, print_step = 1L)
symbol of stock shares.
the type of financial statements.
A non-negative integer. Print symbol name by each print_step iteration. Default is 1L.
if (FALSE) {
# 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")
# dupont analysis indicators
fs_idx = md_stock_financials(c('000001', '^000001'), type = 'dupont')
}