Description Usage Arguments Value Functions See Also Examples
Generic function to get a dataset of a list of stock_cd from table in stock.
1 2 3 4 | get_stock_dataset(stock_db, table_name, stock_cd_list = NULL, ...)
## S4 method for signature 'gta_db'
get_stock_dataset(stock_db, table_name, stock_cd_list = NULL, ...)
|
stock_db |
A stock database object to operate. |
table_name |
Name of target table. |
stock_cd_list |
A character vector of stock cd, default value of NULL means. all stock data will be returned. |
... |
Extra arguments to be passed to methods. |
A data frame on succeed otherwise NULL.
get_stock_dataset,gta_db-method: get a dataset of a list of stock_cd from table
in a database of gta_db class
Other stock_db generics:
close_stock_db(),
code2name(),
dir_path_db(),
get_factors_info(),
get_factors(),
get_financial_report(),
get_indicators_from_source(),
get_indicators_info(),
get_indicators(),
get_industry_info(),
get_market_return(),
get_profile(),
get_riskfree_rate(),
get_spt_stocks(),
get_stock_industry(),
get_stock_info(),
get_stock_return(),
get_table_dataset(),
init_stock_db(),
list_stock_tables(),
name2code(),
open_stock_db(),
save_indicators_to_source()
1 2 3 4 5 6 7 | ## Not run:
ds_trd_dalyr.df <- get_stock_dataset(stock_db,
table_name = "TRD_Dalyr",
stock_cd_list = c("600066", "000550")
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.