Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, VoroneTZ), 831 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Backtest with different trades than forward test #476317
02/17/19 16:38
02/17/19 16:38
Joined: Feb 2018
Posts: 25
1
1ND1G0 Offline OP
Newbie
1ND1G0  Offline OP
Newbie
1

Joined: Feb 2018
Posts: 25
I just ran a forward test on a demo account over the last week. Today, I downloaded the price files from my broker so that I had the latest set of data for testing in zorro.

When I ran a backtest over the last week's data, I would have expected this to tie up with the forward test results I had just seen. However while it was largely the same, I noticed a trade that was taken in the forward test was not generated in the backtest.

Any reason why?

Re: Backtest with different trades than forward test [Re: 1ND1G0] #476318
02/17/19 17:05
02/17/19 17:05
Joined: Sep 2003
Posts: 929
Spirit Offline

Moderator
Spirit  Offline

Moderator

Joined: Sep 2003
Posts: 929
What is a forward test? Do you mean a trading session?

Re: Backtest with different trades than forward test [Re: Spirit] #476319
02/17/19 17:29
02/17/19 17:29
Joined: Feb 2018
Posts: 25
1
1ND1G0 Offline OP
Newbie
1ND1G0  Offline OP
Newbie
1

Joined: Feb 2018
Posts: 25
Having developed an algo that had generated good results when testing, I wanted to undertake an addional check before going live with real money. So, I connected to a demo account at the start of last week and just let the algo run.

This allowed me to see the actual trades that would be generated on a new set of data, and to see if the performance was similar to that generated when testing.

Re: Backtest with different trades than forward test [Re: 1ND1G0] #476328
02/18/19 07:44
02/18/19 07:44
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
As to the why, you should normally see in the log why a trade was triggered or not, and what was different, like price, time, or an accumulative indicator.

Re: Backtest with different trades than forward test [Re: jcl] #476331
02/18/19 16:56
02/18/19 16:56
Joined: Nov 2016
Posts: 69
USA
J
jrath Offline
Junior Member
jrath  Offline
Junior Member
J

Joined: Nov 2016
Posts: 69
USA
Thought I would offer my 2 cents on possible difference between backtest and paper trading.

1. Bars vs. ticks in backtest. If you backtest off bars expect difference to paper trading off live market real time stack.

2. Limit vs Market orders. If your algo uses limit orders these can be less likely to execute in livepaper tradng than market orders.

3. Big size. The full size you are trying to trade in backtest may not be there in livepaper market.

4. In backtest your trading does not affect the market. But in live/demo your trades are part of the market and will change what is happening and what other people are doing.

All this is called slippage. So paper/demo trading does not add up to backtest most of the time.


Moderated by  Petra 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1