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):
|
Beta Was this translation helpful? Give feedback.
-
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? |
Beta Was this translation helpful? Give feedback.
-
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? |
Beta Was this translation helpful? Give feedback.
-
This can't be right, can it?
|
Beta Was this translation helpful? Give feedback.
-
What is the cleanest/fastest method to CHANGE the last item in |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
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:
Beta Was this translation helpful? Give feedback.
All reactions