Home › Forums › Logical Invest Forum › Strategy return calculation in QT
- This topic has 2 replies, 2 voices, and was last updated 5 years, 7 months ago by Frank Grossmann.
- AuthorPosts
- 04/06/2019 at 3:40 pm #62687Charlie MooreParticipant
Hi,
I have a question about how QuantTrader calculates a strategy return. I have created a custom strategy and I need to calculate percent change over an arbitrary time period as well as see daily returns for my custom strategy. The only place I know to find this data is in the #xxxx.csv files.As an example, if I select the DOW 30 hedged strategy with fixed range of MTD it shows the date range of Mar 29 2019 to April 5 2019 (as of today April 6 2019) and a strategy return of 100.95. If I look in #DOW 30 hedged.csv and I calculate percent change from Mar 29 to April 5 I calculate 0.86% (here is my calculation: (1044.41876/1035.56355)-1).
How does QT calculate the 0.95% strategy return?
Thanks.
04/15/2019 at 10:47 am #62911Charlie MooreParticipantBump. I’m still interested in learning this information. Thanks.
04/17/2019 at 5:50 am #62966Frank GrossmannParticipantI looked at this problem and found that somehow the csv files begin at 200 instead of 100 (percent). So to get the same result as displaied you have to substract 100 from each price value and then do the division as you did it. We already did a new test version of QT with csv files beginning at 100 and will fix this error with the next version. The good thing is that the backtests do not change between the versions as we calculate only with daily percentual changes
- AuthorPosts
- You must be logged in to reply to this topic.