Class News
News.
Implements
Namespace: StockSharp.BusinessEntities
Assembly: StockSharp.BusinessEntities.dll
Syntax
[DisplayNameLoc("Str395")]
[DescriptionLoc("Str510", false)]
public class News : NotifiableObject, IExtendableEntity
Constructors
News()
Declaration
public News()
Properties
Board
Exchange board for which the news is published.
Declaration
[DisplayNameLoc("Str511")]
[DescriptionLoc("Str512", false)]
public ExchangeBoard Board { get; set; }
Property Value
Type | Description |
---|---|
ExchangeBoard |
ExpiryDate
Expiration date.
Declaration
public Nullable<DateTimeOffset> ExpiryDate { get; set; }
Property Value
Type | Description |
---|---|
Nullable<DateTimeOffset> |
ExtensionInfo
Extended information.
Declaration
[DisplayNameLoc("ExtendedInfo")]
[DescriptionLoc("Str427", false)]
public IDictionary<string, object> ExtensionInfo { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<String, Object> |
Remarks
Required when extra information is stored in the program.
Headline
Header.
Declaration
[DisplayNameLoc("Str215")]
[DescriptionLoc("Str215", true)]
public string Headline { get; set; }
Property Value
Type | Description |
---|---|
String |
Id
News ID.
Declaration
[DisplayNameLoc("Id")]
[DescriptionLoc("NewsId", false)]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
String |
Language
Language.
Declaration
public string Language { get; set; }
Property Value
Type | Description |
---|---|
String |
LocalTime
News received local time.
Declaration
[DisplayNameLoc("Str514")]
[DescriptionLoc("Str515", false)]
public DateTimeOffset LocalTime { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset |
Priority
News priority.
Declaration
public Nullable<NewsPriorities> Priority { get; set; }
Property Value
Type | Description |
---|---|
Nullable<NewsPriorities> |
Security
Security, for which news have been published.
Declaration
[DisplayNameLoc("Security")]
[DescriptionLoc("Str513", false)]
public Security Security { get; set; }
Property Value
Type | Description |
---|---|
Security |
SeqNum
Sequence number.
Declaration
public long SeqNum { get; set; }
Property Value
Type | Description |
---|---|
Int64 |
Remarks
Zero means no information.
ServerTime
Time of news arrival.
Declaration
[DisplayNameLoc("Time")]
[DescriptionLoc("Str220", false)]
public DateTimeOffset ServerTime { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset |
Source
News source.
Declaration
[DisplayNameLoc("Str213")]
[DescriptionLoc("Str214", false)]
public string Source { get; set; }
Property Value
Type | Description |
---|---|
String |
Story
News text.
Declaration
[DisplayNameLoc("Str217")]
[DescriptionLoc("Str218", false)]
public string Story { get; set; }
Property Value
Type | Description |
---|---|
String |
Url
News link in the internet.
Declaration
[DisplayNameLoc("Str221")]
[DescriptionLoc("Str222", false)]
public string Url { get; set; }
Property Value
Type | Description |
---|---|
String |
Methods
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |