Bentrix Docs
HomePricingDashboard

A target position

How much to hold — from fully short to fully long — drawn as a stepped line shaded on either side of zero, and measured only by a laboratory strategy run.

01In plain words

Some models do not predict at all: they say how much to hold. −1 means fully short (betting on a fall), 0 means hold nothing, +1 means fully long (betting on a rise), and 0.5 means half. It can also be a number of lots. Models trained by reinforcement learning — learning by trial and error which position pays — often answer this way.

02An everyday example

An experienced sailor does not tell you the wind will rise; they say let out half the sail. A position output is that kind of instruction: not a view of the market, but how much of it to carry.

longshort
A target position: a stepped line between long and short A drawing of the idea, not a picture of the application.

03How to read it on the chart

  • The stepped line is the target position. It stays level until the model changes its mind, then steps up or down.
  • Above the middle line is long (shaded in the rising colour); below is short.

04Giving it a meaning

A position needs no thresholds: it is already a decision of how much. A strategy can follow it with the Target slot, buying or selling only the difference each time it changes. See outputs at work.

05Watch out for

  • A position is judged only in money. The only fair test is to follow it in a laboratory strategy, with costs counted. Bentrix gives no separate score for it.

06For programmers: what to hand Bentrix

One {"target": …} — or a {"targets": {market: …}} for several markets of the workbench — and its units (fraction, lots). A declared range is checked. It holds until the next output (horizon: "next_output").

spec = bentrix.Output.position("rl_ppo", "EURUSD", anchor_ms, -0.5, units="fraction", horizon="next_output")

07What the pane shows

A stepped line, long shaded above zero and short below, on a scale even on both sides.

08What is measured

A position is measured in money only: by a laboratory strategy run that follows it, through the strategy engine's own ledger. Bentrix gives no separate score of a position.

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