No video

Portfolio Optimizer in Excel

  Рет қаралды 101,466

Jonathan Kalodimos, PhD

Jonathan Kalodimos, PhD

Күн бұрын

This video demonstrates how to make a simple portfolio optimizer in Excel. The goal of the optimization exercise is to choose portfolio weights that maximize the portfolio's Sharpe ratio and is part of the module on portfolio dynamics in my Investments course at Oregon State University.

Пікірлер: 44
@AnthonyVlakancic
@AnthonyVlakancic Жыл бұрын
This was one of the best videos I have ever watched for this subject.
@senemsevercan3007
@senemsevercan3007 3 жыл бұрын
Thank you. Great explanation. It was very helpful.
@richardgordon
@richardgordon 3 жыл бұрын
Brilliant! Thank you!! Very clearly explained. 😎
@KhoaTran-le1ot
@KhoaTran-le1ot 3 жыл бұрын
this is very helpful, thank u so muchhh!!
@raulzevallos3399
@raulzevallos3399 2 жыл бұрын
Thanks a lot.
@aqibshafi6438
@aqibshafi6438 3 жыл бұрын
You saved me 15% of my grade. Kuddos
@Kig_Ama
@Kig_Ama 4 жыл бұрын
ty, can u provide a download link for your excel file?
@luvynbays
@luvynbays 4 жыл бұрын
Thank you sir for this very informative video. however I’m stuck on the contribution to variance. Could you elaborate more on why it could be produced in this way ? thanks!
@scottkellner2851
@scottkellner2851 3 жыл бұрын
This is a very old reply but here is a link to a thread on analystforum that explains the textbook math. We're just taking the textbook math and doing it in excel via sum product.
@pureloor8634
@pureloor8634 Жыл бұрын
Hi Jonathan, I was wondering if there was any efficient way to do a project like this on a far larger scale - i.e. a 50+ stock portfolio. Obviously you can do it the same way you did it, but it just seems redundant at some point.
@robinmjg
@robinmjg 2 жыл бұрын
Hi Jonathan, the portfolio optimizer is really a cool tool. Truly appreciate your time and efforts to share your professional insights indeed. One small request if you don't mind, since you mentioned that there is a better way to figure out the Expected Return for each of the stocks given in the example, I'm wondering if you may take a bit of time to illustrate how to get the Expected Return. Thanks & Best Wishes Robin
@jonathankalodimosphd
@jonathankalodimosphd 2 жыл бұрын
A common way is to use CAPM to estimate a the expected return. I don't have a complete video but in this video I show you how to estimate the "beta" in CAPM. kzbin.info/www/bejne/q5SufGhobaajedk Another way to get beta is just to grab it from Yahoo Finance or another website. After you've estimated the beta you use the CAPM formula.
@LinoJaeWonLee
@LinoJaeWonLee 4 жыл бұрын
wow~~~ amazing, can you leave the link how I can install the 'solve' function? I searched from your video list but a bit hard to find just by searching the title of your video.
@ana_8696
@ana_8696 3 жыл бұрын
Great video!! I have one question: Great video!! I have 12 assets and their prices of 29 different weeks. I want to do portfolio optimization by minimizing the Mean Absolute Deviation. I have calculated r, E[r] , E[r-E[r]] and |E[r-E[r]]| using Excel . What do I have to do next?
@istishota2110
@istishota2110 4 жыл бұрын
want to ask for the formula for calculating weight and standard deviation of the portfolio what is the formula, what formula is written using the formula, not the excel formula ?
@jacksherman5324
@jacksherman5324 3 жыл бұрын
can you use this model for more than 3 stocks?
@bballboyinthehood12
@bballboyinthehood12 3 жыл бұрын
Could you use CAPM to calculate the expected return?
@WalterZelhofer
@WalterZelhofer Жыл бұрын
By definition, the CAPM assumes the market portfolio to be mean-variance efficient (has the max Sharpe ratio), so the optimal weights correspond to their actual market capitalizations (price x shares) and no optimization is necessary at all. ;)
@Kig_Ama
@Kig_Ama 4 жыл бұрын
3:40 Why do u use the + symbol and not =, do u have a reason for that or is it just your own preference?
@jonathankalodimosphd
@jonathankalodimosphd 4 жыл бұрын
It’s just convenience.
@Kig_Ama
@Kig_Ama 4 жыл бұрын
@@jonathankalodimosphd Thank you for your reply!
@OutofTheMoney69
@OutofTheMoney69 3 жыл бұрын
my solver keeps giving me an error message
@alegurrola96
@alegurrola96 5 жыл бұрын
If you have lots more stocks, how can you calculate the variance in the variance-covariance matrix? How to choose the diagonal of the matrix and applied the "var.s" formula?
@easydrafting
@easydrafting 5 жыл бұрын
It's difficult in excel I believe. I use R programming for the same.
@AlkaAT
@AlkaAT 3 жыл бұрын
Hi. I get negative variance in some cells. Is it ok? Also my variance is in tens and ones. Is it ok?
@ScoutBerks
@ScoutBerks 3 жыл бұрын
Variance cant be negative
@kushagarwal2675
@kushagarwal2675 3 жыл бұрын
How can we get historical data of returns downloaded as an excel file?
@OfficialCANVAS
@OfficialCANVAS 2 жыл бұрын
Chrome has a table kopier extension you can copy to excel
@Plakiwtis13
@Plakiwtis13 3 жыл бұрын
Can you help me ? After i press solve all the weights turn to 0 expect one who takes 100% What am i doing wrong
@jackdragon9597
@jackdragon9597 3 жыл бұрын
You could be setting your objective to maximize the "expected return" rather than the "expected sharp ratio'. For instance, I am creating a portfolio of renewable energy companies and when I set the objective to maximize the return of the portfolio, solver has me throw all my cash into one security. If I set me objective to maximize the sharp ratio, "solver" uses all securities in the portfolio. Another solution could be to change your restraints. Hopefully this is helpful!
@Plakiwtis13
@Plakiwtis13 3 жыл бұрын
@@jackdragon9597 thank you so much
@I.U.1
@I.U.1 3 жыл бұрын
Is there another reason why this could happen? I also got a result from solver which gives 100% to one asset, but then i did some manual trial and error and found that shorting on one of the stocks increases the sharpe ratio. I did this by removing all the constraints, but the one which keeps the sum of weights to 1.
@drek273
@drek273 Жыл бұрын
what if you have like 35 stocks in your portfolio? how do you do this with more than 3 stocks?
@jonathankalodimosphd
@jonathankalodimosphd Жыл бұрын
Conceptually it’s the same but the method doesn’t scale well. I’d look into programming language based optimizations based on matrix algebra.
@drek273
@drek273 Жыл бұрын
@@jonathankalodimosphd for example, i can just look up portfolio optimization in R? also, what do you mean by it doesnt scale well
@jonathankalodimosphd
@jonathankalodimosphd Жыл бұрын
@@drek273 R would be a great choice. It doesn’t scale well because there are a lot of manual inputs. Also matrix operations can calculate things much more efficiently from a computational standpoint.
@drek273
@drek273 Жыл бұрын
@@jonathankalodimosphd ok thank you
@mikeylejan8849
@mikeylejan8849 3 жыл бұрын
I have 1,250 ETFs I need help to know the optimal portfolios, I got these from the New York Stock Exchange, I need help, I am using Cumulative Abnormal Return and Behavioral ETF
@OfficialCANVAS
@OfficialCANVAS 2 жыл бұрын
ur not outperforming anything with 1,250 ETFs m8
@mikeylejan8849
@mikeylejan8849 2 жыл бұрын
@@OfficialCANVAS I have finished my study.It is titled “ Behavioral Portfolio Optimization using Behavioral Etfs” I am proud of this study because using these behavioral criterias, I was able to beat the S and P 500 markets and New York Stock Exchange Market. Out of 1245 Etfs only 245 Etfs showed Behavioral patterns. I have used these etfs for my testing years 2019 and 2020. After 1 year of work, I was able to finish this.
@jonyal1650
@jonyal1650 6 жыл бұрын
can you show how you calculate the HPR for each company ?
@mitchstanley5004
@mitchstanley5004 6 жыл бұрын
(End price+Dividends)/Beginning Price.
@Cadu12345
@Cadu12345 4 жыл бұрын
Have you ever used portfolio optimization for real? How was your experience ?
@jeronimovargas9123
@jeronimovargas9123 4 жыл бұрын
What does it mean when the contribution to variance is 0 lol
Minimum Variance Portfolio in Excel: Multi-asset case
13:09
FINANCE MARK
Рет қаралды 46 М.
Pool Bed Prank By My Grandpa 😂 #funny
00:47
SKITS
Рет қаралды 20 МЛН
ROLLING DOWN
00:20
Natan por Aí
Рет қаралды 11 МЛН
ISSEI & yellow girl 💛
00:33
ISSEI / いっせい
Рет қаралды 23 МЛН
Portfolio Optimization in Excel
19:35
Ronald Moy, Ph.D., CFA, CFP
Рет қаралды 30 М.
Portfolio Optimization in Excel: Step by Step Tutorial
15:26
Ryan O'Connell, CFA, FRM
Рет қаралды 40 М.
Efficient Frontier Explained in Excel: Plotting a 3-Security Portfolio
14:43
Ryan O'Connell, CFA, FRM
Рет қаралды 21 М.
Portfolio Optimization using five stocks in excel | FIN-ED
17:36
Mastering Multi-Asset Portfolio Analysis: Standard Deviation & Returns in Excel
14:34
Markowitz Optimization Model
29:52
Shane Van Dalsem
Рет қаралды 23 М.
Four Stock Portfolio and Graphing Efficient Portfolio Frontier
35:01
Python For Finance Portfolio Optimization
39:17
Computer Science
Рет қаралды 142 М.
Portfolio Optimization Seven Security Example with Excel Solver
17:10
Pool Bed Prank By My Grandpa 😂 #funny
00:47
SKITS
Рет қаралды 20 МЛН