Description Usage Arguments Value
use the DEoptim algorithm to calculate the optimal ES by using the box constriant
1 2 3 4 5 6 7 8 9 10 11 12 |
stockNames |
the ticker of stocks |
returns |
the return matrix of a bunch of stocks |
wMin |
the minimum weight of each stock |
wMax |
the maximum weight of each stock |
searchSize |
the search steps of DEoptim algorithm |
itermax |
the parameter for DEoptim.control function |
min_sum |
the minimum of the weight sum |
max_sum |
the maximum of the weight sum |
p |
the confidence level of the ES |
trace |
whether print the interctive process or not |
A numeric value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.