Table of Contents

Class News

Namespace
StockSharp.BusinessEntities
Assembly
StockSharp.BusinessEntities.dll

News.

[DataContract]
[Display(ResourceType = typeof(LocalizedStrings), Name = "News", Description = "NewsDesc")]
public class News : NotifiableObject
Inheritance
News
Extension Methods

Constructors

News()

public News()

Properties

Board

Exchange board for which the news is published.

[DataMember]
[Display(ResourceType = typeof(LocalizedStrings), Name = "Board", Description = "ElectronicBoardDesc", GroupName = "General")]
public ExchangeBoard Board { get; set; }

Property Value

ExchangeBoard

ExpiryDate

Expiration date.

[DataMember]
public DateTimeOffset? ExpiryDate { get; set; }

Property Value

DateTimeOffset?

Headline

Header.

[DataMember]
[Display(ResourceType = typeof(LocalizedStrings), Name = "Header", Description = "HeaderDot", GroupName = "General")]
public string Headline { get; set; }

Property Value

string

Id

News ID.

[DataMember]
[Display(ResourceType = typeof(LocalizedStrings), Name = "Id", Description = "NewsId", GroupName = "General")]
public string Id { get; set; }

Property Value

string

Language

Language.

[DataMember]
public string Language { get; set; }

Property Value

string

LocalTime

News received local time.

[DataMember]
[Display(ResourceType = typeof(LocalizedStrings), Name = "LocalTime", Description = "LocalTimeDesc", GroupName = "General")]
public DateTimeOffset LocalTime { get; set; }

Property Value

DateTimeOffset

Priority

News priority.

[DataMember]
[Display(ResourceType = typeof(LocalizedStrings), Name = "Priority", Description = "NewsPriority", GroupName = "General")]
public NewsPriorities? Priority { get; set; }

Property Value

NewsPriorities?

Security

Security, for which news have been published.

[DataMember]
[Display(ResourceType = typeof(LocalizedStrings), Name = "Security", Description = "NewsSecurity", GroupName = "General")]
public Security Security { get; set; }

Property Value

Security

SeqNum

Sequence number.

[DataMember]
public long SeqNum { get; set; }

Property Value

long

Remarks

Zero means no information.

ServerTime

Time of news arrival.

[DataMember]
[Display(ResourceType = typeof(LocalizedStrings), Name = "Time", Description = "NewsTime", GroupName = "General")]
public DateTimeOffset ServerTime { get; set; }

Property Value

DateTimeOffset

Source

News source.

[DataMember]
[Display(ResourceType = typeof(LocalizedStrings), Name = "Source", Description = "NewsSource", GroupName = "General")]
public string Source { get; set; }

Property Value

string

Story

News text.

[DataMember]
[Display(ResourceType = typeof(LocalizedStrings), Name = "Text", Description = "NewsText", GroupName = "General")]
public string Story { get; set; }

Property Value

string

Url

News link in the internet.

[DataMember]
[Display(ResourceType = typeof(LocalizedStrings), Name = "Link", Description = "NewsLink", GroupName = "General")]
public string Url { get; set; }

Property Value

string

Methods

ToString()

public override string ToString()

Returns

string