Table of Contents

Class MarketHoliday

Namespace
MassiveDotNet.Rest.Models
Assembly
MassiveDotNet.Rest.dll

An upcoming market holiday or early close for one exchange.

public sealed record MarketHoliday : IEquatable<MarketHoliday>
Inheritance
MarketHoliday
Implements
Inherited Members

Remarks

The response body is a bare array of these (decision D17). Date is a calendar date; Open and Close are moments, present only for an early close.

Properties

Close

The market close time on the holiday (if it's not closed).

[JsonPropertyName("close")]
public Instant? Close { get; init; }

Property Value

Instant?

Date

The date of the holiday.

[JsonPropertyName("date")]
public LocalDate Date { get; init; }

Property Value

LocalDate

Exchange

Which market the record is for.

[JsonPropertyName("exchange")]
public string? Exchange { get; init; }

Property Value

string

Name

The name of the holiday.

[JsonPropertyName("name")]
public string? Name { get; init; }

Property Value

string

Open

The market open time on the holiday (if it's not closed).

[JsonPropertyName("open")]
public Instant? Open { get; init; }

Property Value

Instant?

Status

The status of the market on the holiday.

[JsonPropertyName("status")]
public string? Status { get; init; }

Property Value

string