Skip to main content

Module position

Module position 

Source
Expand description

Position — the atomic unit of market exposure.

A Position represents a single directional exposure on a single symbol. It can be filled in one shot or scaled into over time (multiple Fills). Management rules are stored alongside the position data and evaluated on every price tick by the engine.

Structs§

Position
A position: data + composable management rules.
PositionData
Core position data — the pure state without rules.