Skip to content

@livefolio/sdk / TimeOfDay

Type Alias: TimeOfDay

TimeOfDay = object

Defined in: interfaces/calendar.ts:14

Wall-clock time of day, expressed in local exchange time.

Example

ts
import type { TimeOfDay } from '@livefolio/sdk';

const marketOpen: TimeOfDay = { h: 9, m: 30 };  // 09:30 NYSE
const earlyClose: TimeOfDay = { h: 13, m: 0 };  // 13:00 on early-close days

Properties

h

h: number

Defined in: interfaces/calendar.ts:14


m

m: number

Defined in: interfaces/calendar.ts:14

Released under the MIT License.