Description Usage Arguments Details Value Author(s) References Examples
View source: R/nepse_symbols_lookup.R
nepse_symbols_lookup
returns details for stock symbols.
1 |
symbols |
a character vector specifying the names of each stock symbol to be loaded |
The nepse_symbols_lookup
returns the name of the company listed in
Nepal Stock Exchange , stock type of a listed company (ordinary share
or non-ordinary share), stock id of the company listed in the NEPSE, and
international securities identification number (isin) for the valid stock symbol
of the company listed in the NEPSE. For an invalid stock symbol, it stops with
an error. Stock symbols, stock types, and stock ids are from
http://www.nepalstock.com.np/ and isin is from
http://www.cdscnp.com/. Note that there are some missings
for isin, as some companies still have not obtained it.
nepse_symbols_lookup
will return the object of class dataframe with 5
variables:
company_name
,
stock_type
,
stock_symbol
,
stock_id
, and
isin
,
Nayan Krishna Joshi
http://www.nepalstock.com.np/, http://www.cdscnp.com/
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run:
# name of company, stock_type, stock id, and isin for an invalid stock symbol
# JOSHI; issues an error with message nepse_symbols_lookup('JOSHI')
# name of company, stock_type, stock id, and isin for a valid stock symbol HBL;
# issues a non-NA dataframe
nepse_symbols_lookup("HBL")
# name of company,stock_type, stock id, and isin for an invalid stock symbol
# JOSHI and a valid stock symbol HBL; issues a non-NA dataframe for a valid stock
# symbol HBL with warning for an invalid stock symbol JOSHI.
# nepse_symbols_lookup(c('JOSHI','HBL'))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.