Bentrix Docs
HomePricingDashboard

Outputs in plain words — start here

New to models? What a model is, what its output is, what Bentrix does with it and what it never does — with the three ideas everything else rests on, and the words these pages use.

01Who this page is for

You have heard that a program can look at a chart and say something about what comes next, and you want to see that on your own chart in Bentrix. You do not need to know machine learning, statistics or programming to read this page. Each idea comes with an everyday example and a picture.

02What a model is

A model is a program that looks at the market's past and answers a question about what comes next. That is all the word means here. It can be:

  • a few lines of Python someone wrote in an afternoon (if most of the last twenty candles rose, say the next one will probably rise too);
  • a network trained on years of data in a tool such as PyTorch or TensorFlow;
  • a service running on another computer;
  • an AI assistant you talk to.

Bentrix does not care how the model works inside. It only needs the model's answer.

03What an output is

The answer a model gives is its output. Think of a weather forecast. The forecaster says a 70 % chance of rain tomorrow. That sentence is the forecaster's output. It does not make it rain, and it is not a promise. You decide what to do with it — take an umbrella, or not.

A trading model's outputs work the same way:

The model saysIn plain words
0.73There is a 73 % chance the price is higher in four hours.
trend 0.8 · range 0.2The market is probably trending, not moving sideways.
stop 1.0820 · target 1.0890If you buy, these are the prices I would exit at.
buyMy decision is to buy now.
0.92 among 4,000 marketsThis market is in the top 8 % of all of them today.

One model may give several outputs at once, each with a name, such as my_model.direction and my_model.regime.

04All twelve kinds of output

The examples above are five of them. Bentrix knows twelve kinds of answer a model can give. Each has a page of its own, with its picture, an everyday example, how to read it on the chart and what to watch out for.

KindIn one sentence
A forecast of barsThe next candles themselves, drawn past the newest one with the model's uncertainty around them.
A numberOne number each step — most often a probability, such as 0.73 that the price rises.
Named outcomesA chance for each of several outcomes the model names — up, flat, down, or trending, ranging.
QuantilesA middle guess with a range around it — how sure the model is, as a band.
A rankWhere this market stands among many others, from 0 (worst) to 1 (best).
A target positionHow much to hold, from fully short to fully long.
Portfolio weightsEach market's share of a portfolio, adding up to the whole.
An eventHow likely something is to happen soon — a breakout, a spike — like an alarm.
LevelsPrices: a stop, a target, an entry — drawn as lines on the chart.
An actionA decision already made: buy, sell, close, or nothing.
TextA sentence explaining the model's view. Kept, never drawn.
Named linesLines to look at — the model's own indicators — with no meaning of their own.

Not sure which kind your model gives? A model's output of any kind has a short guide: if your model answers… its kind is….

05What Bentrix does with an output

  1. Draws it. A number gets a small chart of its own under the price chart, called a pane. Levels are drawn as lines on the price chart. A decision is drawn as an arrow on a candle.
  2. Keeps it beside what really happened. Every value is kept with the moment it arrived, so you can later see what the model said and what the market then did.
  3. Lets you say what it means. A model says 0.73. Is that a buy? A sell? Nothing? You decide, in a few clicks, without touching the model. See what an output means to you.
  4. Measures it honestly. Bentrix checks each value against the candles that came after it arrived and tells you how often the model was right. See measuring an output.
  5. Puts it to work. An alert can ring when the model says buy. A strategy can trade on it in the laboratory or on paper. See outputs at work.
  6. Shares it, if you choose. In a private room, the people you work with can see your model's outputs on the shared chart, each under their own meaning.

06What Bentrix never does

  • It never says the model is right. A pane full of confident numbers looks convincing whether the model is good or worthless. Only measuring tells you which.
  • It never promises a profit. A model that is right more often than not can still lose money once spreads, commissions and timing are counted. Bentrix measures how a model behaves; it does not sell results.
  • It never changes your model. Bentrix checks only that an output is well formed — a probability between 0 and 1, a value inside the range the model declared — and refuses one that is not, with a sentence saying why.

