Table of Contents

Class NewsArticle

Namespace
ATAS.Indicators.News
Assembly
ATAS.Indicators.dll

A financial news article delivered by NewsReceived. Articles come from the EODHD financial news feed through the ATAS news server.

Added in ATAS 8.0.15.

public sealed class NewsArticle
Inheritance
object
NewsArticle
Extension Methods

Constructors

NewsArticle()

public NewsArticle()

Properties

Content

Gets the text of the article as supplied by the news feed; empty when not provided.

public string Content { get; init; }

Property Value

string

Date

Gets the publication 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

Id

Gets the stable identifier of the article. Use it to deduplicate articles received more than once (for example, from the history and from the live stream).

public string Id { get; init; }

Property Value

string

Gets the URL of the original article; empty when not provided.

public string Link { get; init; }

Property Value

string

Sentiment

Gets the sentiment scores of the article, or null when the news feed does not provide them.

public NewsSentiment? Sentiment { get; init; }

Property Value

NewsSentiment

Symbols

Gets the ATAS security identifiers (in the code@exchange form) of the instruments the article mentions. Symbols of the news feed that have no matching ATAS instrument are omitted, so the list may be empty.

public IReadOnlyList<string> Symbols { get; init; }

Property Value

IReadOnlyList<string>

Tags

Gets the topic tags of the article assigned by the news feed. See GetTagsAsync(CancellationToken) for the catalog of known tags.

public IReadOnlyList<string> Tags { get; init; }

Property Value

IReadOnlyList<string>

Title

Gets the headline of the article.

public string Title { get; init; }

Property Value

string