playitsmart.nl

Back to home

10 June 2026 · 3 min read

Post #1

I don't understand my own dashboard

How confusion about a screen exposed a bug in the trading logic

On one page of my dashboard it said the market was "cautious". On another page it said "neutral". Same system, same day, two different answers to what seemed like the same question.

My first reaction was not "there is a bug". My first reaction was "I don't understand my own dashboard anymore". And that feeling, looking at your own screen and not being able to explain what you see, turned out to be the most important signal of the day.

Confusion as a symptom

It is tempting to wave confusion away. You built it yourself, so you assume it must be right and that you are just not sharp at the moment. That assumption is exactly the dangerous one. Confusion about something you made yourself is often not a sign that you don't get it, but that something is off.

So instead of ignoring the contradiction, it was investigated. Not from the idea "this must be a bug", but from "I want to understand why these two numbers differ". That distinction matters. You are not hunting for an error, you are hunting for an explanation. The error finds itself if it is there.

Two markets, no label

What turned out: the system calculates the market regime separately for the US and the European market. Two separate outcomes, every day. On that particular day the US market was cautious and the European one neutral. Both correct, because they really are two different markets with different underlying figures.

The problem: the two dashboard pages each happened to grab a different market, without stating which one anywhere. One page showed the US, the other the European. No label, no explanation. So it looked like the same number was contradicting itself, while in reality you were looking at two different markets without knowing it.

That is a nasty kind of bug. Not one that throws an error, but one that shows something plausible that is just not what you think.

The bug beneath the bug

And then came the part that really mattered. That same sloppiness, fetching a market regime without determining which market, also sat in the piece of code that helps decide on trades. There the system picked one of the two markets at random. One day that could be the US, the next the European, depending on chance in how the data came back.

On that specific day it had no consequences, because neither market was in a state that would block trading. But it is exactly the kind of latent fault that strikes one day. On a day where one market gives a stop signal and the other does not, it would then come down to chance which signal your system follows. You do not want to leave that to chance, certainly not with money at stake.

The solution was a deliberate choice: from now on the strictest of the two markets counts. If either one gives a reason to be cautious, that applies to the whole system. The dashboard now shows the same thing, with a clear label of which market you are seeing. No more chance, no more contradiction.

What this taught me

Your dashboard is not just a window onto your system, it is also a testing instrument. If you look at your own screen and it does not match your expectation, that is data. Do not ignore that feeling, go and check.

This started as an irritation, two numbers that did not match, and it ended in finding a bug that would otherwise have surfaced only with real money. Not because I was hunting for an error, but because I took the confusion seriously instead of waving it away.

Trust your confusion. It is almost always a clue somewhere.

Follow weekly?