• UTC seconds at which the next bar opens, or null for count-driven bars, whose close depends on trade flow rather than on the clock.

    The gap between this and bucketStartOf is the bar's real length: 28, 29, 30 or 31 days for a month, and an hour short of that across a spring forward.

    Parameters

    • b: Bucketing
    • timeSec: number
    • Optionalzone: string

    Returns number | null