High-Frequency trading strategy based on deep neural networks

Recent conceptual and engineering breakthroughs in Machine Learning (ML), particularly in Deep Neural Networks (DNN), have revolutionized the Computer Science field and have been responsible for astonishing breakthroughs in computer vision, speech recognition, facial recognition, transaction fraud d...

Full description

Autores:
Arévalo Murillo, Andrés Ricardo
Tipo de recurso:
Doctoral thesis
Fecha de publicación:
2019
Institución:
Universidad Nacional de Colombia
Repositorio:
Universidad Nacional de Colombia
Idioma:
spa
OAI Identifier:
oai:repositorio.unal.edu.co:unal/76551
Acceso en línea:
https://repositorio.unal.edu.co/handle/unal/76551
http://bdigital.unal.edu.co/73054/
Palabra clave:
Short-term price Forecasting
High-frequency financial data
High-frequency Trading
Algorithmic Trading
Deep Neural Networks
Discrete Wavelet Transform
Computational Finance
Transformación discreta de wavelets
Previsión de precios a corto plazo
Datos financieros de alta frecuencia
Trading de alta frecuencia
Trading algorítmico
Redes neuronales profundas
Finanzas computacionales
Rights
openAccess
License
Atribución-NoComercial 4.0 Internacional
id UNACIONAL2_1a9c75d39654f7418b7ac46301439920
oai_identifier_str oai:repositorio.unal.edu.co:unal/76551
network_acronym_str UNACIONAL2
network_name_str Universidad Nacional de Colombia
repository_id_str
dc.title.spa.fl_str_mv High-Frequency trading strategy based on deep neural networks
title High-Frequency trading strategy based on deep neural networks
spellingShingle High-Frequency trading strategy based on deep neural networks
Short-term price Forecasting
High-frequency financial data
High-frequency Trading
Algorithmic Trading
Deep Neural Networks
Discrete Wavelet Transform
Computational Finance
Transformación discreta de wavelets
Previsión de precios a corto plazo
Datos financieros de alta frecuencia
Trading de alta frecuencia
Trading algorítmico
Redes neuronales profundas
Finanzas computacionales
title_short High-Frequency trading strategy based on deep neural networks
title_full High-Frequency trading strategy based on deep neural networks
title_fullStr High-Frequency trading strategy based on deep neural networks
title_full_unstemmed High-Frequency trading strategy based on deep neural networks
title_sort High-Frequency trading strategy based on deep neural networks
dc.creator.fl_str_mv Arévalo Murillo, Andrés Ricardo
dc.contributor.author.spa.fl_str_mv Arévalo Murillo, Andrés Ricardo
dc.contributor.spa.fl_str_mv Hernandez, German
dc.subject.proposal.spa.fl_str_mv Short-term price Forecasting
High-frequency financial data
High-frequency Trading
Algorithmic Trading
Deep Neural Networks
Discrete Wavelet Transform
Computational Finance
Transformación discreta de wavelets
Previsión de precios a corto plazo
Datos financieros de alta frecuencia
Trading de alta frecuencia
Trading algorítmico
Redes neuronales profundas
Finanzas computacionales
topic Short-term price Forecasting
High-frequency financial data
High-frequency Trading
Algorithmic Trading
Deep Neural Networks
Discrete Wavelet Transform
Computational Finance
Transformación discreta de wavelets
Previsión de precios a corto plazo
Datos financieros de alta frecuencia
Trading de alta frecuencia
Trading algorítmico
Redes neuronales profundas
Finanzas computacionales
description Recent conceptual and engineering breakthroughs in Machine Learning (ML), particularly in Deep Neural Networks (DNN), have revolutionized the Computer Science field and have been responsible for astonishing breakthroughs in computer vision, speech recognition, facial recognition, transaction fraud detection, automatic translation, video object tracking, natural language processing, and robotics, virtually disrupting every aspect of our lives. The financial industry has not been oblivious to this revolution; since the introduction of the first ML techniques, there have been efforts to use them as financial modeling and decision tools rendering in some cases limited and other in cases useful results, but overall, not astonishing results as in other areas. Some of the most challenging problems for ML come form finance, for instance, price prediction whose solution will require not only the most advanced ML techniques but also other non-standard and uncommon methods and techniques, giving the origin of a new field called Financial ML, whose name has been coined by Lopez de Prado last year. Today, many hedge funds and investment banks have ML divisions, using all kinds of data sources and techniques, to develop financial modeling and decision tools. Consequently, ML is a part of the present and probably will be the future of the financial industry. In this thesis, we use the Deep Neural Networks (DNN) and Recurrent Neural Networks (RNN), two of the most advanced ML techniques, whose learning capabilities are enhanced using the representational power of the Discrete Wavelet Transform (DWT), to model and predict short-term stock prices showing that these techniques allow us to develop exploitable high-frequency trading strategies. Since high-frequency financial (HF) data are expensive, difficult to access, and immense (Big Data), there is no standard dataset in Finance or Computational Finance. Therefore, the chosen testing dataset consists of the tick-by-tick data of 18 well-known companies from the Dow Jones Industrial Average Index (DJIA). This dataset has 348.98 millions of transactions (17 GB) from January 2015 to July 2017. After a long iterative process of data exploration and feature engineering, several features were tested and combined. The tick-by-tick data are preprocessed and transformed using the DWT with a Haar Filter. The final features consist of the sliding windows of two variables: one-minute pseudo-log-returns (the logarithmic difference between one-minute average prices) and the features generated by the DWT. These transformations, which are non-standard data transformations in finance, will better represent the high-frequency behavior of Financial Time Series (FTS). Moreover, the DNN predicts the next one-minute pseudo-log-return that can be transformed into the next predicted one-minute average price. These prices will be used to build a high-frequency trading strategy that buys (sells) when the next one-minute average price prediction is above (below) the last one-minute closing price. Results show that (i) the proposed DNN achieves a highly competitive prediction performance in the price prediction domain given by a Directional Accuracy (DA) ranging from 64% to 72%. (ii) The proposed strategy yields positive profits, a max draw-down less or equal to 3%, and an annualized volatility ranging from 3% to 9% for all stocks. The main contribution is the innovative approach for predicting FTS. It includes the combination of the advanced learning capabilities of the Deep Recurrent Neural Networks (DRNNs), the representational power in frequency and time domains of the DWT, and the idea of modeling time series through average prices.
publishDate 2019
dc.date.issued.spa.fl_str_mv 2019-07-04
dc.date.accessioned.spa.fl_str_mv 2020-03-30T06:22:12Z
dc.date.available.spa.fl_str_mv 2020-03-30T06:22:12Z
dc.type.spa.fl_str_mv Trabajo de grado - Doctorado
dc.type.driver.spa.fl_str_mv info:eu-repo/semantics/doctoralThesis
dc.type.version.spa.fl_str_mv info:eu-repo/semantics/acceptedVersion
dc.type.coar.spa.fl_str_mv http://purl.org/coar/resource_type/c_db06
dc.type.content.spa.fl_str_mv Text
dc.type.redcol.spa.fl_str_mv http://purl.org/redcol/resource_type/TD
format http://purl.org/coar/resource_type/c_db06
status_str acceptedVersion
dc.identifier.uri.none.fl_str_mv https://repositorio.unal.edu.co/handle/unal/76551
dc.identifier.eprints.spa.fl_str_mv http://bdigital.unal.edu.co/73054/
url https://repositorio.unal.edu.co/handle/unal/76551
http://bdigital.unal.edu.co/73054/
dc.language.iso.spa.fl_str_mv spa
language spa
dc.relation.ispartof.spa.fl_str_mv Universidad Nacional de Colombia Sede Bogotá Facultad de Ingeniería Departamento de Ingeniería de Sistemas e Industrial Ingeniería de Sistemas
Ingeniería de Sistemas
dc.relation.haspart.spa.fl_str_mv 0 Generalidades / Computer science, information and general works
62 Ingeniería y operaciones afines / Engineering
dc.relation.references.spa.fl_str_mv Arévalo Murillo, Andrés Ricardo (2019) High-Frequency trading strategy based on deep neural networks. Doctorado thesis, Universidad Nacional de Colombia - Sede Bogotá.
dc.rights.spa.fl_str_mv Derechos reservados - Universidad Nacional de Colombia
dc.rights.coar.fl_str_mv http://purl.org/coar/access_right/c_abf2
dc.rights.license.spa.fl_str_mv Atribución-NoComercial 4.0 Internacional
dc.rights.uri.spa.fl_str_mv http://creativecommons.org/licenses/by-nc/4.0/
dc.rights.accessrights.spa.fl_str_mv info:eu-repo/semantics/openAccess
rights_invalid_str_mv Atribución-NoComercial 4.0 Internacional
Derechos reservados - Universidad Nacional de Colombia
http://creativecommons.org/licenses/by-nc/4.0/
http://purl.org/coar/access_right/c_abf2
eu_rights_str_mv openAccess
dc.format.mimetype.spa.fl_str_mv application/pdf
institution Universidad Nacional de Colombia
bitstream.url.fl_str_mv https://repositorio.unal.edu.co/bitstream/unal/76551/1/PhD_Thesis.pdf
https://repositorio.unal.edu.co/bitstream/unal/76551/2/PhD_Thesis.pdf.jpg
bitstream.checksum.fl_str_mv 7c207b188a4f3109ba47ef550960d84b
6a3a0420e27463d7a9bf0a4c09a83b82
bitstream.checksumAlgorithm.fl_str_mv MD5
MD5
repository.name.fl_str_mv Repositorio Institucional Universidad Nacional de Colombia
repository.mail.fl_str_mv repositorio_nal@unal.edu.co
_version_ 1814089829817778176
spelling Atribución-NoComercial 4.0 InternacionalDerechos reservados - Universidad Nacional de Colombiahttp://creativecommons.org/licenses/by-nc/4.0/info:eu-repo/semantics/openAccesshttp://purl.org/coar/access_right/c_abf2Hernandez, GermanArévalo Murillo, Andrés Ricardoc411a714-debd-4269-b616-274c8e97a3fd3002020-03-30T06:22:12Z2020-03-30T06:22:12Z2019-07-04https://repositorio.unal.edu.co/handle/unal/76551http://bdigital.unal.edu.co/73054/Recent conceptual and engineering breakthroughs in Machine Learning (ML), particularly in Deep Neural Networks (DNN), have revolutionized the Computer Science field and have been responsible for astonishing breakthroughs in computer vision, speech recognition, facial recognition, transaction fraud detection, automatic translation, video object tracking, natural language processing, and robotics, virtually disrupting every aspect of our lives. The financial industry has not been oblivious to this revolution; since the introduction of the first ML techniques, there have been efforts to use them as financial modeling and decision tools rendering in some cases limited and other in cases useful results, but overall, not astonishing results as in other areas. Some of the most challenging problems for ML come form finance, for instance, price prediction whose solution will require not only the most advanced ML techniques but also other non-standard and uncommon methods and techniques, giving the origin of a new field called Financial ML, whose name has been coined by Lopez de Prado last year. Today, many hedge funds and investment banks have ML divisions, using all kinds of data sources and techniques, to develop financial modeling and decision tools. Consequently, ML is a part of the present and probably will be the future of the financial industry. In this thesis, we use the Deep Neural Networks (DNN) and Recurrent Neural Networks (RNN), two of the most advanced ML techniques, whose learning capabilities are enhanced using the representational power of the Discrete Wavelet Transform (DWT), to model and predict short-term stock prices showing that these techniques allow us to develop exploitable high-frequency trading strategies. Since high-frequency financial (HF) data are expensive, difficult to access, and immense (Big Data), there is no standard dataset in Finance or Computational Finance. Therefore, the chosen testing dataset consists of the tick-by-tick data of 18 well-known companies from the Dow Jones Industrial Average Index (DJIA). This dataset has 348.98 millions of transactions (17 GB) from January 2015 to July 2017. After a long iterative process of data exploration and feature engineering, several features were tested and combined. The tick-by-tick data are preprocessed and transformed using the DWT with a Haar Filter. The final features consist of the sliding windows of two variables: one-minute pseudo-log-returns (the logarithmic difference between one-minute average prices) and the features generated by the DWT. These transformations, which are non-standard data transformations in finance, will better represent the high-frequency behavior of Financial Time Series (FTS). Moreover, the DNN predicts the next one-minute pseudo-log-return that can be transformed into the next predicted one-minute average price. These prices will be used to build a high-frequency trading strategy that buys (sells) when the next one-minute average price prediction is above (below) the last one-minute closing price. Results show that (i) the proposed DNN achieves a highly competitive prediction performance in the price prediction domain given by a Directional Accuracy (DA) ranging from 64% to 72%. (ii) The proposed strategy yields positive profits, a max draw-down less or equal to 3%, and an annualized volatility ranging from 3% to 9% for all stocks. The main contribution is the innovative approach for predicting FTS. It includes the combination of the advanced learning capabilities of the Deep Recurrent Neural Networks (DRNNs), the representational power in frequency and time domains of the DWT, and the idea of modeling time series through average prices.Doctoradoapplication/pdfspaUniversidad Nacional de Colombia Sede Bogotá Facultad de Ingeniería Departamento de Ingeniería de Sistemas e Industrial Ingeniería de SistemasIngeniería de Sistemas0 Generalidades / Computer science, information and general works62 Ingeniería y operaciones afines / EngineeringArévalo Murillo, Andrés Ricardo (2019) High-Frequency trading strategy based on deep neural networks. Doctorado thesis, Universidad Nacional de Colombia - Sede Bogotá.High-Frequency trading strategy based on deep neural networksTrabajo de grado - Doctoradoinfo:eu-repo/semantics/doctoralThesisinfo:eu-repo/semantics/acceptedVersionhttp://purl.org/coar/resource_type/c_db06Texthttp://purl.org/redcol/resource_type/TDShort-term price ForecastingHigh-frequency financial dataHigh-frequency TradingAlgorithmic TradingDeep Neural NetworksDiscrete Wavelet TransformComputational FinanceTransformación discreta de waveletsPrevisión de precios a corto plazoDatos financieros de alta frecuenciaTrading de alta frecuenciaTrading algorítmicoRedes neuronales profundasFinanzas computacionalesORIGINALPhD_Thesis.pdfapplication/pdf2481883https://repositorio.unal.edu.co/bitstream/unal/76551/1/PhD_Thesis.pdf7c207b188a4f3109ba47ef550960d84bMD51THUMBNAILPhD_Thesis.pdf.jpgPhD_Thesis.pdf.jpgGenerated Thumbnailimage/jpeg4740https://repositorio.unal.edu.co/bitstream/unal/76551/2/PhD_Thesis.pdf.jpg6a3a0420e27463d7a9bf0a4c09a83b82MD52unal/76551oai:repositorio.unal.edu.co:unal/765512024-07-14 01:00:47.229Repositorio Institucional Universidad Nacional de Colombiarepositorio_nal@unal.edu.co