Net Profit on VBT reported incorrectly

Created at 28 Jul 2021, 09:13
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
Athena's avatar

Athena

Joined 10.11.2020

Net Profit on VBT reported incorrectly
28 Jul 2021, 09:13


Please refer below. This is the VBT result that i got, notice the Net Profit on summary is not same as Net Profit reported as total?

I download to excel and got $9586.22. Please check this


@Athena
Replies

amusleh
28 Jul 2021, 14:33

Hi,

Can you please provide your broker name and cTrader version?


@amusleh

Athena
28 Jul 2021, 15:19

Hi is v4.0 and brokerage=ICMarkets

I am also getting weird data, eg, I ran VBT from 1/1/2012 to 31/12/2020, start time 0101 to 2359 (bot trading times) i cant get any 2019 or 2020 trades at all. It might be the bot settings, but when i tried with same date ranges, same other settings and time 0101 to 0459, i got some 2020 trades. It might be some bugs with the bot, but would like to know whether there might be the issue and not with ctrader VBT

 


@Athena

amusleh
29 Jul 2021, 09:30

RE:

SmallStep said:

Hi is v4.0 and brokerage=ICMarkets

I am also getting weird data, eg, I ran VBT from 1/1/2012 to 31/12/2020, start time 0101 to 2359 (bot trading times) i cant get any 2019 or 2020 trades at all. It might be the bot settings, but when i tried with same date ranges, same other settings and time 0101 to 0459, i got some 2020 trades. It might be some bugs with the bot, but would like to know whether there might be the issue and not with ctrader VBT

 

I test but I couldn't replicate the issue, can you record a short video?


@amusleh

Athena
29 Jul 2021, 11:22

amusleh said:

SmallStep said:

Hi is v4.0 and brokerage=ICMarkets

I am also getting weird data, eg, I ran VBT from 1/1/2012 to 31/12/2020, start time 0101 to 2359 (bot trading times) i cant get any 2019 or 2020 trades at all. It might be the bot settings, but when i tried with same date ranges, same other settings and time 0101 to 0459, i got some 2020 trades. It might be some bugs with the bot, but would like to know whether there might be the issue and not with ctrader VBT

 

I test but I couldn't replicate the issue, can you record a short video?

Hi I could do a vbt and record it, but results is only after testing is done, so i am not really sure, how video can proof the summary function may have bugs?


@Athena

amusleh
29 Jul 2021, 12:45

Hi,

We just want to be sure that there is such an issue, and if possible can you post a sample cBot code that can replicate this issue.


@amusleh

Athena
29 Jul 2021, 13:08

RE:

amusleh said:

Hi,

We just want to be sure that there is such an issue, and if possible can you post a sample cBot code that can replicate this issue.

cant post sample code as i dont own the bot. For summary reporting, sometimes its correct. I will continue monitor and check again. I am aware that summary wont report till test is completed. If test was incomplete likely no summary so is not a case whereby test was ongoing. I am checking to make sure that backtest has ended n the end period that i selected has ended (the "needle" or progress bar with date shown is my end date) to ensure completeness as well
 


@Athena