TY - JOUR
T1 - Speed vs. efficiency
T2 - A framework for high-frequency trading algorithms on FPGA using Zynq SoC platform
AU - Ali, Abbas
AU - Shah, Abdullah
AU - Khan, Azaz Hassan
AU - Sharif, Malik Umar
AU - Zahid, Zaka Ullah
AU - Shahid, Rabia
AU - Jan, Tariqullah
AU - Zafar, Mohammad Haseeb
N1 - Publisher Copyright:
© 2024 The Author(s)
PY - 2024/4/5
Y1 - 2024/4/5
N2 - Software-based technical indicators have been widely used for the stock market forecasting, aiming to predict market direction. Even though many algorithms for the software based technical indicators are presented, there are almost no hardware implementations reported in the literature. In this paper, the hardware implementation is presented for three commonly used technical indicators: Moving Average Convergence/Divergence (MACD), Relative Strength Index (RSI), and Aroon. Latency evaluation is conducted for Bitcoin and Ethereum within a single-day timeframe, utilizing the Xilinx Zynq-7000 programmable SoC XC7Z020-CLG484-1 platform. Additionally, various hardware/software (HW/SW) partitioning strategies are explored to leverage the flexibility of software alongside the performance advantages of hardware via the Zynq SoC platform. The results show that the best performing technical indicator is MACD with a speedup of 30 times over its software only counterpart. Furthermore, a hybrid design integrating multiple technical indicators is proposed, pairing MACD with RSI due to their competitive throughput values, differing by only 0.38 microseconds. This hybrid approach capitalizes on the parallel processing capabilities of hardware, enabling multiple systems to operate simultaneously.
AB - Software-based technical indicators have been widely used for the stock market forecasting, aiming to predict market direction. Even though many algorithms for the software based technical indicators are presented, there are almost no hardware implementations reported in the literature. In this paper, the hardware implementation is presented for three commonly used technical indicators: Moving Average Convergence/Divergence (MACD), Relative Strength Index (RSI), and Aroon. Latency evaluation is conducted for Bitcoin and Ethereum within a single-day timeframe, utilizing the Xilinx Zynq-7000 programmable SoC XC7Z020-CLG484-1 platform. Additionally, various hardware/software (HW/SW) partitioning strategies are explored to leverage the flexibility of software alongside the performance advantages of hardware via the Zynq SoC platform. The results show that the best performing technical indicator is MACD with a speedup of 30 times over its software only counterpart. Furthermore, a hybrid design integrating multiple technical indicators is proposed, pairing MACD with RSI due to their competitive throughput values, differing by only 0.38 microseconds. This hybrid approach capitalizes on the parallel processing capabilities of hardware, enabling multiple systems to operate simultaneously.
KW - Cryptocurrencies
KW - High-frequency trading
KW - HW/SW co-design
KW - System-on-Chip
KW - Technical indicators
KW - Xilinx Zynq-7000
UR - http://www.scopus.com/inward/record.url?scp=85189432074&partnerID=8YFLogxK
U2 - 10.1016/j.aej.2024.03.064
DO - 10.1016/j.aej.2024.03.064
M3 - Article
AN - SCOPUS:85189432074
SN - 1110-0168
VL - 96
SP - 1
EP - 14
JO - Alexandria Engineering Journal
JF - Alexandria Engineering Journal
ER -