TY - GEN
T1 - A trend-following trading indicator on homomorphically encrypted data
AU - Weng, Haotian
AU - Lenskiy, Artem
N1 - Publisher Copyright:
Copyright © 2020 by SCITEPRESS - Science and Technology Publications, Lda. All rights reserved
PY - 2020
Y1 - 2020
N2 - Algorithmic trading has dominated the area of quantitative finance for already over a decade. The decisions are made without human intervention using the data provided by brokerage firms and exchanges. An emerging intermediate layer of financial players that are placed in between a broker and algorithmic traders has recently been introduced. The role of this layer is to aggregate market decisions from the algorithmic traders and send a final market order to a broker. In return, the quantitative analysts receive incentives proportional to the correctness of their predictions. In such a setup, the intermediate player - an aggregator - does not provide the market data in plaintext but encrypts it. Encrypting market data prevents quantitative analysts from trading on their own, as well as keeps valuable financial data private. This paper proposes an implementation of a popular trend-following indicator with two different homomorphic encryption libraries - SEAL and HEAAN - and compares it to the trading indicator implemented for plaintext. Then, an attempt to implement a trading strategy is presented and analysed. The trading indicator implemented with SEAL and HEAAN is almost identical to that implemented on the plaintext, with the percentage error of 0.14916% and 0.00020% respectively. Despite many limitations that homomorphic encryption imposes on this algorithm's implementation, quantitative finance has a potential of benefiting from the methods of homomorphic encryption.
AB - Algorithmic trading has dominated the area of quantitative finance for already over a decade. The decisions are made without human intervention using the data provided by brokerage firms and exchanges. An emerging intermediate layer of financial players that are placed in between a broker and algorithmic traders has recently been introduced. The role of this layer is to aggregate market decisions from the algorithmic traders and send a final market order to a broker. In return, the quantitative analysts receive incentives proportional to the correctness of their predictions. In such a setup, the intermediate player - an aggregator - does not provide the market data in plaintext but encrypts it. Encrypting market data prevents quantitative analysts from trading on their own, as well as keeps valuable financial data private. This paper proposes an implementation of a popular trend-following indicator with two different homomorphic encryption libraries - SEAL and HEAAN - and compares it to the trading indicator implemented for plaintext. Then, an attempt to implement a trading strategy is presented and analysed. The trading indicator implemented with SEAL and HEAAN is almost identical to that implemented on the plaintext, with the percentage error of 0.14916% and 0.00020% respectively. Despite many limitations that homomorphic encryption imposes on this algorithm's implementation, quantitative finance has a potential of benefiting from the methods of homomorphic encryption.
KW - Algorithmic trading
KW - Homomorphic encryption
KW - Quantitative finance
UR - http://www.scopus.com/inward/record.url?scp=85110881551&partnerID=8YFLogxK
U2 - 10.5220/0009835706020607
DO - 10.5220/0009835706020607
M3 - Conference contribution
T3 - ICETE 2020 - Proceedings of the 17th International Joint Conference on e-Business and Telecommunications
SP - 602
EP - 607
BT - ICETE 2020 - Proceedings of the 17th International Joint Conference on e-Business and Telecommunications
A2 - Callegari, Christian
A2 - Ng, Soon Xin
A2 - Sarigiannidis, Panagiotis
A2 - Battiato, Sebastiano
A2 - de Leon, Angel Serrano Sanchez
A2 - Ksentini, Adlen
A2 - Lorenz, Pascal
A2 - Obaidat, Mohammad
A2 - Obaidat, Mohammad
A2 - Obaidat, Mohammad
PB - SciTePress
T2 - 17th International Conference on Security and Cryptography, SECRYPT 2020 - Part of the 17th International Joint Conference on e-Business and Telecommunications, ICETE 2020
Y2 - 8 July 2020 through 10 July 2020
ER -