Replies: 6 comments 25 replies
|
Just to be clear where the performance hit is, I executed the loop without calculating EMA(200): So, generation of dataset consumes only 85ms and the remaining 5940ms is burned on EMA(200) calculation. I did the same with QuanTAlib and there is no perceived difference between running empty loop and loop with EMA(200): |
|
What I want to establish is a realistic performance testing scenario. What I saw so far (Tulip benchmark) and your performance benchmark are not relevant for any trading analysis scenario. What is a relevant benchmark setup that we could use? |
|
Can you verify that these two tests are identical? 1,000 bars, EMA(20), 10,000 iterations: and this one: What results are you getting for each? |
|
This can't be right, can it? |
|
I will tidy up the tests, but here is what I found so far:
When QuanTAlib is tested in completely static conditions with immutable dataset, it ranks dead last. But the moment there is a more realistic testing condition with just a couple of updates of the dataset and few additions of new bars to the end of the dataset, there is no comparison - QuanTAlib shoots to the front, followed by Skender Indicators. |

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I started to work on performance tests and wanted to make sure we have the right criteria in place. Here are proposed test conditions:
The same scenario with another library:
All reactions