Class TreasuryYieldData
- Namespace
- Tudormobile.AlphaVantage.Entities
- Assembly
- Tudormobile.AlphaVantageAPI.dll
Represents a single yield observation for a Treasury security on a specific date.
public class TreasuryYieldData : IEntity
- Inheritance
-
TreasuryYieldData
- Implements
- Inherited Members
Remarks
Each data point captures the constant maturity yield for the Treasury security, which is the yield on a security adjusted to a constant maturity equivalent to ensure comparability over time.
Constructors
TreasuryYieldData()
public TreasuryYieldData()
Properties
Date
Gets or sets the date of the yield observation.
public DateOnly Date { get; set; }
Property Value
- DateOnly
The date on which the Treasury yield was recorded.
Value
Gets or sets the yield value as a percentage.
public decimal Value { get; set; }
Property Value
- decimal
The yield rate expressed as a decimal representing a percentage (e.g., 4.09 represents 4.09%). This is the constant maturity rate published by the Federal Reserve.