Class SymbolMapping
- Namespace
- DatabentoDotNet.Dbn
- Assembly
- DatabentoDotNet.Dbn.dll
One requested raw symbol and the intervals over which it resolved to an output symbol.
public sealed class SymbolMapping
- Inheritance
-
SymbolMapping
- Inherited Members
Remarks
A symbol's resolution is not constant over a query range — an instrument can be renamed, and a continuous contract points at a different instrument every roll — so a mapping is a list of dated intervals rather than a single value. A raw symbol that resolved to nothing over the whole range has an empty Intervals list and also appears in NotFound.
Properties
Intervals
The dated intervals RawSymbol resolved over, in the order they appear on the wire. Never null; empty when the symbol never resolved.
public IReadOnlyList<MappingInterval> Intervals { get; init; }
Property Value
RawSymbol
The requested symbol, in the stream's input symbology.
public required string RawSymbol { get; init; }