Class TickerEvent
- Namespace
- MassiveDotNet.Rest.Models
- Assembly
- MassiveDotNet.Rest.dll
One event in an asset's history: the date it took place and, for a ticker change, the symbol it changed to.
public sealed record TickerEvent : IEquatable<TickerEvent>
- Inheritance
-
TickerEvent
- Implements
- Inherited Members
Remarks
The description declares a required event_type; the published example and the live wire
both spell it type, so EventType is typed nullable and reads as absent
until the description or the service moves (D-R10). Nothing here is renamed: the map cannot
rename a wire key.
Properties
Date
The date the event took place
[JsonPropertyName("date")]
public LocalDate Date { get; init; }
Property Value
EventType
The type of the event. The description requires this key, but the wire spells it type, so
it is null in practice (D-R10); TickerChange being set is the working
discriminator.
[JsonPropertyName("event_type")]
public string? EventType { get; init; }
Property Value
TickerChange
Details about a ticker change
[JsonPropertyName("ticker_change")]
public TickerChange? TickerChange { get; init; }