Appearance

Personalize your experience

Mode
Accent Color
Direction
All Docs/QuaScript//
QuaScript logo

QuaScript Documentation

Language guide, engine API, 601 builtins and the preset library · v3.0.0-phase1

position

Generated from the engine catalog by tools/gen-docs.mjs; do not edit.

position.avg_price

script.qs
position.avg_price

Average entry price (na when flat).

position.bars_held

script.qs
position.bars_held

Bars since the first open lot.

position.entry_time

script.qs
position.entry_time

Time of the first open lot.

position.open_pnl

script.qs
position.open_pnl

Unrealized profit at the close.

position.side

script.qs
position.side

1 long, -1 short, 0 flat.

position.size

script.qs
position.size

Signed position quantity.


© 2026 Quatick Technologies. All rights reserved.