Description Usage Arguments Value Functions See Also Examples
Generic function to open a stock database
1 2 3 4 | open_stock_db(stock_db, ...)
## S4 method for signature 'gta_db'
open_stock_db(stock_db, ...)
|
stock_db |
A stock database object to operate. |
... |
Extra arguments to be passed to methods. |
TRUE if succeed otherwise FALSE
open_stock_db,gta_db-method: Open 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_dataset(),
get_stock_industry(),
get_stock_info(),
get_stock_return(),
get_table_dataset(),
init_stock_db(),
list_stock_tables(),
name2code(),
save_indicators_to_source()
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run:
library(zstmodelr)
stock_db <- stock_db(gta_db, "GTA_SQLData")
open_stock_db(stock_db)
close_stock_db(stock_db)
## End(Not run)
# S3 generic definition
# open_stock_db <- function(stock_db, ...) {
# UseMethod("open_stock_db")
# }
# S4 generic definition
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.