Multi-Horizon Forecasting for Limit Order Books(arxiv.org)
arxiv.org
Multi-Horizon Forecasting for Limit Order Books
https://arxiv.org/abs/2105.10430
10 コメント
This describes one extreme of the spectra. That is go fast but be dumb. As far as I know this works well for many people. There are other grous of people going a bit slower but making more informed decision. I think of it as a scatter plot of time on one axis and smartness on the other one. As long as you are siting at Pareto front, you can make money.
Such a front exists, but problem is there's a big discontinuity at one round trip. If you add 2-4 extra us, you need a sizeable edge advantage to justify that.
Furthermore... the HFT market participants are not using CPU-intensive calculations to win consistently. They are using simple calculations(eg 6-period SMA) and extremely low latency to win. They are competing with other HFT participants to get their order on the inside bid/ask before everyone else.
At it's core, macro-level algorithmic trading is answering a question with only 2 possible answers, at any point in time...the question is, will the next tick be either "up" or "down".
At it's core, macro-level algorithmic trading is answering a question with only 2 possible answers, at any point in time...the question is, will the next tick be either "up" or "down".
What about use over longer time horizons? The paper seems to be geared for longer predictions.
[deleted]
The longest time horizon discussed in the paper is 100 ticks, or trades. Likely less than a few minutes.
what is the special hardware/setup that achieves mid-single digit number of microseconds latency for deep learning inference you referred to?
My understanding is that O(5 uS) is achievable on optimized FPGAs with reasonably large networks. Because of the parallelization, large networks don’t add that much more latency as long as you have enough gates. But I have little experience on FPGA stacks, so can’t say for sure.
Even in software, I’ve been able to hit O(15 uS) using optimized FANN libraries. But the nets are far smaller than deep, and pretty ruthlessly pruned and compressed. Another trick that helps is pre-differentiating across all the variables you don’t expect to change on a latency critical event. E.g. if you’re running a liquidity take strategy, you can pre-differentiate assuming the opposite touch size and deep book stays constant, because you’re only gonna act following on an aggressor trade at the touch.
Even in software, I’ve been able to hit O(15 uS) using optimized FANN libraries. But the nets are far smaller than deep, and pretty ruthlessly pruned and compressed. Another trick that helps is pre-differentiating across all the variables you don’t expect to change on a latency critical event. E.g. if you’re running a liquidity take strategy, you can pre-differentiate assuming the opposite touch size and deep book stays constant, because you’re only gonna act following on an aggressor trade at the touch.
> My understanding is that O(5 uS) is achievable on optimized FPGAs with reasonably large networks.
Putting aside whether it's technically possible, do you know if any groups are actually having good success with this approach (NNs on microstructure) in live trading?
Putting aside whether it's technically possible, do you know if any groups are actually having good success with this approach (NNs on microstructure) in live trading?
With specialized hardware you can get close. But you’re still talking about a mid-single digit number of microseconds on inference alone. The competitor using linear models can get down to hundreds of nanoseconds. If you’re in FPGA world, that kind of latency advantage is worth way more than a 30% accuracy improvement from using a complex ML model.