Node reference

Position Size

Current position size; net = long − short.

Rev. 2026.06

Position Sizestate
No inputsOutputs
Position Size
Size
main · number
Configure
side
— Which book to read — net, long, or short
default net

What it does

The size of the open position right now.

What happens

Read from the engine's live execution context each candle — it reflects the current run (position, equity, time, trade history), not a computed indicator.

When to use

Size-aware logic, scaling, and partial exits.

Gotchas

  • Net (default) nets the two books; set side to read one.