Trading With Machine Learning
Artificial Intelligence & Machine Learning
One of our favorite machine learning minds, Professor Gordon Ritter has written some excellent research. Let’s take a look at it today!
Professor Ritter shows in his paper that “with an appropriate choice of the reward function, reinforcement learning techniques (specifically, Q-learning) can successfully handle the risk-averse case. We provide a proof of concept in the form of a simulated market which permits a statistical arbitrage even with trading costs. The Q-learning agent finds and exploits this arbitrage.”
Q-learning is a type of reinforcement learning algorithm in the field of machine learning.
Furthermore, used for solving sequential decision-making problems. Moreover, problems where an agent interacts with an environment. And that agent receives rewards or penalties for actions. Aiming for the objective of maximizing a cumulative reward over time.
In Q-learning, the agent learns to estimate the value of each action in a given state, which is represented by a Q-value.
The Q-value represents the expected cumulative reward that the agent will receive. If it takes that action in that state and then follows a specific policy to make future decisions. The agent updates its Q-values iteratively taking into account the rewards it receives, the Q-values of the next state, and a discount factor that determines how much the agent values immediate versus future rewards.
The Q-learning algorithm is based on the idea of trial and error. Where the agent initially explores the environment by taking random actions. And gradually learns to exploit its knowledge by choosing the actions with the highest Q-values in each state. The algorithm can converge to an optimal policy that maximizes the cumulative reward over time, even in complex environments with a large number of states and actions.
Q-learning has been successfully applied in various domains, including robotics, game playing, and recommendation systems. It is a powerful tool for developing autonomous agents that can learn to make decisions in dynamic and uncertain environments.
However, Professor Ritter opines that Q-learning is a laborious process.
“A major drawback of the procedure we have presented here is that it requires a large number of training steps (a few million, on the problem we presented). There are, of course, financial data sets with millions of time steps (e.g. high-frequency data sampled once per second for several years), but in other cases, a different approach is needed. Even in high-frequency examples, one may not wish to use several years’ worth of data to train the model.”
We think this is a phenomenal piece of research and absolutely worth any quant’s time!
Download Professor Ritter’s Full Paper:
Machine Learning for Trading by Gordon Ritter :: SSRN
Artificial Intelligence & Machine Learning
Trading With Machine Learning



