Feeds
질문
Pick selected values in a vector
I have this vector V_min_var that is 3731x1, this vector stores the results from a for-loop. I want to pick selected values fr...
10년 초과 전 | 답변 수: 0 | 0
0
답변질문
Storing results from a for-loop in a vector of zeros
I have the code Backtesting_10day_II (here attached). From line 23-26 I created 4 vectors (of zeros) to pre-allocate the res...
10년 초과 전 | 답변 수: 1 | 0
1
답변질문
gca function in matlab
I have read the matlab docs but I don't understand what gca really does. Can somebody explain it to me? Thanks!
10년 초과 전 | 답변 수: 2 | 1
2
답변질문
Indexing in a for loop
This is a code for daily portfolio rebalancing. I would like to rebalance every 10 days instead. How can I do that? Thanks! ...
10년 초과 전 | 답변 수: 1 | 0
1
답변질문
Store results from for loop
How can I store the results from every iteration in a for loop?
10년 초과 전 | 답변 수: 2 | 0
2
답변질문
For loop with moving window
Hi I want to create a for-loop that calculates the weights of portfolios using a moving window for the period I am investi...
10년 초과 전 | 답변 수: 4 | 0
4
답변질문
Backtesting portfolio asset allocation
Hello, I have 4 portfolio strategies I want to backtest. The portfolio strategies come from other 2 codes I created (mean-v...
10년 초과 전 | 답변 수: 1 | 0
1
답변질문
Portfolio optimization - quad prog function
Hi, I have a function mean_var_portopt1 (here attached). I am trying to call the function by writing: targetreturn=0....
10년 초과 전 | 답변 수: 0 | 0
0
답변질문
Mean Function with Matrix
I have a 3740x5 matrix called 'Rets'. I want to find the mean of every column vector. I tried using the function mean(Rets) an...
10년 초과 전 | 답변 수: 1 | 0
1
답변질문
Mean -Variance Portfolio Optimization using Quadratic Programing
Hello, I am working on a portfolio optimization problem. The code I have for the portfolio optimization is the below: ...
10년 초과 전 | 답변 수: 0 | 0