stockID2tradeCode: stockID2tradeCode

Description Usage Arguments Value Author(s) See Also Examples

Description

Covert the stockID to tradeCode.

Usage

1
stockID2tradeCode(stockID, IDsrc = "local", datasrc = defaultDataSRC())

Arguments

stockID

a vector of stockID of specific datascr.

IDsrc

a charactor string, could be one of "local","jy","ts","wind",etc.

Value

a vector of character,giving the stock trading code. eg. c("600001","600002","000300")

Author(s)

Ruifei.Yin

See Also

Other SecuMain functions: SecuCategory, SecuMarket, stockID2name, stockID2stockID, stockName2ID, tradeCode2stockID, trday.IPO, trday.unlist

Examples

1
2
stockID2tradeCode(c("EI000001","EQ000030"),IDsrc="local")
stockID2tradeCode(c("SZ000001","SH000030"),IDsrc="ts")

raphael210/QDataGet documentation built on May 26, 2019, 11:02 p.m.