Bentrix Docs
HomePricingDashboard

Forecasts and models

Put your own model's forecast on the chart, ahead of the newest bar — or its output of any other kind, a probability, a rank, a position, levels or a decision — from a program of yours, from a Python model Bentrix runs at each close, or from a model file in the open ONNX format that Bentrix runs itself.

A forecast is your model's word about the bars to come: the next candles of an interval, the next bricks of a Renko chart, the next lines of a Kagi chart, or just the next closes. Bentrix draws it on the chart past the newest bar, with its uncertainty around it, keeps it with what actually came, and lets you put it to work in alerts, strategies and indicators.

A forecast is your model's, never Bentrix's. Bentrix draws what the model said; it does not say the model is right, and no figure here is a promise of a return.

01Three ways to bring a model

How it worksGood for
A program of your ownYour program, in any of the SDK's nine languages, or an AI assistant over MCP, builds a forecast and puts it on a workbench with forecast_put.Any model, anywhere — a notebook, a server, a cloud service.
A Python model Bentrix runsA .py file in your models folder declares one model. At each close of its interval Bentrix hands it the window and draws what it answers.A model you want to see working live with nothing else to run.
A model fileAn ONNX file beside a small manifest in your models folder. Bentrix runs it itself, with no Python — on its built-in engine, or on the faster ONNX Runtime engine, on the processor or your graphics card.A trained network from PyTorch, TensorFlow, scikit-learn or any tool that exports ONNX.

Each is a page of its own below.

02Outputs of every kind

A forecast of candles is one thing a model can say. A probability, named outcomes, quantiles, a rank, a target position, portfolio weights, an event, levels, a decision, a sentence or lines of its own are others — Bentrix takes each as an output, draws it in a pane or on the price pane, and lets you set what it means: a model's output of any kind.

03When a forecast exists

A forecast exists from the moment it arrives, never earlier. Bentrix stamps every forecast with its arrival on the workbench's own clock — the replay's instant in the laboratory, the market's clock on paper and on a real account. Every reader takes, at a moment, the newest forecast that had arrived by then: the chart, the hover, an alert, a strategy, an indicator, an evaluation.

That is why replaying history gives exactly what live gave: a model that took two seconds to answer is two seconds late in the replay too, and a strategy over history can never act on a forecast earlier than it could have acted live.

Read a forecast at its anchor is the one exception, and you turn it on yourself (Settings › Forecast). It reads a model's earlier forecasts as if they had existed at the close they were made for — useful in the laboratory when you want to set a model's latency aside. It is marked on every reader that uses it, and it never reads what has not arrived: on a paper or real workbench the newest close is always read by arrival, and a strategy on a real account that reads a forecast is refused while it is on.

04What a forecast does not tell you

  • Whether the model is any good. A forecast drawn on a chart looks convincing whatever its quality. The record and the evaluation measure it against what came; read them before trusting one.
  • What will happen. A band is the model's own statement of its uncertainty, not a guarantee; prices leave bands.
  • Anything about the market Bentrix vouches for. Bentrix checks that a forecast is well formed — a high above its body, steps in order, an anchor at a real bar — and nothing else.

In this part

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