getHisMktCap: get a company's historical market cap, data comes from...

Description Usage Arguments Details Value References Examples

View source: R/getMktCap.R

Description

get a company's historical market cap, data comes from NetEase

Usage

1
getHisMktCap(tickers, date1, date2)

Arguments

tickers

ticker/sympol of a company, TICKERS MUST BE CHARACTERs, '006027' INSTEAD OF '6027'

date1

starting date, in the following format "20160101", means Jan 1st of 2016

date2

ending date, in the following format "20160101", if you only want one day's data, just set starting date and ending date the same day

Details

The input date interval should have at least one work day Data comes from www.money.163.com

Value

A data table with companies total capitalization and market capitalization

References

www.money.163.com

Examples

1
2
3
4
## Not run: 
getHisMktCap(601857, '20161202', '20161203')

## End(Not run)

gfer documentation built on Feb. 6, 2022, 5:06 p.m.