Learn with Sreenivas Doosa
  • Home
  • Trading
  • Investing
  • Back Testing
  • Finance
  • Downloads
No Result
View All Result
  • Home
  • Trading
  • Investing
  • Back Testing
  • Finance
  • Downloads
No Result
View All Result
Learn with Sreenivas Doosa
No Result
View All Result
Home Back Testing

Portfolio Compounding & Rebalancing while backtesting

Sreenivas Doosa by Sreenivas Doosa
November 19, 2024
Portfolio Compounding & Rebalancing while backtesting
Share on FacebookShare on Twitter

In this article, I am going to discuss about a compounding and rebalancing method that is useful while doing back testing to calculate accurate CAGR and drawdown. This can also be used by anyone to compound and rebalance their portfolio manually.

Why I have to come up with this method?

  • During back testing of investment or swing trading strategies I found that there are some trades taking more than a year to hit stoploss or target.
  • At present, whenever a trade is exited, I am considering the exited year for returns calculation. But some trades initiated 2-3 years ago causing a trade to span over multiple years.
  • In this scenario, a trade gives different returns in each year. So, considering all the returns in a single (exited) year is not a correct method.

Who can use this method?

  • Primarily this method is very useful in back testing to calculate accurate returns and drawdown value.
  • Swing traders, Investors or anyone who want to compound and rebalance their portfolio in a systematic way.

How to calculate CAGR accurately ! 

  • If a trade is spanning over multiple years, then split the trade into multiple sub trades, one sub trade for each year.
  • In simple terms to achieve this, just sell the entire portfolio of trades at the end of the year (on the last trading day of the year) and convert into cash component. This cash component value will be the starting capital for the next year.
  • Buy the same stocks again thus creating new trades on the same day (last trading of the year) from the cash component by rebalancing the portfolio. Rebalancing is optional.

Compounding method:

  • Initial Capital = 10,00,000
  • Max number of trades/stocks in portfolio = 10. That means at any point of time, the portfolio can contain 0 – 10 trades.
  • The capital for each trade would be 10,00,000 / 10 = 1,00,000
  • Consider 2 portfolios for easy calculation
  • Cash component
  • Stocks/Trades portfolio

Rebalancing method:

Please watch below video for clear understanding of compounding and rebalancing methods.

 

 

Previous Post

Back testing Swing Trading/Investing strategy 22% CAGR (Stoploss and Target based)

Next Post

Consistent CAGR of 18-20% across 5,10,15,20 year periods | Investing swing trading strategy

Sreenivas Doosa

Sreenivas Doosa

I am a software developer having 17+ years of experience, worked on various technologies and projects throughout my career. I also built my own fully automatic algo trading system as I am passionate about trading and investing in stock market.

Next Post
Consistent CAGR of 18-20% across 5,10,15,20 year periods | Investing swing trading strategy

Consistent CAGR of 18-20% across 5,10,15,20 year periods | Investing swing trading strategy

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recommended.

Backtesting Vwap intraday strategy – Part 2

Backtesting Vwap intraday strategy – Part 2

November 1, 2024
Backtesting ORB intraday strategy – Part 1

Backtesting ORB intraday strategy – Part 1

October 31, 2024

Trending.

Back testing Swing Trading/Investing strategy 22% CAGR (Stoploss and Target based)

Back testing Swing Trading/Investing strategy 22% CAGR (Stoploss and Target based)

November 19, 2024
Backtesting Vwap intraday strategy – Part 1

Backtesting Vwap intraday strategy – Part 1

November 1, 2024
Backtesting Vwap intraday strategy – Part 3

Backtesting Vwap intraday strategy – Part 3

November 1, 2024
Consistent CAGR of 18-20% across 5,10,15,20 year periods | Investing swing trading strategy

Consistent CAGR of 18-20% across 5,10,15,20 year periods | Investing swing trading strategy

November 20, 2024
Backtesting Open=High/Low Intraday strategy

Backtesting Open=High/Low Intraday strategy

November 1, 2024
Learn with Sreenivas Doosa

This website shares useful content on different topics related to financial markets and coding which could help many people from various backgrounds.

Follow Me

Categories

  • Back Testing
  • Finance
  • Indicators
  • Intraday
  • Investing
  • Price Action
  • Strategies
  • Swing Trading
  • Trading
  • About
  • Contact
  • Privacy Policy
  • Terms and Conditions

© Sreenivas Doosa

No Result
View All Result
  • Home
  • Trading
  • Investing
  • Back Testing
  • Finance
  • Coding

© Sreenivas Doosa

This website uses cookies. By continuing to use this website you are giving consent to cookies being used. Visit our Privacy and Cookie Policy.