Papers
Topics
Authors
Recent
Search
2000 character limit reached

Reinforcement Learning for Systematic FX Trading

Published 10 Oct 2021 in q-fin.TR and cs.LG | (2110.04745v6)

Abstract: We explore online inductive transfer learning, with a feature representation transfer from a radial basis function network formed of Gaussian mixture model hidden processing units to a direct, recurrent reinforcement learning agent. This agent is put to work in an experiment, trading the major spot market currency pairs, where we accurately account for transaction and funding costs. These sources of profit and loss, including the price trends that occur in the currency markets, are made available to the agent via a quadratic utility, who learns to target a position directly. We improve upon earlier work by targeting a risk position in an online transfer learning context. Our agent achieves an annualised portfolio information ratio of 0.52 with a compound return of 9.3\%, net of execution and funding cost, over a 7-year test set; this is despite forcing the model to trade at the close of the trading day at 5 pm EST when trading costs are statistically the most expensive.

Citations (7)

Summary

  • The paper demonstrates a recurrent reinforcement learning agent integrated with radial basis feature transfer to optimize trade positions in FX markets.
  • It deploys a quadratic utility function and extended Kalman filter to adjust portfolio positions under realistic transaction and funding cost constraints.
  • The agent outperforms traditional momentum and carry strategies by achieving a 9.3% annualized return and an information ratio of 0.52.

Reinforcement Learning for Systematic FX Trading

The paper "Reinforcement Learning for Systematic FX Trading" proposes a novel approach to trading major spot market currency pairs using a recurrent reinforcement learning agent optimised through a quadratic utility function. The research integrates online inductive transfer learning, utilising radial basis function networks formed from Gaussian mixture models to enhance the feature representation available to the agent. The agent effectively learns to target positions by accounting for transaction and funding costs and leverages the price dynamics of currency markets.

Methodology and System Architecture

Feature Representation and Transfer Learning

The paper introduces a sophisticated method for transferring feature representations from radial basis function networks to reinforcement learning agents. Radial basis function networks consist of hidden processing units configured using Gaussian mixture models. This unsupervised learning approach determines the means, covariances, and overall network structure based on the finite Gaussian mixture model, facilitating an adaptive and dynamic feature representation.

The transfer learning paradigm utilised in this research ensures that the learning in the target domain (currency trading) benefits from the knowledge extracted in the source domain (historical feature engineering). This is accomplished by employing efficient clustering algorithms that continuously learn and adapt the feature representations to be transferred via the radial basis function networks.

Recurrent Reinforcement Learning Agent

The recurrent reinforcement learning agent adopts a policy gradient approach to dynamically adapt trading decisions. It directly targets positions based on various sources of profit and loss within the FX trading environment, including execution costs, funding costs, and price trend dynamics. The algorithm utilises an extended Kalman filter to optimise model weights in real-time, allowing for a robust fitting procedure that is well-suited to the non-stationary nature of financial time series.

The paper highlights the quadratic utility function's effectiveness in portfolio optimisation, whereby expected utility is maximised considering the variance and expected return, allowing the agent to adjust positions based on learned market volatility and risk preferences.

Experiment Design and Results

Data Utilisation and Evaluation

The research makes use of daily frequency data spanning over a decade for 36 major FX pairs. Both training and evaluation phases are designed with meticulous attention to realistic execution and funding costs, sampled at the close of the trading day when spreads are widest. This ensures that the agent's performance reflects authentic market conditions.

Performance evaluation is conducted using the information ratio, which quantitatively measures risk-adjusted returns. The recurrent reinforcement learning agent secures an annualised compound return of 9.3% with an information ratio of 0.52—indicative of a highly consistent trading strategy.

Comparative Analysis with Baselines

The study includes baseline comparisons with momentum trading and carry trading strategies. The momentum trader achieves similar returns but with lower consistency, while the carry strategy struggles due to narrow interest rate differentials since the 2008 financial crisis.

Visual Demonstrations

Visualisations in the paper exhibit the agent's adaptive behaviors when trading USDRUB, contrasting scenarios where execution and funding costs are included versus excluded. These demonstrate the agent's real-time learning capability in adjusting positions based on transaction costs and prevailing overnight rate differentials.

Future Implications and Research Directions

The findings underscore the potential for reinforcement learning frameworks to offer substantial advancements in systematic FX trading. The methodology could further benefit from exploring multi-layer perceptron architectures and echo state networks, which might yield improved results. Portfolio optimisation, when treated as a policy gradient problem, particularly warrants further investigation.

Conclusion

The paper outlines a comprehensive approach to deploying recurrent reinforcement learning agents for FX trading, delivering significant risk-adjusted returns in realistic scenarios. This is a marked improvement over traditional strategies, cementing the role of advanced machine learning techniques in financial applications. The successful integration of feature representation through radial basis networks and meticulous evaluation strategies paints a promising picture for future developments in AI-driven financial trading systems.

Paper to Video (Beta)

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Collections

Sign up for free to add this paper to one or more collections.