07Three ideas everything rests on

1. A value exists from the moment it arrives

A value is counted from the moment it reaches Bentrix, never from an earlier moment the model says it was made for. If a model takes four hours to answer about the 10:00 candle, its answer belongs to 14:00, the moment it arrived. That is how it would have been in real trading, and it is what keeps the replay honest: a slow model cannot look better than it would have been.

nowthe model's number (0 to 1)arrived heremade for herestands where it arrived
A model's value exists from the moment it arrives. The dashed line is the workbench's clock: each value lands in the bar the clock is in, and its arrow stands there — a value made for an earlier bar but arriving late stands where it arrived, never back where it was made for. A drawing of the idea, not a picture of the application.

2. What a number means is yours

The same 0.73 can mean buy to you and sell to someone who found the model is better at calling falls. The model gives the numbers; your meaning turns them into decisions. Change the meaning and every arrow turns round, with no new value from the model.

acts above 0.6acts below 0.4high means buy · low means sellhigh means sell · low means buy
The model gives the same numbers in both halves. You decide what they mean: with high means buy, a value that rises above 0.6 makes a buy arrow and one that falls below 0.4 makes a sell. Swap the words and every arrow turns round, without the model changing anything. A drawing of the idea, not a picture of the application.

3. Trust it only after measuring it

A model's numbers are a claim. Bentrix pairs each value with what the market did after it arrived and counts the hits and the misses. Do this in the laboratory, on history, before you rely on a model anywhere else.

0.5the model said: up if above 0.5✓✗✓✗✗✓✗✓✓✓late: counted, not scored✓✗✓✗✓✗right 9 · wrong 7 · late 1
Bentrix measures a model against what came after each value arrived — never against bars it could not have known. A value that arrived after its bar had closed is counted as late and left out of the score, so a model cannot look better by being slow. A drawing of the idea, not a picture of the application.

08Where to try it first

Try every model in a laboratory workbench first. A laboratory replays history at the speed you choose, and nothing in it is real money. A laboratory of generated markets is the safest of all: Bentrix makes the prices itself, so you need no download and no broker. Your first output, step by step starts there.

09What you will see on the chart

When an output is on a chart, you will find:

  • A legend row under the chart's indicators. It starts with ◌ OUTPUT, then the model's name, the output's name, its kind and its value now, for example ◌ OUTPUT · my_first · up_share · scalar · 0.6500. Press the name to open its meaning. The eye next to it hides the output on this chart. The × removes it from the workbench.
  • A pane under the price chart, for an output that is a number or a set of numbers. Its scale is the range the model declared, such as 0 to 1.
  • Dashed lines in the pane, once you set a meaning: your thresholds, such as acts above 0.6.
  • Arrows on the price chart: green under a candle for a buy, red over a candle for a sell, each on the candle where the value arrived.
  • Lines on the price chart, for an output of levels such as a stop and a target.

10The words these pages use

WordWhat it means
ModelA program that answers a question about what comes next.
OutputOne answer of a model, with a name, such as direction.
KindWhat sort of answer an output is: a number, named outcomes, levels, a decision and so on.
ValueWhat the output says at one moment, such as 0.73.
RangeThe values an output can take, such as 0 to 1. A value outside it is refused.
AnchorThe candle a value was made at: the last candle that had closed when the model looked.
ArrivalThe moment a value reached Bentrix. Everything is read from the arrival.
LateA value that arrived after the candle it speaks about had already closed. It is shown, but never scored.
MeaningYour setting that says what a value is: a buy, a sell, nothing.
ThresholdThe value at which a meaning acts, such as acts above 0.6.
ActThe decision a meaning makes from a value: buy, sell or nothing. Drawn as an arrow.
PaneA small chart of its own under the price chart.
Legend rowThe line under the chart that names an output and holds its eye and ×.
WorkbenchOne working session in Bentrix: its markets, its charts, its clock and its account.
LaboratoryWhere workbenches replay history. Nothing in it is real money.

11Where to go next

Bentrix 0.1.382Every number, name and default on these pages is read from the application itself.What is comingWhat changed