Replies: 2 comments
-
It's not as easy as it appears to implement generalized code due to the limitations of Numba. So, I'm rewriting it in Rust. But, you can still achieve this by modifying |
Beta Was this translation helpful? Give feedback.
0 replies
-
It's still at the very early stage of development, I updated Rust implementation that supports multiple assets. https://github.com/nkaz001/hftbacktest/tree/experimental_rust |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently there is SingleAssetHftBacktest. I looked into the possibilities how to extend hftbacktest to also allow 2 assets for backtesting, where the data is coming from 2 exchanges with a latency between the data. A quick approach would be to create more data types (another set of market data for the 2nd exchange) and extend SingleAssetHftBacktest. It is not so clear though how the order matching should be done.
Beta Was this translation helpful? Give feedback.
All reactions