Click here to Login





                                                   In-Sample return for Walk Forward Analysis?

  0

0
Praveen Baratam
2016-08-31 15:47:08


How is the Cumulative In-Sample return for Walk Forward Analysis calculated?

Example WFA Report - http://goo.gl/J8CEdy

In the above report the "In-Sample Annual Return" for all the periods is greater than 35% but the cumulative annual return used for the calculation of Walk Forward Efficiency is 13.7%

How is this possible? How is the Cumulative In-Sample Annual Return (Depicted in Red in the above link) calculated?

Am I missing something?




QuantShare
2016-09-01 11:03:42

  0

The cumulative in-sample return is calculated by taking the sum of profits/loss for every in-sample then annualizing the result using the sum of the trading days in all in-samples as period.
Please send support an example that can help us reproduce this so that we can analyze it and explain what is going on.



Kiran
2019-05-08 20:44:06

  0

This seems to be a bug with the Cumulative Annual Return. I'm using contiguous, non-overlapping out-of-sample periods (from 4/1/2014 - 5/1/2019), and the Average Annual return per oos period is 28%, but the Cumulative annual return is 9% - Cumulative return should be close to 28% (despite some divergence due to laws of compounding).

https://drive.google.com/file/d/1kwvIFQ0siX9DI6pFF1TvBXUenB0tjHsD/view?usp=sharing



QuantShare
2019-05-09 09:57:23

  0

This can happen. If you have a year with 90% return and another one with -45% return then the average annual return would be 22.5% while the cumulative return is 4.5%.


No more messages
0




Reply:

No html code. URLs turn into links automatically.

Type in the trading objects you want to include: - Add Objects
To add a trading object in your message, type in the object name, select it and then click on "Add Objects"










QuantShare

Trading Items
Market cap, ROE, ROA and Forward PE for U.S. Stocks - Fundamental...
Ignore Orders for Recently Purshased Securities based on Return
10-bar moving average return for S&P 500 stocks
Average Open-to-Close Return per Day of Week
Stop Trading Based on Your Portfolio Equity Return

How-to Lessons
How to get fundamental data for U.S. Stocks
How to screen for stocks having a high correlation with the Dow J...
How to get stocks for a particular index using the global script
How to download EOD quotes for active and valid stocks only
How to add future bars to plan for market scenarios

Related Forum Threads
Custom Fitness Functions for Walk Forward Testing
Equity Curve and Trades list for out-of-sample Walk Forward test
In-Sample and Out-Of-Sample Dates for Optimization
Walk Forward Testing
Walk forward info

Blog Posts
How to Display the Year-to-Date Excess Return in a Pivot Table
Select the best ETFs combination to maximize your return and redu...
How to Select the Best Market Indicator for your Trading System
How to Scan for Parallel Resistance and Support Lines
How to Backtest Your Trading System for Each Industry









QuantShare
Product
QuantShare
Features
Create an account
Affiliate Program
Support
Contact Us
Trading Forum
How-to Lessons
Manual
Company
About Us
Privacy
Terms of Use

Copyright © 2024 QuantShare.com
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
Google+
Follow us on Google+
RSS Trading Items



Trading financial instruments, including foreign exchange on margin, carries a high level of risk and is not suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to invest in financial instruments or foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with trading and seek advice from an independent financial advisor if you have any doubts.