Preventing losses on market spikes #30
Replies: 3 comments 5 replies
-
This should be the extensive research topic in HFT. While I don't have a clear answer, but several concepts come to mind. Firstly, if you artificially reduce latencies, particularly amid rapidly moving markets-whether it's feed latency or order latency-you can see the potential to substantially curtail losses. In the specific case of crypto markets, a low-latency API would be a key factor. Essentially, having a low-latency API accessible only to eligible market makers could be a way to improve losses in spikes. Secondly, integrating with alpha signals or broader forecasts could be beneficial. Short-term alpha, volatility forecast, reactions to news, and monitoring other markets might provide help to reduce the losses and enhance the profits. Lastly, hedging could also mitigate this problem. By hedging effectively, you can maintain a position as close to flat as possible. For example, you could balance your total positions in various assets to be dollar-neutral. Alternatively, during price spikes, identifying the most cost-effective hedges in other markets or assets could help reduce exposure and potential losses. Ultimately, it might be imperative to acknowledge losses during spikes while vigorously striving to accumulate substantial profits under normal market conditions that surpass the spike-induced losses. In addition, regarding the example model specifically, there are two issues in terms of order arrival measurement. Firstly, the exponential model's fit is not applicable across all ranges. Order arrival rates might not be well-captured in fast-moving markets. Secondly, the measurement itself has an issue. In the given example, order arrival depth is measured as follows:
Under normal market conditions, given our short interval, the mid-price is likely to remain relatively stable, with most trades occurring around the prior mid. But, during rapid market shifts, Consequently, the current model might not sufficiently increase the spread during spikes and it would induce losses. |
Beta Was this translation helpful? Give feedback.
-
Thank you very much for the detailed answer! |
Beta Was this translation helpful? Give feedback.
-
my recent finding on this issue might be helpful. https://hftbacktest.readthedocs.io/en/latest/tutorials/Risk%20Mitigation%20through%20Price%20Protection%20in%20Extreme%20Market%20Conditions.html |
Beta Was this translation helpful? Give feedback.
-
Hello and thank you @nkaz001 for the repo,
Maybe you could share some recommendations against losses on market spikes?
The algo might work well for several hours, and then lose everything in a couple of minutes, which happens quite often.
I've added exponential moving average to affect bid and ask depth, and it looks like it got slightly better, but still, it always gets negative after some time.
Beta Was this translation helpful? Give feedback.
All reactions