1 registered members (1 invisible),
735
guests, and 2
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Zorro Slow Performance
[Re: bot]
#482216
01/13/21 00:10
01/13/21 00:10
|
Joined: Dec 2020
Posts: 13
bot
OP
Newbie
|
OP
Newbie
Joined: Dec 2020
Posts: 13
|
The following is with Zorro 2.34.5 beta:
With Benchmark script as is I get 1.317 sec.
When I change the BarPeriod from 60 to 1 minute in the same script, time goes up to 15.205 sec.
Also, the actual running time as per my stop watch is lot higher, so I assume the time is only capturing time spent for run() start and end.
"Test your strategies with the world's fastest tick-level backtester (2 seconds for 10 years) in high accuracy - including commissions, swaps, spreads, slippage, margins, interest, market hours, and holidays"
Does it mean the above is misleading as its not actually running a tick level tests but just once every hour for the purpose of the testing?
Last edited by bot; 01/13/21 00:27.
|
|
|
Re: Zorro Slow Performance
[Re: AndrewAMD]
#482218
01/13/21 22:02
01/13/21 22:02
|
Joined: Dec 2020
Posts: 13
bot
OP
Newbie
|
OP
Newbie
Joined: Dec 2020
Posts: 13
|
I added a tick() function to count how often it is getting called and found its being called only once per minute. Ticks are more granular than just 1 every minute.
For EUR/USD the tick() was called 3,709,192 times for 10 years of data. In 10 years there are 3,744,000 minutes excluding weekends.
So it is not really tick level but simply 1 minutes. Also the benchmark does not even have any function for ticks - this test is entirely misleading especially with this claim about "tick-level" performance.
Overall its just an hourly bar test on RSI. There is no logic on TICK.
Last edited by bot; 01/13/21 22:04.
|
|
|
Re: Zorro Slow Performance
[Re: bot]
#482219
01/13/21 22:39
01/13/21 22:39
|
Joined: Feb 2017
Posts: 1,725 Chicago
AndrewAMD
Serious User
|
Serious User
Joined: Feb 2017
Posts: 1,725
Chicago
|
In this case, the ticks being supplied are minutely T6 ticks. So every tick is being evaluated. You can change the History variable to load a T1 tick file instead. The Zorro website has some sample tick-by-tick data for EUR/USD that you can extract into the History folder. History string variable: https://zorro-project.com/manual/en/script.htmThere is no logic on TICK. There is no user-supplied logic in particular. Nonetheless, Zorro is still checking for stop losses and take profit on every tick, so there is tick logic.
|
|
|
Re: Zorro Slow Performance
[Re: bot]
#482223
01/14/21 02:13
01/14/21 02:13
|
Joined: Jul 2017
Posts: 784
Zheka
User
|
User
Joined: Jul 2017
Posts: 784
|
...But the FAST flag - added to speed-up the benchmark - "produces" wrong results for this single-asset backtest (which it shouldn't); Removing it makes both the speed and results more sensible.
Last edited by Zheka; 01/14/21 02:15.
|
|
|
Re: Zorro Slow Performance
[Re: AndrewAMD]
#482305
01/27/21 02:18
01/27/21 02:18
|
Joined: Dec 2020
Posts: 13
bot
OP
Newbie
|
OP
Newbie
Joined: Dec 2020
Posts: 13
|
In this case, the ticks being supplied are minutely T6 ticks. So every tick is being evaluated. You can change the History variable to load a T1 tick file instead. The Zorro website has some sample tick-by-tick data for EUR/USD that you can extract into the History folder. History string variable: https://zorro-project.com/manual/en/script.htmThere is no logic on TICK. There is no user-supplied logic in particular. Nonetheless, Zorro is still checking for stop losses and take profit on every tick, so there is tick logic. The benchmark is not based TICK, bar period is not even a minute, but an hour. The benchmark as is runs on 60 minute BarPeriod. When I change to 1 minute BarPeriod, time goes up to 15.205 sec. Which is not close to 2 seconds.
|
|
|
|