Info
This question is closed. Reopen it to edit or answer.
Possible to extend a Financial toolbox example ?
1 view (last 30 days)
Show older comments
Hello, I have a question regarding the following example in the Financial toolbox:
This is a great example which I found very useful. Is there a way to extend the example to include more than 3 bonds in the pool of the hedging candidates? I am trying to use real data and feed in a pool of 30 bonds but the resulting weights are always assigned to no more than 3 securities - creating matrices to include 30 observations for all steps, but I assume something is not quite right at the step where:
A/b
I can send the extended code if it is necessary unless the example is meant to always return only 3 of the bonds in the pool - i.e. disregarding the pool size.
Thank you, Desi
0 Comments
Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!