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

session

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

Constants

NameValueMeaning
session.corecoreThe exchange's main trading hours.
session.fullfullEvery hour the asset trades, including pre/post market.

session.end_time

script.qs
session.end_time(spec = , tz = asset.timezone) -> num

Session end of the bar's day (UTC seconds).

ArgumentKindDefaultNotes
spectext""
tztextasset.timezone

Keeps state per call site.

session.in_range

script.qs
session.in_range(spec = , tz = asset.timezone) -> bool

True when the bar is inside the time range.

ArgumentKindDefaultNotes
spectext""
tztextasset.timezone

Keeps state per call site.

session.is_closing_bar

script.qs
session.is_closing_bar(spec = , tz = asset.timezone) -> bool

True on the last bar of the session.

ArgumentKindDefaultNotes
spectext""
tztextasset.timezone

Keeps state per call site.

session.is_open

script.qs
session.is_open(spec = , tz = asset.timezone) -> bool

True while the session is open.

ArgumentKindDefaultNotes
spectext""
tztextasset.timezone

Keeps state per call site.

session.is_opening_bar

script.qs
session.is_opening_bar(spec = , tz = asset.timezone) -> bool

True on the first bar of the session.

ArgumentKindDefaultNotes
spectext""
tztextasset.timezone

Keeps state per call site.

session.start_time

script.qs
session.start_time(spec = , tz = asset.timezone) -> num

Session start of the bar's day (UTC seconds).

ArgumentKindDefaultNotes
spectext""
tztextasset.timezone

Keeps state per call site.


© 2026 Quatick Technologies. All rights reserved.