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
ExpiryDate
Expiration date.
[DataMember]
public DateTimeOffset? ExpiryDate { get; set; }
Property Value
Headline
Header.
[DataMember]
[Display(ResourceType = typeof(LocalizedStrings), Name = "Header", Description = "HeaderDot", GroupName = "General")]
public string Headline { get; set; }
Property Value
Id
News ID.
[DataMember]
[Display(ResourceType = typeof(LocalizedStrings), Name = "Id", Description = "NewsId", GroupName = "General")]
public string Id { get; set; }
Property Value
Language
Language.
[DataMember]
public string Language { get; set; }
Property Value
LocalTime
News received local time.
[DataMember]
[Display(ResourceType = typeof(LocalizedStrings), Name = "LocalTime", Description = "LocalTimeDesc", GroupName = "General")]
public DateTimeOffset LocalTime { get; set; }
Property Value
Priority
News priority.
[DataMember]
[Display(ResourceType = typeof(LocalizedStrings), Name = "Priority", Description = "NewsPriority", GroupName = "General")]
public NewsPriorities? Priority { get; set; }
Property Value
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
SeqNum
Sequence number.
[DataMember]
public long SeqNum { get; set; }
Property Value
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
Source
News source.
[DataMember]
[Display(ResourceType = typeof(LocalizedStrings), Name = "Source", Description = "NewsSource", GroupName = "General")]
public string Source { get; set; }
Property Value
Story
News text.
[DataMember]
[Display(ResourceType = typeof(LocalizedStrings), Name = "Text", Description = "NewsText", GroupName = "General")]
public string Story { get; set; }
Property Value
Url
News link in the internet.
[DataMember]
[Display(ResourceType = typeof(LocalizedStrings), Name = "Link", Description = "NewsLink", GroupName = "General")]
public string Url { get; set; }
Property Value
Methods
ToString()
public override string ToString()