cumulusproof DEEN

Knowledge · Exemplary neural networks

Networks find volatility, but no tradable direction.

A network learns weights from data. On short time frames, though, it needs hit rates markets hardly ever give.

Exemplary presentation: selected examples from this category. We have tested many more agents, and there are further categories.

How a network works

Price, volatility, time of day and volume become numbers x. Each neuron forms a weighted sum and passes it on through a function φ:

w = weights, b = bias, φ = activation function.

Learning means adjusting the weights so that the error on old data falls. At the end there is a probability for “rises”. A trade is only made if it is high enough.

Structure of a small neural network
Required hit rate by time frame
Required hit rate p depending on the typical move b, at equal costs.

Why costs set the hurdle

A trade only pays if the expected gain exceeds the costs. With hit rate p, typical move b until exit and costs k per trade:

The shorter the time frame, the smaller the move and the higher the required hit rate. Markets hardly ever give 60 % hits. The result of all networks: they recognise well how strongly the price moves, but not in which direction.

Single-stage networks

One model decides directly. Exemplary methods set up the same way, data separated in time, the latest years sealed in the vault.

Multi-scale network

Multi-scale network

rejected

Idea: Seconds to hours: which barrier is hit first?

Test: Nasdaq and DAX, ten years, sealed data.

Result: Recognises the strength of the move, not its direction.

Return p.a. −1.4 % · risk p.a. 5.1 % (after costs, unleveraged)

Foundation model

Foundation model

rejected

Idea: A pre-trained foundation model predicts candles.

Test: Five-minute data 2024 to 2026.

Result: Hit rate 49.7 %, like a coin.

Return p.a. −3.4 % · risk p.a. 5.1 % (after costs, unleveraged)

Gradient boosting

Gradient boosting

rejected

Idea: Many small decision trees: up, flat or down.

Test: 20 features, seconds to minutes.

Result: All eight variants negative.

Return p.a. −8.5 % · risk p.a. 3.3 % (after costs, unleveraged)

Convolutional network

Convolutional network

rejected

Idea: Learns the position directly on the ratio.

Test: Five-second candles with costs.

Result: Every week negative.

Return p.a. −10.0 % · risk p.a. 3.0 % (after costs, unleveraged)

Kalman and order flow

Kalman and order flow

rejected

Idea: Estimate hidden price pressure from the order flow.

Test: Ten-second returns.

Result: Nothing worth pursuing.

Return p.a. −4.3 % · risk p.a. 1.6 % (after costs, unleveraged)

Overnight network

Overnight network

watched

Idea: Which nights are worth holding?

Test: Against simple holding with a volatility rule.

Result: Just below the significance threshold, t = 1.9. Runs in the shadow book.

AUC 0.5 = chance, 1.0 = perfect. IC = correlation of prediction and return. F = model after m trees, η = learning rate. K = Kalman gain, e = surprise. bp = basis point = 0.01 %. t = significance, from about 2 not pure chance. For rejected agents: return and risk per year after costs, unleveraged, on one market. Sketches are schematic.

Multi-stage network: a real pattern, smaller than the costs

Four small networks work in sequence: market weather (how turbulent will the day be?), day observer (which direction has the day taken so far?), entry (is a trade worth it now?) and minder (hold or exit?).

RunSetupEdget
1Four networks of 8 neurons each1.7 bp per day0.6
2Re-learned every yearalmost nothing in the test–
3One network, 20 inputs4.2 bp per day3.7
4–5On a tradable fund2.5 bp per day4.4
Net return falls with costs per trade
Net edge per day against costs per trade.

After five runs the network found a statistically clear pattern with t = 4.4 that also holds on a tradable fund.

The lesson: a network can find a real pattern and still be worthless. The edge of 2.5 bp a day is used up at just 0.5 bp of costs per trade.

← Parameter-optimisedEvolutionary agents →
Book cover: Returns Without Self-Deception

In full detail in the book

Returns Without Self-Deception, chapter 6

This is the short version. The book covers many agents, with derivations, formula boxes and all testing steps.

Start the free randomness check