stockID2stockID: stockID2stockID

Description Usage Arguments Value Author(s) See Also Examples

Description

Covert the stockID to another type of stockID.

Usage

1
stockID2stockID(stockID, from, to, datasrc = defaultDataSRC())

Arguments

stockID

a vector of specific type

from

a character string, giving the type of stockID convered from. Could be one of "local","ts","jy","wind".

to

a character string, giving the type of stockID convered to. Could be one of "local","ts","jy","wind".

Value

a vector,return the stockID of specific datascr.

Author(s)

Ruifei.Yin

See Also

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

Examples

1
2
stockID2stockID(c("EI000001","EI000300"),to="jy",from="local")
stockID2stockID(c("SH000001","SH000300"),to="jy",from="ts")

QuantAndrew/QDataGet documentation built on May 14, 2019, 7:35 a.m.