Class TreasuryYield
- Namespace
- Tudormobile.AlphaVantage.Entities
- Assembly
- Tudormobile.AlphaVantageAPI.dll
Represents U.S. Treasury yield data for a specific maturity period.
public class TreasuryYield : IEntity
- Inheritance
-
TreasuryYield
- Implements
- Inherited Members
Remarks
This class contains historical yield data for U.S. Treasury securities, which are government debt instruments used as benchmarks for risk-free rates in financial markets. Treasury yields are fundamental indicators of economic conditions and interest rate expectations.
Constructors
TreasuryYield()
public TreasuryYield()
Properties
Data
Gets or sets the collection of historical yield data points.
public List<TreasuryYieldData> Data { get; set; }
Property Value
- List<TreasuryYieldData>
A list of TreasuryYieldData objects, each representing the yield on a specific date. Data is typically ordered chronologically, with the most recent data first.
Interval
Gets or sets the time interval between data points in the yield series.
public TreasuryYieldInterval Interval { get; set; }
Property Value
- TreasuryYieldInterval
The frequency of yield observations, such as daily, weekly, or monthly.
Maturity
Gets or sets the maturity period of the Treasury security.
public TreasuryYieldMaturity Maturity { get; set; }
Property Value
- TreasuryYieldMaturity
The time to maturity, ranging from 3 months to 30 years.
Name
Gets or sets the full name of the Treasury instrument.
public string Name { get; set; }
Property Value
- string
A descriptive name such as "10-Year Treasury Constant Maturity Rate" or "3-Month Treasury Bill".
Unit
Gets or sets the unit of measurement for the yield values.
public string Unit { get; set; }
Property Value
- string
Typically "percent", indicating that yield values are expressed as percentage rates (e.g., 4.09 means 4.09%).