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.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.