Skip to main content
Log in

A FAST Hardware Decoder Optimized for Template Features to Obtain Order Book Data in Low Latency

  • Published:
Journal of Signal Processing Systems Aims and scope Submit manuscript

Abstract

High-Frequency Trading (HFT) systems require high computational performance for real-time trading and data analysis. FAST protocol, an extension of FIX protocol, is one of the main communication pattern adopted by these systems. This work presents an open source hardware component, implemented in Field-Programmable Gate Array (FPGA), to decode market data messages to produce the necessary commands to construct order books in low latency for the Brasil Bolsa Balcão B3 stock exchange. The proposed hardware component optimized for a B3 template is able to decode messages at average latency of 0.72us and throughput of 1.4M FAST messages per second. The results are from logs of real messages with average size of 85 bytes each.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Figure 1
Figure 2
Figure 3
Figure 4
Figure 5
Figure 6
Figure 7

Similar content being viewed by others

References

  1. Kohda, S., & Yoshida, K. (2021). Characterists of high-frequency trading and its forecasts 2021. IEEE 45th Annual Computers, Software, and Applications Conference (COMPSAC), pages 1496-1501.

  2. Aldridge, I. (2013). High-frequency trading: a practical guide to algorithmic strategies and trading systems, 306. Canada: Jihn Wiley & Sons.

    Google Scholar 

  3. Boutros, A., Grady, B., Abbas, M., & Chow, P. (2017). Build Fast, Trade Fast: FPGA-based high-frequency trading using high-level synthesis. International Conference on ReConFigurable Computing and FPGAs (ReConFig), pages 1-6.

  4. FIXTRADING. (2017). What is FIX?. www.fixtrading.org/what-is-fix/

  5. Li, H., Fu, Y., Liu, T., & Wang, J. (2014). Fast protocol decoding in parallel with fpga hardware. IEEE 17th International Conference on Computational Science and Engineering, pages 1669–1672.

  6. Lockwood, J. W., Gupte, A., Mehta, N., Blott, M., English, T., & Vissers, K. (2012). A Low-latency library in fpga hardware for high-frequency trading (HFT). IEEE 20th Annual Symposium on High-Performance Interconnects pages 9–16.

  7. B3 FIX/FAST Message Reference. (2022). www.b3.com.br/pt_br/solucoes/plataformas/puma-trading-system/para-desenvolvedores-e-vendors/umdf-sinal-de-difusao/

  8. FIXTRADING, FAST Specification (2006). www.fixtrading.org/packages/fast-specification-version-1-1/

  9. Hua, D., Ren, J., Liu, C., & Santhanam, R. (2013). Hardware accelerated decoding of fix/fast and book building of market data, CSEE 4840 Spring 2013, pages 1–183.

  10. Tang, Q., Su, M., Jiang, L., Yang, J., & Bai, X. (2016). A scalable architecture for low-latency market-data processing on FPGA, 2016 IEEE Symposium on Computers and Communication (ISCC), pages 1–7.

  11. Leber, C., Geib, B., & Litz, H. (2011). High frequency trading acceleration using FPGAs. 21st International Conference on Field Programmable Logic and Application, pages 317–322.

  12. Jia, H., Yuxiang, H., Ding, C., Yan, Y. Cui, J., Wang, J., Cai, C., Xu, L., Zou, Z., & Zheng, L. A. (2022). Domain-specific accelerator for ultra-lowlatency market data distribution system. IEEE Transactions on Industrial Informatics, pages 1–11.

  13. Zhou, L., Jiang, J., Liao, R., Yang, T., & Wang, C. (2015). FPGA Based low-latency market data feed handler, communications in computer and information science, V. 491, Springer, pages 69–77.

  14. Yu, L., Fu, Y., & Liu, T. A.(2017). Hardware structure for FAST protocol decoding adapting to 40gbps bandwidth. 3rd International Conference on Computer Science and Mechanical Automation (CSMA 2017), pages 290–296.

  15. Denholm, S., Inoue, H., Takenaka, T., Becker, T., & Luk, W. (2015). Network-level FPGA acceleration of low latency market data feed arbitration. IEICE Transactions on Information and Systems, V. E98.D, N. 2, pages 288–297.

  16. Kao, Y. -C., Chen, H. -A., & Ma, H. -P. (2022). An FPGA-Based High-Frequency Trading System for 10 Gigabit Ethernet with a Latency of 433 ns. International Symposium on VLSI Design, Automation and Test (VLSI-DAT), pages 1–4.

Download references

Acknowledgements

The authors would like to thank CAPES for the financial support given to this research project.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Caio C. S. Oliveira.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Oliveira, C.C.S., Bonato, V. A FAST Hardware Decoder Optimized for Template Features to Obtain Order Book Data in Low Latency. J Sign Process Syst 95, 559–567 (2023). https://doi.org/10.1007/s11265-023-01850-2

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11265-023-01850-2

Keywords

Navigation