parse_ashare_code: Parse A-share codes

Description Usage Arguments Value

View source: R/ashare_codes.R

Description

Parse A-share codes

Usage

1
2
3
4
5
6
parse_ashare_code(
  code,
  type = c("stock", "index", "fund", "conv_bond"),
  SSE = "SH",
  SZSE = "SZ"
)

Arguments

code

a vector of A-share codes

type

type of security

SSE

symbol for Shanghai Stock Exchange

SZSE

symbol for Shenzhen Stock Exchange

Value

a list of code and exchange


imlijunda/tswbench documentation built on June 12, 2021, 12:45 p.m.