Explore a topic

Machine learning, deep learning & RL for trading

A more complex model needs a clearer experiment. Begin with the information available at decision time and a useful baseline. Then investigate prediction, calibration and reward design while keeping the distinction between a model output and an executable trading decision.

16 articles to explore in depth

Researcher examining a forex model validation run
Artificial intelligence13 min read

Machine Learning in Forex Trading: What Works and How to Test It

How machine learning is used in forex trading, which models the research supports, and how to test a strategy with realistic costs and out-of-sample data.

Read article
Forex trader entering an AI prompt
Artificial intelligence15 min read

AI Trading Prompts for Forex: Templates and Rules

Learn how to write AI trading prompts that review forex rules, entries, exits, sizing and backtests, with copy-ready templates and checks for the output.

Read article
A translucent strip of film held in warm light above a dark desk, with a faint fuchsia reflection.
Artificial intelligence21 min read

What the model sees before it decides

A perfectly shaped tensor can contain a bar from the future. Follow six hypothetical rows from close to decision and build a test that catches the one-row shift.

Read article
A small sculptural tree with visible branches beside a charcoal courtyard wall and a tiny fuchsia flower.
Artificial intelligence21 min read

A small tree, from threshold to decision

Two printed rules disagree at equality. Follow the discrepancy from the input to the evidence needed to act.

Read article
Different vintage keys cast nearly identical shadows on a cream tabletop beside a fuchsia keyring.
Artificial intelligence21 min read

Ten indicators, one price movement

Trace ten indicators to their source observations and test which families still help once the model has alternatives.

Read article
A partly clear window looks onto a foggy landscape, with a fuchsia cloth on the sill.
Artificial intelligence21 min read

When the quote freezes

A heartbeat keeps arriving while a Forex quote stands still. Follow the raw records and discover which changes survive investigation.

Read article
Artificial intelligence25 min read

Does your 80% mean eighty in a hundred?

A probability can rank signals well while measuring them badly. Build a reliability table, inspect Brier score and log loss, and discover why even a well-calibrated 80% can describe an unfavourable trade.

Read article
Artificial intelligence25 min read

What are you actually rewarding?

An agent can improve its score while damaging the account. Before training it, build a small ledger that explains every reward, every position change and the end of each episode.

Read article
Artificial intelligence26 min read

Convolution, memory and a specific decision

A model can train without errors while moving along the wrong axis. Follow a window of 48 observations through a CNN and an LSTM, count its parameters and identify the comparison that could justify each block.

Read article
Artificial intelligence24 min read

The opponent your model must beat

A more accurate prediction can produce a worse trading strategy. Build three references you can explain and reconcile: staying flat, predicting without features and following a simple rule. Then measure what actually changes when machine learning enters the process.

Read article
A wooden object in warm sunlight casts a long shadow with a different-looking shape on a cream wall
Artificial intelligence27 min read

Explaining a prediction is not changing its cause

An explanation says that a spread feature raised the predicted cost. Changing the number makes the prediction smaller. It does not necessarily make the next execution cheaper.

Read article
A mountain trail forks in light snow, with footprints on one branch and untouched snow on the other
Artificial intelligence27 min read

The agent cannot observe the road never taken

A file contains thousands of past trades. That does not mean it contains evidence for every action a new agent wants to take. Start by identifying which decisions were possible, recorded and actually observed.

Read article
Smooth beach stones arranged in three loose groups on cream paper, with an ambiguous stone between the groups
Artificial intelligence26 min read

A cluster has a number before it has a story

Three colored groups appear on a chart. Calling them calm, trending and crisis is easy. Establishing what those groups mean, when their labels were available and whether they help a decision takes a different investigation.

Read article
A violinist in focus during an orchestra rehearsal, with the other musicians softly blurred behind
Artificial intelligence25 min read

Important to the model. Important to this trade?

A volatility feature leads the ranking, but contributes nothing to the prediction you are investigating. Both observations can be correct. The missing detail is the question each chart answers.

Read article
A craftsperson gently bending an ash wood strip around a smooth former in a bright workshop
Artificial intelligence24 min read

Several models fit. Which one do you keep?

Three formulas reproduce the same training observations, yet behave differently when an input changes. A worked example shows how regularization chooses a preference and how to test whether that preference helps.

Read article
A single blue glass marble among many pale ceramic marbles on a cream surface
Artificial intelligence23 min read

When almost always right means very little

A model that never raises an alert can look excellent when the event is rare. Follow a complete investigation from the label definition to the decisions that the model actually changes.

Read article