Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract val name: String

Functions

Link copied to clipboard
abstract fun anchorEpochFor(anchor: SessionAnchor, t: Instant): Long
Link copied to clipboard
abstract fun isInSession(symbol: String, t: Instant): Boolean
Link copied to clipboard
open fun isScheduledBreak(symbol: String, t: Instant): Boolean

True when t falls inside a scheduled intraday pause for symbol — a venue-published break such as the metals/energy close at 17:00 New York. Distinct from isInSession: feed polling and venue-state pollers key off the session (a break is too short to back off for), while the market-data gate uses the break to classify a quote gap as expected rather than as a feed fault. A venue whose pause closes the market (the CME Globex 16:00–17:00 halt) may report it both as a break and as out of session. Defaults to never.

Link copied to clipboard
abstract fun rangeFor(anchor: SessionAnchor, anchorEpoch: Long): TimeRange
Link copied to clipboard
abstract fun sessionRange(symbol: String, t: Instant): TimeRange
Link copied to clipboard