A trading window in local wall-clock terms, as parsed from a spec string.

interface SessionSpec {
    days?: readonly number[];
    end: number;
    start: number;
}

Properties

Properties

days?: readonly number[]

Days the window opens on, 1..7 with 1 = Sunday. Absent means every day.

end: number

Minutes from midnight, exclusive.

start: number

Minutes from midnight, inclusive.