init_stock_db: Init param of stock db

Description Usage Arguments Value Functions See Also Examples

Description

Generic function to initiate params of a stock database.

Usage

1
2
3
4
init_stock_db(stock_db, ...)

## S4 method for signature 'gta_db'
init_stock_db(stock_db, ...)

Arguments

stock_db

A stock database object to operate.

...

Extra arguments to be passed to methods.

Value

TRUE if succeed else FALSE.

Functions

See Also

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(), list_stock_tables(), name2code(), open_stock_db(), save_indicators_to_source()

Examples

1
2
3
4
5
6
## Not run: 
stock_db <- stock_db(gta_db, "GTA_SQLData")
open_stock_db(stock_db)
init_stock_db(stock_db)

## End(Not run)

chriszheng2016/zstmodelr documentation built on June 13, 2021, 8:59 p.m.