API REFERENCE

StockSessionInput

The StockSessionInput type declaration and related types. Optional fields are marked with ?.

Type declaration

typescript
export interface StockSessionInput {
  readonly timezone?: string;
  readonly sessions?: ReadonlyArray<string>;
  readonly holidays?: ReadonlyArray<string>;
  readonly closedWeekdays?: ReadonlyArray<number>;
}