Class EconomicEvent
- Namespace
- ATAS.Indicators.News
- Assembly
- ATAS.Indicators.dll
A macroeconomic release (past or scheduled), as returned by GetEconomicEventsAsync(string?, string?, EconomicEventComparison?, DateTime, CancellationToken) and delivered by EconomicEventsReceived. A scheduled release has no Actual value yet; when the figures are published the event is delivered again with the same Id. Numeric values are passed through from the EODHD economic events feed in the units the indicator is published in.
Added in ATAS 8.0.15.
public sealed class EconomicEvent
- Inheritance
-
objectEconomicEvent
- Extension Methods
Constructors
EconomicEvent()
public EconomicEvent()
Properties
Actual
Gets the published value, or null while the release has not happened yet.
public double? Actual { get; init; }
Property Value
- double?
Change
Gets the change of the value as supplied by the data feed, or null when not available.
public double? Change { get; init; }
Property Value
- double?
ChangePercentage
Gets the change of the value in percent as supplied by the data feed, or null when not available.
public double? ChangePercentage { get; init; }
Property Value
- double?
Comparison
Gets the comparison basis of the value: mom (month over month), qoq (quarter over quarter)
or yoy (year over year); null when not applicable.
The values correspond to ToWire(EconomicEventComparison).
public string? Comparison { get; init; }
Property Value
- string
Country
Gets the ISO 3166-1 alpha-2 code of the country the release refers to (for example, US).
public string Country { get; init; }
Property Value
- string
Date
Gets the scheduled release date and time in UTC. Its System.DateTime.Kind is not guaranteed to be System.DateTimeKind.Utc.
public DateTime Date { get; init; }
Property Value
- DateTime
Estimate
Gets the forecast value, or null when not available.
public double? Estimate { get; init; }
Property Value
- double?
Id
Gets the stable identifier of the event, derived from the release day, Country, Type, Period and Comparison. Updates of the figures and rescheduling within the same day keep the identifier.
public string Id { get; init; }
Property Value
- string
Importance
Gets the expected market impact of the event, assigned by the ATAS news server from the country and indicator type. Delivered events never carry Skip.
public EconomicEventImportance Importance { get; init; }
Property Value
Period
Gets the reference period of the release as text (for example, Q4 or Jan), or null when not applicable.
public string? Period { get; init; }
Property Value
- string
Previous
Gets the value of the previous release, or null when not available.
public double? Previous { get; init; }
Property Value
- double?
Type
Gets the name of the economic indicator as supplied by the data feed (for example, GDP Growth Rate).
public string Type { get; init; }
Property Value
- string