Classifying short-term forex trading opportunities with machine Learning

Mellish, Dakota (2025). Classifying short-term forex trading opportunities with machine Learning. Tesis (Master), E.T.S. de Ingenieros Informáticos (UPM).

Descripción

Título: Classifying short-term forex trading opportunities with machine Learning
Autor/es:
  • Mellish, Dakota
Director/es:
Tipo de Documento: Tesis (Master)
Título del máster: Ciencia de Datos
Fecha: 4 Julio 2025
Materias:
ODS:
Palabras Clave Informales: Forex price classification, Financial time series, K-means time series, Dynamic time warping distance, Trading system, Supervised multi classification, Logistic regression, Random forest, XGBoost classifier, Variable subset selection, Hourly price data, U.S. major currency pairs, technical analysis, chart patterns, moving averages.
Escuela: E.T.S. de Ingenieros Informáticos (UPM)
Departamento: Inteligencia Artificial
Licencias Creative Commons: Reconocimiento - Sin obra derivada - No comercial

Texto completo

[thumbnail of TFM_DAKOTA_ MELLISH.pdf] PDF (Portable Document Format) - Se necesita un visor de ficheros PDF, como GSview, Xpdf o Adobe Acrobat Reader
Descargar (1MB)

Resumen

In this study, it was desired to investigate if short term movements in the forex market can be classified with success. Using hourly price data from 2010-2024 (with 2024 as the validation set), data labels were constructed for each hour, and technical indicators along with chart patterns and custom variables were constructed and used as independent variables for the classification problem. Time series clustering using k-means and dynamic time warping was also utilized as a feature to characterize the shape of the data to understand its future short-term price movement behavior. Several classifiers were tested, with XGBoost yielding the best results. It obtained a class-weighted accuracy of 82.6% and F1 score of .826. Using this classifier as a way to make simulated trading decisions, a system was constructed and generated 11% annualized returns or higher using the validation dataset, with a maximum portfolio drawdown of 10%.

Más información

ID de Registro: 90405
Identificador DC: https://oa.upm.es/90405/
Identificador OAI: oai:oa.upm.es:90405
Depositado por: Dakota Mellish
Depositado el: 22 Sep 2025 09:39
Ultima Modificación: 14 Nov 2025 10:12