Description Usage Arguments Value
use stocks list and factor value list to build sort portfoilos by sorting factor value and cutting in n groups.
1 2 3 4 5 6 | build_sort_portfolios(
stocks_list,
factor_value_list,
stocks_weight_list = NULL,
ngroup = 5
)
|
stocks_list |
A list of stkcds of stocks. |
factor_value_list |
A list of factor value of corresponding stocks. |
stocks_weight_list |
A list of stocks weight or NULL for equal weight of 1, by default NULL. |
ngroup |
Numbers of groups to cut stocks, by default 5. |
1 2 | A tibble dataset of portfolio_group, stkcd, weight,
factor_value.
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.