Backtesting Equity Chart does not correspond to history

12 Jan 2017, 01:42Backtesting Equity Chart does not correspond to history#1
andi21posts: 27since: 14 Dec 2016

Dear Spotware Team,

i have found following problem. Please have a look:

In the equity chart there are actually 8 Trades, but in the history there are only 6 trades.

Trade 7 should come to an end / be closed during backtesting (i know that). But it is not.

I don't know where Trade 8 comes from - that should not be. Also i am printing out something when a trade is opened and there is a log entry for entering Trade 7, but not closing it. But there is not even a log entry for entering trade 8.

What is the problem here?

Please have a look (and also see the other bugs i posted).

Regards,

Andi21

12 Jan 2017, 16:49#2
ColossusFXposts: 32since: 27 Aug 2015

Check the events tab, this is normally because a trade is still open

12 Jan 2017, 18:17RE:#3
andi21posts: 27since: 14 Dec 2016

ColossusFX said:

Check the events tab, this is normally because a trade is still open

Thanks for your answer ColossusFx.

That is correct - Trade 7 is still open, but there is always one more Trade which is in this example the 8th one.

So for 7th Trade that is clear now, but why is always one more "ghost"-Trade visible in equity chart? Perhaps that only occurs if there is at least one trade still opened left.

That is not an important problem, but it is just curious.

Nevertheless thanks for your answer.

12 Jan 2017, 18:43#4
ColossusFXposts: 32since: 27 Aug 2015

Try 1m data, as that is up to date

Check the events tab too, you can see what position/s are open still and the P/L