Skip to main content
Strategy Learning Hub

Strategy #0000000117 · Machine learning and sequential decisions

Reinforcement-learning trading
Enter three position actions, corresponding return changes and turnover cost to calculate cumulative reward.

Reinforcement learning frames trading as a sequence of states, actions and rewards. An agent can choose positions, then receive rewards from subsequent price changes less turnover costs. Deep Q networks and policy gradients can learn policies but may overfit simulated environments and omit market impact or non-stationarity. This small scenario scores supplied actions; it does not train an agent.

Beginner-friendlyAbout 8 minutesEvidence and practical analysis

Three ways in

Understand the story. Then inspect the risk.

Start with a familiar situation, check the payoff, then test how the numbers change.

The idea · in two minutes

What reward follows position actions through price changes after transaction costs?

Reinforcement learning frames trading as a sequence of states, actions and rewards. An agent can choose positions, then receive rewards from subsequent price changes less turnover costs. Deep Q networks and policy gradients can learn policies but may overfit simulated environments and omit market impact or non-stationarity. This small scenario scores supplied actions; it does not train an agent.

Enter three position actions, corresponding return changes and turnover cost to calculate cumulative reward.

No agent training, state features or market data are supplied; entered actions are not a learned policy.

  • Input assumptionsEnter three position actions, corresponding return changes and turnover cost to calculate cumulative reward.
  • Model outputNo agent training, state features or market data are supplied; entered actions are not a learned policy.

Illustrative research examples only. They are not live signals or a recommendation.

Variants · same family, different risk levers

Data quality, constraints and implementation costs affect results.

Compare modelling and execution assumptions.

Related strategyRelationshipWhat changesNew cost or risk
Base scenarioManual inputsReinforcement learning frames trading as a sequence of states, actions and rewards. An agent can choose positions, then receive rewards from subsequent price changes less turnover costs. Deep Q networks and policy gradients can learn policies but may overfit simulated environments and omit market impact or non-stationarity. This small scenario scores supplied actions; it does not train an agent.No agent training, state features or market data are supplied; entered actions are not a learned policy.
Conservative versionLower exposureRaise cost/risk assumptions and constrain positions.May reduce participation.
Validation versionOut-of-sample testFreeze the method before evaluation on untouched data.Needs more clean data.

No agent training, state features or market data are supplied; entered actions are not a learned policy.

Read beyond the summary

References

Primary sources and research used to describe the strategy and its limits.

  1. 01Moody & Saffell (2001), Learning to Trade via Direct Reinforcementresearch