Graph The Efficient Frontier And Capital Allocation Line In Excel

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ก.ย. 2024

ความคิดเห็น • 223

  • @RyanOConnellCFA
    @RyanOConnellCFA  ปีที่แล้ว +3

    💾 Download Free Excel File:
    ► Grab the file from this video here: ryanoconnellfinance.com/product/efficient-frontier-and-capital-allocation-line-excel-file/
    🎓 Tutor With Me: 1-On-1 Video Call Sessions Available
    ► Join me for personalized finance tutoring tailored to your goals: ryanoconnellfinance.com/finance-tutoring/

  • @SaheliChakraborty-h1h
    @SaheliChakraborty-h1h 3 วันที่ผ่านมา +1

    I am watching from India and this is the best process and detailed evaluation.... I have seen everafter ❤

    • @RyanOConnellCFA
      @RyanOConnellCFA  3 วันที่ผ่านมา

      Thank you for letting me know Saheli!

  • @jasonl1887
    @jasonl1887 ปีที่แล้ว +16

    Perfect, I downloaded the excel spreadsheet and noticed in the video the sharpe ratio was different. This is just because the risk-free rate was not locked with F4 if anyone also wondering what is different, cheers Ryan! This has helped me a lot with my financial understanding.

    • @RyanOConnellCFA
      @RyanOConnellCFA  ปีที่แล้ว +6

      Glad it helped! Thank you for the feedback Jason. Not locking that risk free rate is the one regret that still haunts me with this video haha

    • @faridsalehi7275
      @faridsalehi7275 9 หลายเดือนก่อน +1

      Would you please send me the file

    • @RyanOConnellCFA
      @RyanOConnellCFA  2 หลายเดือนก่อน

      @@faridsalehi7275 You can download the file for free here: ryanoconnellfinance.com/product/efficient-frontier-and-capital-allocation-line-excel-file/

  • @Michael-qj4hg
    @Michael-qj4hg 16 วันที่ผ่านมา +1

    Thanks Ryan! Just found this and it really helped with my Investment class.

    • @RyanOConnellCFA
      @RyanOConnellCFA  3 วันที่ผ่านมา

      I'm very glad to hear that!

  • @mcpeinventors6094
    @mcpeinventors6094 3 ปีที่แล้ว +14

    I found this channel a week ago, and absolutely love it. Keep em coming Ryan!

    • @RyanOConnellCFA
      @RyanOConnellCFA  3 ปีที่แล้ว +3

      Your comment will give me good motivation to keep them coming! I really appreciate the feedback

  • @shiyaohong2728
    @shiyaohong2728 ปีที่แล้ว +6

    very usefulllllll!!!!!!!!!!!!!!!!!!!-A student from IMPERIAL COLLEGE BUSINESS SCHOOL

  • @JKInvestments
    @JKInvestments ปีที่แล้ว +2

    Nice video. Explained clearly in easy to understand language.

  • @williamrivera162
    @williamrivera162 3 ปีที่แล้ว +4

    Hi Ryan. I saw several videos, but I consider that your video is one of the best. Good explanation and easy to understand. Congrats go ahead.

    • @RyanOConnellCFA
      @RyanOConnellCFA  3 ปีที่แล้ว +1

      Thank you, William, I appreciate the feedback! I guess practice makes perfect haha

  • @ishmailsannoh2486
    @ishmailsannoh2486 2 ปีที่แล้ว +3

    Best video I have watched so far. So well explained and easy to understand. Keep it up

  • @connie7419
    @connie7419 6 หลายเดือนก่อน +2

    thank you so much for your video Ryan!!! that's a perfect explanation!

    • @RyanOConnellCFA
      @RyanOConnellCFA  3 หลายเดือนก่อน

      You're very welcome! Thanks for letting me know

  • @zarpasuave
    @zarpasuave ปีที่แล้ว +1

    BLESS YOU FOR SHOWING HOW TO GRAPH THE LINE YOURE SUPER DOPE THANK U THANK U

  • @muhammadilman8195
    @muhammadilman8195 10 หลายเดือนก่อน +1

    yoo, thanks for the video. your explanation helped me on the efficient frontier graph for my assignment.

  • @AndreaMcNair
    @AndreaMcNair 7 หลายเดือนก่อน +1

    thanks so much for this video! I needed this for my Investments class!

    • @RyanOConnellCFA
      @RyanOConnellCFA  7 หลายเดือนก่อน

      Its my pleasure! Really glad it helped

  • @matheusgomes4592
    @matheusgomes4592 2 ปีที่แล้ว +1

    Hello Ryan, thank you so much. I'm from Brazil and you helped me a lot! Tks :)

    • @RyanOConnellCFA
      @RyanOConnellCFA  2 ปีที่แล้ว

      Glad you enjoyed it and thanks for the feedback Matheus!

  • @sahyjuf1603
    @sahyjuf1603 ปีที่แล้ว +2

    Great explanation and easy to understand! Thank you!

  • @ivan_leung_aus
    @ivan_leung_aus ปีที่แล้ว +2

    Thank you very much for putting this up. Much appreciated

  • @massoudbayati7571
    @massoudbayati7571 2 หลายเดือนก่อน +1

    Thanks. great. Could you please provide training for multiple-asset portfolio rather than two asset.

    • @RyanOConnellCFA
      @RyanOConnellCFA  2 หลายเดือนก่อน

      Hello, you can find my video on the efficient frontier for portfolios with more than two assets here: th-cam.com/video/AGjsvdDMyhE/w-d-xo.html

  • @mauropires1733
    @mauropires1733 ปีที่แล้ว +1

    Very cool! You save my college work XD

  • @mohammadvarchandi1574
    @mohammadvarchandi1574 ปีที่แล้ว +1

    Thanks, Gentleman for your useful videos

  • @elaheabdolahi1878
    @elaheabdolahi1878 ปีที่แล้ว +1

    Thank you so much Rayan! Your video helped a lot

  • @Rasamandrice
    @Rasamandrice 2 ปีที่แล้ว +1

    Really cool content man! I tweaked this slightly and used the Excel Solver to find the optimal weights.

    • @RyanOConnellCFA
      @RyanOConnellCFA  2 ปีที่แล้ว

      Thanks Vignesh! How do you tweak the Excel Solver?

  • @aji-tstafd8141
    @aji-tstafd8141 ปีที่แล้ว +1

    Your help is priceless, thank you so much

  • @agustinamenabar4554
    @agustinamenabar4554 2 ปีที่แล้ว +1

    Very usefull man! Greetings from Chile

    • @RyanOConnellCFA
      @RyanOConnellCFA  2 ปีที่แล้ว

      Thank you and greetings from the USA!

  • @jmnew3463
    @jmnew3463 ปีที่แล้ว +2

    Great Video
    It helped a lot!
    One single question:
    Where du you take the risk free interest rate from ?
    Current 3m, 2y or 10y US treasury bond yield ?

    • @RyanOConnellCFA
      @RyanOConnellCFA  ปีที่แล้ว +1

      3-month Treasury Bill is the most frequently used term for the risk-free rate in portfolio optimization, as it represents a short-term investment with virtually no risk. It is often used in the context of short-term trading strategies and tactical asset allocation.

    • @jmnew3463
      @jmnew3463 ปีที่แล้ว +1

      @@RyanOConnellCFA Thanks. So when we are looking at daily returns from the stock market - let's say over the last 10 years - we calculate our (expected) return and volatility on basis of these returns and then in the last step we divide the yield of the 3-m treasury by 252 to get our risk free interest rate ?

    • @RyanOConnellCFA
      @RyanOConnellCFA  ปีที่แล้ว +1

      @@jmnew3463 If you are looking at daily returns for the stocks then you want to make sure that you are also going by daily returns for the treasury. Although it may make more sense to annualize them and then make calculations based on annual returns and volatility

  • @muratgelir
    @muratgelir 2 ปีที่แล้ว +1

    This video answered all of my questions than youu

  • @rickguerrero2282
    @rickguerrero2282 ปีที่แล้ว +1

    Really nice work!

  • @satyapal18
    @satyapal18 10 หลายเดือนก่อน +1

    Thank you so much for the explanation Ryan, you have solved my biggest query. I am currently reading Simon Binnega's books financial modeling. This video has actually presented entire chapter no 8. I have no words to describe my emotions.
    Lastly I wants to know that could you explain what capital allocation line explain? I mean what it is trying to say investor?

    • @RyanOConnellCFA
      @RyanOConnellCFA  10 หลายเดือนก่อน +1

      Glad it was that helpful! It is amazing how much textbook info you can cover more efficiently in a video
      The capital allocation line represents a portfolio's risk versus expected return. It illustrates the risk-reward ratio for a given portfolio, combining risk-free assets with a portfolio of risky assets. If you move above the tangential point where it touches the efficient frontier, that means you are starting to short the risk free asset and invest more than 100% of your portfolio into the optimal risky portfolio. Essentially, it guides investors on how to maximize returns for a given level of risk through diversification.

    • @satyapal18
      @satyapal18 10 หลายเดือนก่อน

      @@RyanOConnellCFA Sir, thank you so much for your contents and clarity. Your videos are helping me to grasp the concepts from the book. 🙂 I wish I would have seen your videos 10 years ago. Thank you so much sir.

  • @financialchimes4546
    @financialchimes4546 7 หลายเดือนก่อน +1

    Should you use the geometric mean or the simple average? And why? The geometric mean would be a more realistic long term return.

    • @RyanOConnellCFA
      @RyanOConnellCFA  7 หลายเดือนก่อน

      You are correct, I would recommend to use the geometric mean. Although, it won't be a material difference it will be slightly more accurate

  • @amaniojo4164
    @amaniojo4164 ปีที่แล้ว +1

    I FIND YOUR VIDEO REALLY HELPFUL BUT I HAVE ANOTHER QUESTION THAT I HAVE NOT SEEN IN YOUR VIDEOS.
    You require that your portfolio yields an expected return of 14%, and that it be efficient
    on the best feasible CAL.
    i. What is the standard deviation of your portfolio?
    ii. What is the proportion invested in the T-bill fund and each of the two RISKY FUNDS

    • @amaniojo4164
      @amaniojo4164 ปีที่แล้ว

      PLS CAN YOU GUIDE ME ON HOW TO DO THIS. THANK YOU

    • @RyanOConnellCFA
      @RyanOConnellCFA  ปีที่แล้ว

      In the optimal portfolio indicated by the orange dot, we are putting 100% of our money into the optimal portfolio, and 0% in T-bills. The proportions to the risky assets are shown by the yellow highlighted line. 70% SPY, 30% VXUS. Standard dev is 0.92%

  • @JAQ1988
    @JAQ1988 ปีที่แล้ว +1

    Keep doing great work, Ryan🎉

  • @Zenttt0098
    @Zenttt0098 ปีที่แล้ว +2

    how to know the risk free rate for 12 month in 1 year? and is correlation is same as risk free rate?

    • @RyanOConnellCFA
      @RyanOConnellCFA  ปีที่แล้ว

      Sound likes you are looking for the 1 year forward risk free rate starting 1 year from today. You could calculate that using the approach I show in this video: th-cam.com/video/ZOBeh-utLTE/w-d-xo.html
      Correlation is not the same as the risk free rate

  • @wajihchtiba34
    @wajihchtiba34 2 ปีที่แล้ว +1

    Great video again ! 😊

  • @pacmanrocks94
    @pacmanrocks94 3 ปีที่แล้ว +2

    Great content as always. I highly recommend using Excel without a mouse as that will separate you further from the rest. Cheers.

    • @RyanOConnellCFA
      @RyanOConnellCFA  3 ปีที่แล้ว +1

      Appreciate it Cole! Knowing the shortcuts can definitely speed things up. I like to use the mouse in videos like this so that people can see what is going on

  • @sheilaharty3167
    @sheilaharty3167 2 ปีที่แล้ว +1

    good video thanks but you forgot to lock in your rfr cells a couple of times

  • @chitsai_
    @chitsai_ ปีที่แล้ว +1

    Thank you!

  • @marvellousproductions8992
    @marvellousproductions8992 2 ปีที่แล้ว +4

    Hey Ryan, thanks so much for sharing it is really helpful ! I have one question though, as I can see the intercept on the y axis is not with the value of your risk free asset. When I tried to plot mine, I get a small graph of the frontier and a a really large line. This is I guess because my risk free rate is really small so it produces a really unbalanced graph that is not readable without extremely enlarging it. I just wanted to ask if you did any other steps before in tour settings or something in order to get such a visible graph. Thank you:)

    • @RyanOConnellCFA
      @RyanOConnellCFA  2 ปีที่แล้ว

      It is my pleasure! Without actually seeing your file, it is very difficult for me to figure out what the issue is. It could be that your risk free rate is just so low that it looks like it starts at the bottom left corner but it could also be that your horizontal axis settings are cutting off some of the capital allocation line. Try downloading my file using the link in the description and taking a look at the chart settings

  • @ChintavCBD
    @ChintavCBD 10 หลายเดือนก่อน +1

    thanks brother

  • @Sosojuju
    @Sosojuju 2 ปีที่แล้ว +1

    Thank you.

  • @cuad0130
    @cuad0130 5 หลายเดือนก่อน

    Hello, amazing video thank you! Just a quick question, how come for covariance you use the "Covariance.P" and not "Covariance.S" since we are using a sample of historical returns and not the total (population) amount?

  • @jesperhjort6909
    @jesperhjort6909 2 ปีที่แล้ว +2

    Hey. Great video. One question though. Why not use the solver to find the optimal portfolio allocation? It seems like you randomly pick the portfolio weights and then just assume that the best allocation in your sample by definition is the optimal portfolio.

    • @RyanOConnellCFA
      @RyanOConnellCFA  2 ปีที่แล้ว +2

      Jesper, the solver would give you an even more accurate result. I have another video on that topic here:
      th-cam.com/video/4zKipaNAnOM/w-d-xo.html

  • @jaiso434
    @jaiso434 6 หลายเดือนก่อน +1

    nice. thank you.

  • @josealejandroandraderodrig3123
    @josealejandroandraderodrig3123 5 หลายเดือนก่อน

    This is awesome Ryan, its very intuitive explanation, just a question, am I wrong or you made a mistake to not lock the risk free rate cell in the Sharpe ratio formula? and also for the return calculation of the CAL?

  • @kylekelley3226
    @kylekelley3226 5 หลายเดือนก่อน

    Great video, super easy to follow. Ran into an inconvenience. When importing data from yahoo finance, it downloads furthest date first. Is there a way to download in descending order instead of ascending? I don't think this affected results at all, it's just something that is bugging me. Anyone have any tips for this?

  • @ظافرعبدالله-د6د
    @ظافرعبدالله-د6د 3 หลายเดือนก่อน +1

    Great

  • @TimothyMbuga
    @TimothyMbuga ปีที่แล้ว +1

    Ryan O'Connell i really need your guidance, i've got a uni assignment in modern portfolio theory.

    • @RyanOConnellCFA
      @RyanOConnellCFA  ปีที่แล้ว

      Hey Timothy, what is the hold up?

    • @timtio3373
      @timtio3373 ปีที่แล้ว

      @@RyanOConnellCFA is it possible to share with you the assignment via email?

  • @ankurdhawan132
    @ankurdhawan132 3 ปีที่แล้ว

    Really helpful, keep the good work up brother

    • @RyanOConnellCFA
      @RyanOConnellCFA  3 ปีที่แล้ว

      Thank you and will do brother

    • @ankurdhawan132
      @ankurdhawan132 3 ปีที่แล้ว

      @@RyanOConnellCFA How can one plot utility curve on such a capital allocation line? I mean which values of sd and E r will be used for the utility curve?

  • @divypatel3677
    @divypatel3677 7 หลายเดือนก่อน +1

    why we have not use "ln" to cal. the returns like in other times ..?

    • @RyanOConnellCFA
      @RyanOConnellCFA  7 หลายเดือนก่อน +1

      I was trying to keep the video simpler. Ln would be the more accurate way to calculate the returns in my opinion. For anyone curious, you can see this methodology of calculating returns using =ln() for the efficient frontier here: th-cam.com/video/AGjsvdDMyhE/w-d-xo.html

  • @alejadroigoyanes
    @alejadroigoyanes 2 ปีที่แล้ว +1

    please do this but with like 10 assets

    • @RyanOConnellCFA
      @RyanOConnellCFA  2 ปีที่แล้ว

      I will look into this in the future, thank you for the suggestion

  • @iam-drake
    @iam-drake 5 หลายเดือนก่อน

    using 2% for the risk free rate, what about calculating for 6 different asset while using daily returns??.

  • @ChuAnhThu-oq2xl
    @ChuAnhThu-oq2xl ปีที่แล้ว +1

    why do you allocate weight of CAL to 200% ? Thank you for your helpful video 🥰

    • @RyanOConnellCFA
      @RyanOConnellCFA  ปีที่แล้ว

      The 200% indicates that we are going short the risk free rate 100% and investing that money that we borrowed into the risky portfolio. So lets say that we have $10,000 hypothetically. We then borrow an additional $10,000 and pay the risk free rate of interest to do so. We then take both our initial $10,000 and then additional $10,000 that we are borrowing, and invest the total $20,000 into the risky portfolio.

  • @stefanosmiltiadou9272
    @stefanosmiltiadou9272 10 หลายเดือนก่อน +1

    Why do you choose population variance formula insted of sample population formula?

    • @RyanOConnellCFA
      @RyanOConnellCFA  9 หลายเดือนก่อน

      In hindsight I'd have chosen sample variance because this is truly a sample of the stocks total population of returns. However, neither choice will make much of a difference in samples of this size

  • @gudapativenkateswararao706
    @gudapativenkateswararao706 2 ปีที่แล้ว +1

    Just Amazing

  • @antsos
    @antsos หลายเดือนก่อน

    Hi, why do we use 0,100 and 200% CAL? Can someone please explain this?

  • @akshaydamani
    @akshaydamani 2 ปีที่แล้ว +2

    Hi Ryan, just wanted to ask, should we lock the Risk free asset while computing the Sharpe ratio formula

    • @RyanOConnellCFA
      @RyanOConnellCFA  2 ปีที่แล้ว +1

      Yes! That is the one part of this video I messed up :(

  • @chadieltahan7436
    @chadieltahan7436 ปีที่แล้ว +2

    Many thanks Ryan for the informative content! I am CFA level I candidate and just studying this material in Portfolio Management. I am also planning to take a financial modelling course between level l and level ll. Any specific course you recommend? And what could be the specific job titles that are mainly focused on creating financial models such as this one? Thanks again.

    • @RyanOConnellCFA
      @RyanOConnellCFA  ปีที่แล้ว

      Hello! I'm not certain of the best financial modeling course to take. But as far as jobs that use skills such as the one I created in this video, you could search on job boards for the titles:
      Financial Analyst
      Investment Banker
      Private Equity Analyst
      Corporate Finance Analyst
      Quantitative Analyst
      Risk Manager
      Portfolio Manager
      Financial Planning and Analysis (FP&A) Analyst
      Venture Capitalist
      Real Estate Analyst
      Credit Analyst
      Mergers and Acquisitions (M&A) Analyst
      Derivatives Analyst
      Fixed Income Analyst
      Hedge Fund Analyst

  • @bambinoskebabs2278
    @bambinoskebabs2278 ปีที่แล้ว +1

    does everything compute the same if we use annualized return and sd figures?

    • @RyanOConnellCFA
      @RyanOConnellCFA  ปีที่แล้ว

      Yes, as long as you annualize it the correct way, it will compute the same. This video goes into depth on how to annualize standard deviation and expected return properly: th-cam.com/video/TFxk_CyK6g8/w-d-xo.html

  • @permetras5460
    @permetras5460 ปีที่แล้ว +1

    Thanks you

  • @priyankmaru823
    @priyankmaru823 3 ปีที่แล้ว +2

    Hi buddy, I think there is error in Sharpe ratio, Risk free rate is not freezes, you must freez that too. Kindly check it.

    • @RyanOConnellCFA
      @RyanOConnellCFA  3 ปีที่แล้ว +1

      Absolutely, I've corrected that in the downloadable file! And I've tested that if the cell is frozen, the same portfolio still has the highest Sharpe Ratio. Thank you for your comment!

  • @parkerjones6402
    @parkerjones6402 2 ปีที่แล้ว +1

    Thanks for the video very helpful. How would you calculate the covariance on a 3 stocks?

    • @RyanOConnellCFA
      @RyanOConnellCFA  2 ปีที่แล้ว +1

      You're welcome Parker! Check out this video where I make a covariance matrix on a 4 stock portfolio: th-cam.com/video/4zKipaNAnOM/w-d-xo.html

  • @koroshk5748
    @koroshk5748 ปีที่แล้ว +1

    Beautiful

  • @noviandwiramadana2190
    @noviandwiramadana2190 ปีที่แล้ว +1

    hy ryan how if we have 10 asset? how to make efficient frontier curve?

    • @RyanOConnellCFA
      @RyanOConnellCFA  ปีที่แล้ว +1

      My new Efficient Frontier video on portfolios with more than 2 assets can be found here: th-cam.com/video/AGjsvdDMyhE/w-d-xo.html

  • @simonpark6885
    @simonpark6885 11 หลายเดือนก่อน +1

    Hi, how do you find the tangency portfolio with two assets and how do you find the weights for the two assets

    • @RyanOConnellCFA
      @RyanOConnellCFA  11 หลายเดือนก่อน

      You can use the Excel solver to answer this question. I have made a video more recently with 3 assets showing how to do this: th-cam.com/video/AGjsvdDMyhE/w-d-xo.html

  • @mustardwithglasses6508
    @mustardwithglasses6508 6 หลายเดือนก่อน

    How are you getting the VXUS numbers? I don't see it anywhere in the data sheet?

  • @tamnguyenlequynh6335
    @tamnguyenlequynh6335 ปีที่แล้ว +1

    I dont know why we have 200% in weights, please explain it for me

    • @RyanOConnellCFA
      @RyanOConnellCFA  ปีที่แล้ว

      The 200% indicates that we are going short the risk free rate 100% and investing that money that we borrowed into the risky portfolio. So lets say that we have $10,000 hypothetically. We then borrow an additional $10,000 and pay the risk free rate of interest to do so. We then take both our initial $10,000 and then additional $10,000 that we are borrowing, and invest the total $20,000 into the risky portfolio.

  • @anasmerini9486
    @anasmerini9486 3 หลายเดือนก่อน

    You didn't lock the risk-free rate cell in the Sharpe ratio calculation at 5:27

  • @thutanaing2024
    @thutanaing2024 ปีที่แล้ว +1

    Hello.., how about constructing Efficient Frontier on 3 Different Assets??

    • @RyanOConnellCFA
      @RyanOConnellCFA  ปีที่แล้ว +1

      I got you covered right here! th-cam.com/video/AGjsvdDMyhE/w-d-xo.html

    • @thutanaing2024
      @thutanaing2024 ปีที่แล้ว +1

      Thank u sir, coz i am doing MBA Thesis on Portfolio Construction, thz for ur kindness
      @@RyanOConnellCFA

    • @RyanOConnellCFA
      @RyanOConnellCFA  ปีที่แล้ว +1

      @@thutanaing2024 It is my pleasure, good luck with your thesis and I hope my videos can be of some help to you! You may want to check out my video on portfolio optimization as well: th-cam.com/video/AGjsvdDMyhE/w-d-xo.html

  • @lucagiussani7109
    @lucagiussani7109 2 ปีที่แล้ว +1

    Great video Ryan! Can you do it with a 10 assets portfolio? How to set the weights?
    Thank you

    • @RyanOConnellCFA
      @RyanOConnellCFA  2 ปีที่แล้ว +1

      Luca, I've been thinking about revisiting this video with a larger portfolio. I likely will be it won't be for a while

  • @falinoluiz5962
    @falinoluiz5962 ปีที่แล้ว +1

    What if I have 30 securities in my portfolio?

    • @RyanOConnellCFA
      @RyanOConnellCFA  ปีที่แล้ว +1

      You'd follow a similar process. The daily returns would be easy to calculate with a weighted average. But the standard deviation would be difficult as you'd have to create a correlation matrix as I do in this video: th-cam.com/video/4zKipaNAnOM/w-d-xo.html

  • @kevinlaffey9310
    @kevinlaffey9310 ปีที่แล้ว +2

    What are your thoughts on using the natural log of returns (LN(Cl/Cl-1)) as opposed to simple returns? Much of the literature recommends using log returns. There will be distortions at large values both positive and negative however. Thanks!

    • @RyanOConnellCFA
      @RyanOConnellCFA  ปีที่แล้ว +1

      I would recommend using the natural log of returns! In fact, I I have a new video out now using this method: th-cam.com/video/AGjsvdDMyhE/w-d-xo.html

    • @kevinlaffey9310
      @kevinlaffey9310 ปีที่แล้ว +1

      @@RyanOConnellCFA Thank you Ryan. That sounds great. I did some research on my own as well.
      The consensus among the quant community, which I realise you are a part and hence already know but sharing here for others’ reference, is that owing to the asymmetric behaviour of simple returns, natural log returns which behave symmetrically should be used whenever the focus of interest is on the temporal behaviour of return. So this would include for metrics such as volatility, beta, correlation and VaR. All predictive measures as natural log returns are time additive, essentially representing a continuously compounded rate.
      Meanwhile, the asset additive simple (linear) returns are recommended to be used for performance measurement and attribution, basic risk analysis and portfolio optimisation. This would seem to imply to me that, for example, the simple returns of each asset in a portfolio should be used to calculate portfolio standard deviation as it is against those actual returns the actual weights of each asset in the portfolio must be multiplied against. Would you agree?
      I guess this also means that if one is interested in calculating portfolio beta (and the metrics of which it is composed) to a benchmark, perhaps for hedging purposes, then one would need to use natural log returns.
      Very interesting stuff I’m sure you’d agree! I presume this is why there’s so much commercially offered investment and portfolio analysis software out there as the multitude of steps one must take with handling the raw time price series data is substantial. But there’s clearly a great deal of satisfaction in doing it oneself with Excel or Python, etc, and actually knowing the approaches being used by the fancy software.
      I actually found two good academic research papers related to this topic. If you like I can send to you if you have a preferred contact method. Just let me know, here or on Twitter (@KevinLaffey3) or LinkedIn.
      Another thing I was exploring which I’ve had some success with is how to calculate the cross asset correlation within a portfolio to gauge the actual diversification benefits being achieved by the portfolio composition and weights.
      What I found there is that the basic approach mirrors the method employed by the CBOE for its implied correlation indices. But Goldman quants actually figured out a bit of a shortcut which a user on stack quant exchange was good enough to share. So I have info on that too if you’d like in case you may not have seen it.
      Cheers and thanks again

    • @austinbrown2726
      @austinbrown2726 ปีที่แล้ว +1

      @@RyanOConnellCFA link? :)

    • @RyanOConnellCFA
      @RyanOConnellCFA  ปีที่แล้ว

      @@austinbrown2726 Here is the link to the new efficient frontier video! th-cam.com/video/AGjsvdDMyhE/w-d-xo.html

    • @RyanOConnellCFA
      @RyanOConnellCFA  ปีที่แล้ว

      @@kevinlaffey9310 Really fascinating Kevin! I would love to see that paper if you wouldn't mind sending it to me on LinkedIn. I recently was facing the same dilemma you mentioned in choosing whether to use log returns or simple returns for a client's project related to portfolio performance attribution. I ultimately ended going with simple returns for the reasons that you mentioned above.
      I also made a video breaking down simple vs log returns which I'd very very interested in getting your thoughts on since you understand the topic so deeply: th-cam.com/video/ftXX4nZJ4pk/w-d-xo.html

  • @behnamhoseinnezhad7080
    @behnamhoseinnezhad7080 2 ปีที่แล้ว +1

    What is the OPTIMAL PORTFOLIO formula in the RETURN line?

    • @RyanOConnellCFA
      @RyanOConnellCFA  2 ปีที่แล้ว

      The portfolio with the highest Sharpe ratio

  • @faridsalehi7275
    @faridsalehi7275 9 หลายเดือนก่อน

    Hi dear Ryan, how can I rotate a straight line ( capital allocation line without adding data)in Excel relative to a point?

    • @RyanOConnellCFA
      @RyanOConnellCFA  9 หลายเดือนก่อน

      Hello, I'm not sure why you would want to rotate the CAL line. It is the point of tangency between the risk free rate and the optimal portfolio. It would rotate if either of those changed

  • @billqin7869
    @billqin7869 3 ปีที่แล้ว +2

    Hello, Ryan. Your videos are quiet useful! But the download file is missing. The only problem I don't understand is how to create the formula to capture the optimal portfolio. Could you upload this file again? Thank u so much:)

    • @RyanOConnellCFA
      @RyanOConnellCFA  3 ปีที่แล้ว

      Thank you for the feedback Bill! It should be fixed now. Please let me know if you have any other problems
      💾 Download the file created in this video free here: ryanoconnellcfa.com/product/efficient-frontier-and-capital-allocation-line-excel-file/

  • @Analyst101
    @Analyst101 ปีที่แล้ว

    Just one thing, for the sharp ratio, you didnt lock the Rfr there for it took 0% for every other data row.

    • @RyanOConnellCFA
      @RyanOConnellCFA  ปีที่แล้ว +1

      Yup, good catch! This is fixed in the downloadable file

  • @martincontreras6031
    @martincontreras6031 2 หลายเดือนก่อน +1

    awesome!! where do can I deposit few bucks to support your channel?

    • @RyanOConnellCFA
      @RyanOConnellCFA  2 หลายเดือนก่อน +2

      Hey Martin, that is very nice of you to offer! The easiest way is to go to this page on my website and buy a file of your interest: ryanoconnellfinance.com/financial-models/
      I really appreciate the support!

    • @martincontreras6031
      @martincontreras6031 2 หลายเดือนก่อน +1

      @@RyanOConnellCFA will do. A word of advice regarding autocorrect when typing… don’t use it. I didn’t proofread my comment, hence, the outcome 😅.

    • @RyanOConnellCFA
      @RyanOConnellCFA  2 หลายเดือนก่อน

      @@martincontreras6031 Haha thank you for that! Sticking to a computer rather than a smart phone helps with these type of issues!

  • @光明黑暗-p2w
    @光明黑暗-p2w ปีที่แล้ว +1

    hi, for the risk free rate if i count for 10 years should it be 0.02/3600?

    • @RyanOConnellCFA
      @RyanOConnellCFA  ปีที่แล้ว

      No, you would likely take the 10 year risk free rate (perhaps the 10 year Treasury Note rate as an example) and then divide it by the number of trading days in the year (252) to get the daily risk free rate of return

  • @amanda-ellesbethneemia3959
    @amanda-ellesbethneemia3959 2 ปีที่แล้ว +1

    This is a really great video and very easy to follow-thanks for posting. I'm having trouble though creating the formula to capture the optimal portfolio, can you reshare the link to the spreadsheet :)

    • @RyanOConnellCFA
      @RyanOConnellCFA  2 ปีที่แล้ว

      💾 Download the file created in this video free here: ryanoconnellcfa.com/product/efficient-frontier-and-capital-allocation-line-excel-file/

  • @antonzharkov6036
    @antonzharkov6036 2 ปีที่แล้ว +1

    great video about the efficient frontier, how would the calculation change if you add 1more stock to the portfolio?

    • @RyanOConnellCFA
      @RyanOConnellCFA  2 ปีที่แล้ว

      Hello Anton, you could do it mostly the same way as a showed in this video. The big difference is that you'd need to make a correlation matrix to measure portfolio standard deviation. I show how to do that in this video: th-cam.com/video/4zKipaNAnOM/w-d-xo.html

  • @minhhangpham6649
    @minhhangpham6649 2 ปีที่แล้ว +1

    can you do for the three-stock portfolio ?

    • @RyanOConnellCFA
      @RyanOConnellCFA  2 ปีที่แล้ว

      I can look into doing this sometime down the road my friend

  • @izzatimalek
    @izzatimalek 2 ปีที่แล้ว +1

    ryan. i cannot download the file. its missing. btw thank you for the knowledge!

  • @stephanwagner4578
    @stephanwagner4578 2 ปีที่แล้ว +1

    Hi Ryan, i have never come across sharpe ratio in per cent. How is that to be interpreted? Thanks a million in advance

    • @RyanOConnellCFA
      @RyanOConnellCFA  2 ปีที่แล้ว

      Stephan, you could just change it to decimal form instead of percentage if you prefer. It shouldn't change the outcome

  • @morales_jason355
    @morales_jason355 7 หลายเดือนก่อน +1

    for the Portfolio sharpe ratio u didn’t lock in the risk free rate. should we be cell locking that?

    • @RyanOConnellCFA
      @RyanOConnellCFA  7 หลายเดือนก่อน

      Good catch! You should absolutely be locking that cell

  • @sh2957
    @sh2957 5 หลายเดือนก่อน

    05:32 i think you didn't lock 'I7' (risk free rate)

  • @StefanieWu-w5z
    @StefanieWu-w5z ปีที่แล้ว

    should lock the cell referencing "risk free rate"

    • @RyanOConnellCFA
      @RyanOConnellCFA  ปีที่แล้ว

      You are correct Stephanie, this error is fixed in the free download file in the description

  • @Dongnanjie
    @Dongnanjie 9 หลายเดือนก่อน

    The risk-free rate was not locked (F4) in the video.

    • @RyanOConnellCFA
      @RyanOConnellCFA  9 หลายเดือนก่อน

      Good catch! I've got it fixed in the downloadable file

  • @kokomisangonomiya5154
    @kokomisangonomiya5154 3 ปีที่แล้ว +1

    i tried downloading your file, but it doesnt seem to work. It says Page Not Found (404)

    • @RyanOConnellCFA
      @RyanOConnellCFA  3 ปีที่แล้ว

      I appreciate you letting me know. I just fixed this error and the file should be available for free download. Please let me know if it works for you

  • @jmnew3463
    @jmnew3463 ปีที่แล้ว

    Why did you use simple returns (Pt/Pt-1)-1 and not compounded returns (ln(Pt/Pt-1) ?

    • @RyanOConnellCFA
      @RyanOConnellCFA  ปีที่แล้ว +1

      In hindsight, I'd prefer to have used ln(). It is too late to edit the video now but I'd recommend using the natural logarithm going forward as it better reflects the effect of compounding

  • @jmnew3463
    @jmnew3463 ปีที่แล้ว

    In the Literature i found, they call the tangential portfolio the point, where the CML (not CAL) tangents the efficient frontier. Why did you choose to call it CAL?

    • @RyanOConnellCFA
      @RyanOConnellCFA  ปีที่แล้ว

      Hello JM New, it is possible that the literature you're referring to is misleading. I hope this helpson the differences between the CAL and CML:
      The Capital Allocation Line (CAL) and the Capital Market Line (CML) are both concepts used in portfolio theory, but they serve different purposes and have different characteristics. Here's an overview of each:
      Capital Allocation Line (CAL):
      The CAL represents the risk-return trade-off for different combinations of a risk-free asset and a risky portfolio. It's a graphical representation of a linear relationship between expected returns and risk (as measured by standard deviation) for various portfolios that include both a risk-free asset, like a government bond, and a risky portfolio, such as stocks.
      The CAL has the following properties:
      The y-intercept of the CAL represents the risk-free rate of return.
      The slope of the CAL, known as the Sharpe ratio, measures the risk-adjusted performance of the risky portfolio. A higher slope indicates a better risk-return trade-off.
      An investor can choose any point along the CAL, depending on their risk tolerance and desired returns. By adjusting the weights of the risk-free asset and the risky portfolio, investors can create their optimal portfolio based on personal preferences.
      Capital Market Line (CML):
      The CML, on the other hand, is a specific case of the CAL. It represents the risk-return trade-off when the risky portfolio is the market portfolio, which consists of all risky assets in the market. The market portfolio is assumed to be the most diversified and efficient risky portfolio available, as it lies on the efficient frontier in the Markowitz's Modern Portfolio Theory.
      The CML has the following properties:
      Like the CAL, the y-intercept of the CML represents the risk-free rate of return.
      The slope

    • @jmnew3463
      @jmnew3463 ปีที่แล้ว +1

      @@RyanOConnellCFA
      Thank you for you detailed anwser!
      I did a little bit more research and think that this is the correct answer:
      The CAL actually includes the individuall preferences of the investor, but if we assume Investors with risk same preferences then we have CAL=CML.
      Because in the scientific literature I found, the tangency point of CML and efficient frontier is the portfolio with the highest Sharpe ratio which means that this is the tangential portfolio = global market portfolio

    • @RyanOConnellCFA
      @RyanOConnellCFA  ปีที่แล้ว

      @@jmnew3463 Really interesting point! Thank you for coming back and sharing. I'm sure your comment will help people that visit this video in the future!

  • @henokhaile2899
    @henokhaile2899 ปีที่แล้ว

    Hi, are you using a time interval from newest to oldest? i got the high set sharp ratio, the standard deviation and the return in the last "-30%, 130%, but not on the middle yellow color which is portfolio optimizerng. why that? i can't use stocks vs indices, or stock vs stock and both "indices" and "indices" ? and what is the limit by choosing ?thanks for the help

    • @RyanOConnellCFA
      @RyanOConnellCFA  ปีที่แล้ว

      Hello Henok! Did you happen to use a different set of securities or a different set of returns than I did in the video? And if so, you may have had a case where one security so substantially outperformed the other asset that the analysis says that you short one and go longer than 100% in the other

  • @tientrinh3.2
    @tientrinh3.2 ปีที่แล้ว

    in portfolio weights, we set each weights randomly?

    • @RyanOConnellCFA
      @RyanOConnellCFA  ปีที่แล้ว +1

      Hello Tien, in this example I didn't set them randomly. I set them in 10% intervals switching the allocations between each asset by 10% for each example portfolio

    • @tientrinh3.2
      @tientrinh3.2 ปีที่แล้ว +1

      @@RyanOConnellCFA in this example, just have 2 assets which is easy to switch the allocations 10% between these assets. For example, if i have 5 assets at the same time, how can i handle them?

    • @RyanOConnellCFA
      @RyanOConnellCFA  ปีที่แล้ว +1

      @@tientrinh3.2 I will be posting a video on this exact topic in the next 3 weeks. If you can wait for that, it will show you step by step on how to accomplish exactly that. But yes, the best method is to randomize the weights for thousands of scenarios and plot the expected return standard deviation pairs

    • @tientrinh3.2
      @tientrinh3.2 ปีที่แล้ว +1

      @@RyanOConnellCFAoh my goddess, thousands of scenarios? It will take me lots of time for sure. Because my lecturer asked me to hand in this task for him in the next 4 days so it’s urgen now, I might not wait for ur new video related to this topic :(

    • @RyanOConnellCFA
      @RyanOConnellCFA  ปีที่แล้ว +1

      @@tientrinh3.2 You can actually perform thousands of scenarios an instant if you follow the trick I used here: th-cam.com/video/4zKipaNAnOM/w-d-xo.html

  • @Grace-tj4qc
    @Grace-tj4qc 2 ปีที่แล้ว +1

    How to find optimal portfolio?

    • @RyanOConnellCFA
      @RyanOConnellCFA  2 ปีที่แล้ว

      It is the portfolio with the highest Sharpe Ratio

  • @animeshmaiti607
    @animeshmaiti607 ปีที่แล้ว

    What is the codes for Optimal Portfolio Row?

    • @RyanOConnellCFA
      @RyanOConnellCFA  ปีที่แล้ว

      Hello Animesh, I'd love to help you but could you please be a little more specific with your question?

    • @animeshmaiti607
      @animeshmaiti607 ปีที่แล้ว +1

      @@RyanOConnellCFA In the Portfolio Statistics Column, you have calculated the Optimal Point(You named Optimal Portfolio) By highlighting Yellow color. How did you calculated?

    • @RyanOConnellCFA
      @RyanOConnellCFA  ปีที่แล้ว

      @@animeshmaiti607 I get it now! I just looked at the row that had the highest Sharpe Ratio and highlighted it yellow. If you want to use a formula, you could use MAX() and select the whole range of Sharpe Ratios to find the highest one

    • @RyanOConnellCFA
      @RyanOConnellCFA  ปีที่แล้ว

      @@piranha_finance Hello, I believe mean-variance frontier is synonymous with efficient frontier. Meaning, it is the same as what I did in this video

  • @yoyospencer8416
    @yoyospencer8416 2 ปีที่แล้ว +1

    tip top

  • @muktanaik822
    @muktanaik822 2 ปีที่แล้ว +1

    Hey amazing content. Why not use the function stdev.s for standard deviation?

    • @fredve3984
      @fredve3984 ปีที่แล้ว

      Thats what I use and I think it's more correct. He's using the population SD when, in fact, he doesn't have the entire population of data.

  • @daiphutran1548
    @daiphutran1548 2 ปีที่แล้ว +1

    Fking life saver!!!

  • @goodlyboony
    @goodlyboony 2 ปีที่แล้ว

    You forgot to $ the risk free rate for the sharp ratio. The calculation aren't accurate

    • @RyanOConnellCFA
      @RyanOConnellCFA  2 ปีที่แล้ว +1

      Good catch. The file in the description available for download has that cell locked. I'd recommend people to look over that file

  • @julieta1949
    @julieta1949 ปีที่แล้ว

    Yur sop 500 index is wrong

    • @RyanOConnellCFA
      @RyanOConnellCFA  ปีที่แล้ว

      Please elaborate on why you think the S&P 500 index is wrong

  • @farisalarifi6535
    @farisalarifi6535 2 ปีที่แล้ว +2

    why you used Stdev.p instead of stdev.s? is there any differences

    • @RyanOConnellCFA
      @RyanOConnellCFA  ปีที่แล้ว

      I typically use stdev.p with large data sizes and stdev.s for smaller data sizes

  • @faridsalehi7275
    @faridsalehi7275 9 หลายเดือนก่อน +1

    Anyone send me the file in this video, please.

    • @RyanOConnellCFA
      @RyanOConnellCFA  9 หลายเดือนก่อน +1

      You can download that here: ryanoconnellfinance.com/product/efficient-frontier-and-capital-allocation-line-excel-file/

  • @ChuAnhThu-oq2xl
    @ChuAnhThu-oq2xl ปีที่แล้ว +1

    why do you allocate weight of CAL to 200% ? Thank you for your helpful video 🥰

    • @RyanOConnellCFA
      @RyanOConnellCFA  ปีที่แล้ว

      The 200% indicates that we are going short the risk free rate 100% and investing that money that we borrowed into the risky portfolio. So lets say that we have $10,000 hypothetically. We then borrow an additional $10,000 and pay the risk free rate of interest to do so. We then take both our initial $10,000 and then additional $10,000 that we are borrowing, and invest the total $20,000 into the risky portfolio.

  • @bobbybaylonjr7403
    @bobbybaylonjr7403 2 ปีที่แล้ว +1

    Great video. Thank you. Is it ok for you to share the file? It can't be downloaded! Please keep on recording videos like this.

    • @RyanOConnellCFA
      @RyanOConnellCFA  2 ปีที่แล้ว

      Hello Bobby, please take a look at the description. I re-posted the file with a link to Github