Class MarketStatus
- Namespace
- MassiveDotNet.Rest.Models
- Assembly
- MassiveDotNet.Rest.dll
The trading status of the markets right now: the overall state, each exchange's, the currency markets', and the index groups', with the server's own clock.
public sealed record MarketStatus : IEquatable<MarketStatus>
- Inheritance
-
MarketStatus
- Implements
- Inherited Members
Remarks
The response body is the payload (decision D17). ServerTime is an RFC 3339 timestamp carrying the server's UTC offset, which the description types as a bare string; the map binds it to Instant and the converter applies the offset (D-R10).
Properties
Currencies
Contains the status of various currency markets.
[JsonPropertyName("currencies")]
public MarketStatusCurrencies? Currencies { get; init; }
Property Value
Exchanges
Contains the status of different US stock exchanges (e.g., Nasdaq, NYSE).
[JsonPropertyName("exchanges")]
public MarketStatusExchanges? Exchanges { get; init; }
Property Value
IndexGroups
Contains the status of various index groups (e.g., MSCI, FTSE Russell).
[JsonPropertyName("indicesGroups")]
public MarketStatusIndexGroups? IndexGroups { get; init; }
Property Value
IsAfterHours
Whether or not the market is in post-market hours.
[JsonPropertyName("afterHours")]
public bool? IsAfterHours { get; init; }
Property Value
- bool?
IsEarlyHours
Whether or not the market is in pre-market hours.
[JsonPropertyName("earlyHours")]
public bool? IsEarlyHours { get; init; }
Property Value
- bool?
Market
The status of the market as a whole.
[JsonPropertyName("market")]
public string? Market { get; init; }
Property Value
ServerTime
The server's current time. The description types this a bare string; the wire carries an RFC 3339 timestamp with the server's UTC offset (D-R10).
[JsonPropertyName("serverTime")]
public Instant? ServerTime { get; init; }