Description Usage Arguments Value Author(s) See Also Examples
Covert the tradeCode to stockID given specific secucategory.
1 2 | tradeCode2stockID(tradeCode, secuCate = 1, IDsrc = "local",
datasrc = defaultDataSRC())
|
tradeCode |
Vector of character,giving the stock trading code. eg. |
secuCate |
integer,giving the secuCategory.(1 for A equity,4 for index,...) |
IDsrc |
a charactor string, could be one of "local","jy","ts","wind",etc. |
a vector,return the stockID of specific datascr.
Ruifei.Yin
Other SecuMain functions: SecuCategory
,
SecuMarket
, stockID2name
,
stockID2stockID
,
stockID2tradeCode
,
stockName2ID
, trday.IPO
,
trday.unlist
1 2 | tradeCode2stockID(c("600001","600002"),secuCate=1)
tradeCode2stockID(c("000001","000300"),secuCate=4)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.