@pond-ts/financial API Reference
    Preparing search index...

    Interface Session

    One trading day. [open, close) is half-open (the open instant trades, the close instant does not), matching pond's bucket convention.

    interface Session {
        breaks?: readonly SessionBreak[];
        close: number;
        date: string;
        open: number;
    }
    Index

    Properties

    Properties

    breaks?: readonly SessionBreak[]

    Optional intraday breaks, each [start, end) within [open, close], sorted and non-overlapping.

    close: number

    Session close, epoch-ms, exclusive. Always > open.

    date: string

    Trading date as a tz-naive ISO date YYYY-MM-DD — the session's identity and label.

    open: number

    Session open, epoch-ms, inclusive.