cAlgo backtest - Backtest often cheats

Created at 12 Jun 2014, 17:17
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!
breakermind's avatar

breakermind

Joined 17.07.2013

cAlgo backtest - Backtest often cheats
12 Jun 2014, 17:17


Hi,

Please keep in mind when writing cBots on cAlgo:

Add this on back tests:

if (Account.Equity <0) {Stop ();}

Why?

Backtest often cheats

Regards


@breakermind
Replies

Spotware
13 Jun 2014, 09:44 ( Updated at: 21 Dec 2023, 09:20 )

Backtesting will not stop in case if Equity goes bellow zero. Probably we will change this behavior in the future. You can post this idea to vote.spotware.com.

In cAlgo 1.23 we added Extremum points to the Equity line.

We plan to release cAlgo 1.23 next week, however it is already available on Spotware environment:

http://spotware.ctrader.com/calgo-spotware-setup.exe


@Spotware

breakermind
13 Jun 2014, 16:59 ( Updated at: 21 Dec 2023, 09:20 )

RE:

Spotware said:

Backtesting will not stop in case if Equity goes bellow zero. Probably we will change this behavior in the future. You can post this idea to vote.spotware.com.

In cAlgo 1.23 we added Extremum points to the Equity line.

We plan to release cAlgo 1.23 next week, however it is already available on Spotware environment:

http://spotware.ctrader.com/calgo-spotware-setup.exe

Hi,

after update "Add an Instance" to cBot dont works :)

why on this charts eguity do not refresh after some time period like tick, seconds, minute or something ... only when position close(or i have old ver).

Thanks

 

 

 


@breakermind

Spotware
13 Jun 2014, 17:12

after update "Add an Instance" to cBot dont works :)

Unfortunately, we cannot reproduce this issue. If it is possible please specify the exact scenario.

why on this charts eguity do not refresh after some time period like tick, seconds, minute or something ... only when position close(or i have old ver).

Yes, we plot equity extremums only when position closed. We will consider your idea.


@Spotware