Replies: 3 comments
-
Since it accounts for full tick data and needs to build the order book and models queue positions, it's really slow without It's best to use libraries that are compatible with |
Beta Was this translation helpful? Give feedback.
-
Thank you for your anwer. Before reading this, i already did the following:
Does this scheme severely impacts precision in a negative way? |
Beta Was this translation helpful? Give feedback.
-
If you handle everything correctly, particularly regarding the array index so as not to look ahead, it seems fine. However, using timestamps might be safer. |
Beta Was this translation helpful? Give feedback.
-
Hey!
What would be your recommendation on using external libraries with the hftbacktest? I tried using scikit-learn while removing @njit decorators, but it severely slowed down calculations. Implementing ML methods like linear regression can be done inside @njit, while others are more complicated :)
Beta Was this translation helpful? Give feedback.
All reactions