Package-level declarations

Types

Link copied to clipboard
interface Clock
Link copied to clipboard

CME Globex trading hours in Chicago time: each session opens at 17:00 and closes at 16:00 the next day, Sunday evening to Friday afternoon, with the daily 16:00–17:00 halt out of session (and a scheduled break). Daylight saving is followed through the zone. Exchange holidays and early closes are not modelled.

Link copied to clipboard
Link copied to clipboard
class DailyBreakCalendar(base: TradingCalendar, breakStart: LocalTime, breakEnd: LocalTime, zone: ZoneId) : TradingCalendar

A TradingCalendar that adds one scheduled daily pause on top of a base calendar.

Link copied to clipboard
class FixedClock(var time: Long = 0) : MutableClock
Link copied to clipboard
Link copied to clipboard
interface IdGenerator
Link copied to clipboard
object Money
Link copied to clipboard

The bus event sequence: 0, 1, 2, … in publish order. A session restarted over the same state resumes after the last sequence it already issued, so sequence ids stay unique across the restart for the audit journal and for keys derived from them (fill slices, operation ids).

Link copied to clipboard
interface MutableClock : Clock

A clock whose event-time is driven by the data being processed, not the wall clock — so a deterministic run (backtest, or live-paper parity) advances "now" to each event's timestamp as the engine processes it. Real venues use SystemClock (wall time) and are NOT mutable, so the live engine's advanceTo is a no-op there.

Link copied to clipboard
Link copied to clipboard
sealed class RefreshTrigger
Link copied to clipboard
Link copied to clipboard
class SequentialIdGenerator(val prefix: String = "ORD") : IdGenerator
Link copied to clipboard
sealed class SessionAnchor
Link copied to clipboard
enum Side : Enum<Side>
Link copied to clipboard

Resolves a qkt symbol to the TradingCalendar that governs its trading sessions.

Link copied to clipboard
Link copied to clipboard
class TimeContext(clock: Clock, val zone: ZoneId = ZoneOffset.UTC)
Link copied to clipboard
sealed class TimeMark
Link copied to clipboard
data class TimeRange(val from: Instant, val to: Instant)
Link copied to clipboard
interface TradingCalendar