Abstract
Transformer is a deep learning model that, having an innovative performance in many tasks, has uniquely and significantly modified all the cast of mind of the AI scientific community. In this paper, we introduce a Transformer model that is applied to 1-minute timescale in the EURUSD and GBPUSD instruments of forex trading. We use the classical Transformer architecture without the Decoder since the Encoder is enough. Moreover, the Exponential Moving Average (EMA) model is applied to the input, while different values of its smoothing factor α are tested. With cross-entropy training loss less than 0.2, it is exclamatory that Transformers are a promising tool for lucrative strategies in high-frequency trading.
Export citation and abstract BibTeX RIS
Content from this work may be used under the terms of the Creative Commons Attribution 3.0 licence. Any further distribution of this work must maintain attribution to the author(s) and the title of the work, journal citation and DOI.