AI summary · arXiv: 2302.13850v1 · q-fin.ST

Exploring the Advantages of Transformers for High-Frequency Trading

Fazl Barez, Paul Bilokon, Arthur Gervais, Nikita Lisitsyn

Original paper · DOI Submitted to arXiv on 20 Feb. 2023 License: CC BY 4.0

The essentials

  • The paper explores the use of deep learning Transformers architectures for high-frequency Bitcoin-USDT log-return forecasting and compares them to traditional LSTM models.
  • The authors introduce a hybrid Transformer model called HFformer, which incorporates a Transformer encoder, linear decoder, spiking activations, and quantile loss function without using position encoding.
  • Possible high-frequency trading strategies for use with the HFformer model are discussed, including trade sizing, trading signal aggregation, and minimal trading threshold.
  • Future lines of research are suggested to improve the LOB snapshot pre-processing pipeline's noise reduction by using autoencoders with automated feature selection.
  • More extensive performance assessments of the HFformer on large forecast horizons and using altcoin trading pairs such as ETH-USDT are recommended.
  • Implementing the HFformer with other types of Attention modules such as auto-correlation Attention is proposed.
  • A more realistic backtesting environment that accounts for the impact of placed orders and emulates other market participants' activity is suggested to assess the performance of the HFformer.
  • When testing LSTM and HFformer models in log-returns forecasting from 1 to 30 ticks ahead, they achieved higher R2 scores than other deep learning architectures.
  • Both LSTM and HFformer models achieved similar performance for classification tasks.
  • Backtested on different trading strategies involving 1-5 trade signals during multiple signals' trades in BTC-USDT LOB data collected over two days and a month after training and validation data were found that using more than one trade signal decreases the number of trades and increases cumulative PnL of a long-short trading strategy.
  • The HFformer generates long and short trade signals that result in a more balanced trading strategy than LSTM when complemented with trade sizing to improve cumulative PnL. However these methods may yield different results when trading another cryptocurrency pair or financial asset as machine learning methods are data driven and sometimes less generalizable than traditional statistical methods.

Key points written by AI: they may contain errors, check them against the paper.

AI-generated keywords: HFformer Transformer LSTM Trading Strategies Autoencoders

Read further

  • Comprehensive Summary
  • Layman's Summary
  • Blog article
  • Original abstract
This paper explores the use of deep learning Transformers architectures for high-frequency Bitcoin-USDT log-return forecasting and compares them to traditional Long Short-Term Memory (LSTM) models. The authors introduce a hybrid Transformer model, called HFformer, which incorporates a Transformer encoder, linear decoder, spiking activations, and quantile loss function without using position encoding. They also discuss possible high-frequency trading strategies for use with the HFformer model, including trade sizing, trading signal aggregation, and minimal trading threshold. The paper suggests several future lines of research that can be undertaken to improve the LOB snapshot pre-processing pipeline's noise reduction by using autoencoders with automated feature selection. Additionally, they suggest performing more extensive performance assessments of the HFformer on large forecast horizons and using altcoin trading pairs such as ETH-USDT. The authors also recommend implementing the HFformer with other types of Attention modules such as auto-correlation Attention. Moreover, they propose implementing a more realistic backtesting environment that accounts for the impact of placed orders and emulates other market participants' activity to assess the performance of the HFformer. When testing LSTM and HFformer models in log-returns forecasting from 1 to 30 ticks ahead, they achieved higher R2 scores than other deep learning architectures. Moreover, both LSTM and HFformer models achieved similar performance for classification tasks. Finally, when backtested on different trading strategies involving 1-5 trade signals during multiple signals' trades in BTC-USDT LOB data collected over two days and a month after training and validation data were found that using more than one trade signal decreases the number of trades and increases the cumulative PnL of a long-short trading strategy. The HFformer generates long and short trade signals that result in a more balanced trading strategy than LSTM when complemented with trade sizing to improve cumulative PnL. However these methods may yield different results when trading another cryptocurrency pair or financial asset as machine learning methods are data driven and sometimes less generalizable than traditional statistical methods.

Was this synthesis useful?

Score: 1

Why do we need votes?

Votes are used to determine whether we need to re-run our summarizing tools. If the count reaches -10, our tools can be restarted.

Ask questions about this paper to our AI assistant

You can also chat with multiple papers at once here.

Figures and plots

Ask about a figure by number or use its question button to request visual analysis. Up to two figures and four image panels per question. Values read from plots are approximate; check the original data.

AI assistant instructions?

Tools for this paper

Explain it differently 3 free rewrites left today
Save to a collection Group papers in collections to compare them, chat with them and export them. Create a free account Log in

Advanced tools Premium

For researchers who follow a field closely: citation alerts, journal-club slides, version comparison and Zotero export. Discover Premium

Zotero
Citation alerts
Journal club Slides to present it
For journalists Press kit and hype check

Similar papers summarized with our AI tools

Navigate through even more similar papers through a

tree representation

The previous summary was created more than a year ago and can be re-run (if necessary) by clicking on the Run button below.

Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.