AI is everywhere in trading adverts, often with big promises attached. By the end of this lesson, you'll know what people usually mean by AI in trading, what it's good at and what it can't do. And you'll see why its main strength, finding patterns in past data, is exactly how overfitting happens.
1 of 9
What you'll learn
- Define AI in trading. It usually means machine learning or AI chat tools.
- Use AI for what it does well. It can sort data, find past patterns and draft code.
- Spot its limits. It can't see the future or tell a real pattern from noise.
- Watch for chance finds. The bigger the search, the more patterns pass by luck.
- Check AI claims. Ask how it was tested on data it never saw, with costs.
Exercise
- Find one advert or post for an “AI trading” product.
- Write down every claim it makes.
- Next to each, write whether it says how the product was tested on data it never saw (History kept back while a strategy’s rules are built, then used once to test the finished rules unchanged. The part used to build them is in-sample.More in the glossary), and with what costs.
Quick check
1. Where does every pattern a machine-learning program finds come from?
2. Why can a pattern-finding program's strength be a danger?
3. A program searches more and more rules with no edge. What happens to the number that look good by chance?
0 of 3 answered.
Finished this lesson?
Tick it off and keep your place
Read the full notes
AI in trading usually means pattern-finding programs (machine learning) or AI chat tools. They're good at going through data, finding past patterns and drafting code, but they can't know the future, can't tell a real pattern from noise by themselves, and their skill at fitting the past is exactly how overfitting happens.
- A broad name for computer programs that do tasks people link with thinking, such as spotting patterns or writing text.More in the glossary in trading usually means A kind of AI where a program adjusts its own settings to fit examples from past data, then is used on data it hasn’t seen.More in the glossary (a program fits past data, then is used on new data) or A program trained on huge amounts of text that writes answers by predicting likely words. It can sound sure and still be wrong.More in the glossary (programs that write text and code by predicting likely words).
- Good at: going through lots of data fast; finding patterns in the past; explaining ideas and drafting code.
- Can't: know what hasn't happened yet; tell a real pattern from The small, random ups and downs in price that don’t follow any pattern that repeats. A rule tuned to noise fits the past but not new prices.More in the glossary by itself; promise a pattern survives a change in A label for the kind of market price is in: trending or ranging, and quiet or busy.More in the glossary.
- Fitting the past very well is how Tuning a strategy’s rules so closely to one stretch of past prices that they describe that stretch’s quirks more than anything that carries on.More in the glossary happens (What overfitting is), and searching many combinations finds more by chance (Data mining and the many-tests problem).
- Made-up: a check that passes 1 rule in 20 by chance, on 200 rules with no edge, passes about 10. On 20,000, about 1,000. Answer to the drill: 400 ÷ 20 = 20.
- The label “AI” doesn't make a product right, and it can still lose: see “AI trading bot” scams and Why “guaranteed” is always a warning. More: Overfitting a trading strategy. Guide: AI and machine learning in trading.
Worked example
Made-up numbersPatterns found by chance alone
Made-up numbers · no real edge · a check that passes 1 in 20 by chance
- 200 rules searched: 200 ÷ 20 = about 10 pass.
- 20,000 rules searched: about 1,000 pass.
- None of them has a real edge.
The bigger the search, the more false finds. Only data the program never saw can start to tell them apart.
Your turn
DrillMade-up numbers · a program tests 400 rules with no real edge · its check passes about 1 rule in 20 by chance
Trading is risky. You can lose money, whatever method found the rules. Test results are hypothetical, and a test can’t tell you what will happen next. This lesson explains how things work. It isn’t advice.