Table of Contents

Class IndicatorSeries

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

One page of a technical indicator: the values computed for the page, and the aggregates they were computed from.

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

Remarks

The values continue across pages; the underlying belongs to each page alone, which is why Enumerate yields only values and List returns the whole page (decision D17). A container rather than a tick, so a class (decision D4).

Properties

Underlying

The underlying aggregates used.

[JsonPropertyName("underlying")]
public IndicatorUnderlying? Underlying { get; init; }

Property Value

IndicatorUnderlying

Values

The indicator values for this page, oldest or newest first as requested.

[JsonPropertyName("values")]
[JsonConverter(typeof(PooledArrayConverter<IndicatorValue>))]
public IndicatorValue[]? Values { get; init; }

Property Value

IndicatorValue[]