md_stock_symbol: symbol components of exchange

md_stock_symbolR Documentation

symbol components of exchange

Description

md_stock_symbol returns all stock symbols by exchange

Usage

md_stock_symbol(exchange = NULL, ...)

Arguments

exchange

the available stock exchanges are sse, szse, hkex, amex, nasdaq, nyse.

...

ignored parameters

Examples

## Not run: 
# get stock symbols in a stock exchange
## specify the exchanges
ex_syb1 = md_stock_symbol(exchange = c('sse', 'szse'))

## choose exchanges interactivly
ex_syb2 = md_stock_symbol()

# constituent stock symbol of index
dtidx = md_stock_symbol(index = c('930050', '000300', '000905', '000852'))

## End(Not run)


ShichenXie/pedar documentation built on April 7, 2024, 5:18 p.m.