Trade is shown in backtest Price chart but not Equity Curve
Forums › ProRealTime English forum › ProRealTime platform support › Trade is shown in backtest Price chart but not Equity Curve
- This topic has 22 replies, 5 voices, and was last updated 4 years ago by Nicolas.
-
-
08/27/2020 at 4:31 PM #142730
I was alerted to this by a live trade that failed. When I went to backtest this trade to see what went wrong I noticed that it is shown on the Price graph, but not in the Equity Curve at the top, and not in the Detailed Report, as you can see in the screenshots.
The first screenshot shows the bigger picture going back to 29 April. You’ll see a number of trades on the Price chart that match those in the Detailed Report. However, the final trade (where the cursor is) on the Price chart, on 25 August, isn’t shown in the Closed Positions List and isn’t shown in the Equity chart above the Price chart.
The second screenshot shows this trade zoomed in. Again, you can see it on the Price chart, but not elsewhere.
I am running this live, and the trade failed as I show in the third screenshot – this matches the Price chart in backtesting, but this time the Equity chart shows it losing.
I am worried that the backtest Closed Position List doesn’t show all the trades, and that some could be failing but I wouldn’t see them unless I checked all the graphed trades against the Closed Position List.
Could you please shed some light on this?
Thanks.
08/27/2020 at 7:41 PM #14275308/27/2020 at 7:47 PM #142757isn’t shown in the Closed Positions List
Is it shown in the Orders List or the Cancelled / Rejected List>
08/27/2020 at 8:21 PM #142759Thanks for the response, GraHal. In reply:
It’s not in the orders list, attached. Do I have a Cancelled / Rejected list for backtesting?
Spread is 2pts, although if I untick the box I get the same problem, just with a slightly better total in the Equity Curve – attached.
08/27/2020 at 9:20 PM #142765Do I have a Cancelled / Rejected list for backtesting?
No … me getting confused, one eye on the TV again! 🙂
08/27/2020 at 9:40 PM #14276608/28/2020 at 11:59 AM #14281308/28/2020 at 1:13 PM #14282008/28/2020 at 1:55 PM #142826Nicholas – I read it that backtesting in screenshots 1 and 2 is from 19 April – 27 August. The trades are from 29 April – 5 June.
08/28/2020 at 2:28 PM #142834Ok sorry, i wrongly read the backtest end date.
I can’t replicate without the code and see what’s going on on that particular system. In that case, I suggest you send a technical report through the platform and wait for an answer.
08/28/2020 at 2:40 PM #142835I have just tried backtesting this again, changing only the number of units: 100,000, then 10,000, then 1,000 units. I attach the screenshots from the results. They are anomalous.
There are several more trades in July and August that show when backtested with smaller number of units than 100,000, but not when tested with 100,000 units. Compare the screenshot for 10,000 with the originally posted one for 100,000. Even with 10,000 units the 25 August trade isn’t shown in the Equity Curve and Closed Position list, although it is on the Price chart. I also don’t understand why it’s shown with red and green markers, when the other trades are in blue and yellow.
This 25 August trade is shown correctly when 5,000 units are displayed, and now with blue and yellow markers like the other trades.
08/28/2020 at 2:44 PM #142840Nicholas, I was writing my last post as you posted. I have just submitted a report as you suggest. Thanks.
08/28/2020 at 2:59 PM #14284208/28/2020 at 4:13 PM #142849I also don’t understand why it’s shown with red and green markers, when the other trades are in blue and yellow.
Usually that would be red and green markers attributable to one System and blue and yellow markers attributable to another system … so might you have 2 systems running?
08/29/2020 at 9:18 AM #142882Red and green arrows are trades that have been opened and closed by strategies running live. Blue and yellow are those of a back test.
2 users thanked author for this post.
-
AuthorPosts
Find exclusive trading pro-tools on