Show / Hide Table of Contents

Class AnnouncementExtensions

Set of extensions methods for the IAnnouncement interface.

Inheritance
System.Object
AnnouncementExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Alpaca.Markets
Assembly: Alpaca.Markets.dll
Syntax
public static class AnnouncementExtensions

Methods

| Improve this Doc View Source

GetDeclarationDate(IAnnouncement)

Gets the corporate action declaration date (DeclarationDate) or null if date not specified or not applicable for this corporate action type.

Declaration
public static DateOnly? GetDeclarationDate(this IAnnouncement announcement)
Parameters
Type Name Description
IAnnouncement announcement

Corporate action announcement record.

Returns
Type Description
System.Nullable<DateOnly>
| Improve this Doc View Source

GetExecutionDate(IAnnouncement)

Gets the corporate action execution date (ExecutionDate) or null if date not specified or not applicable for this corporate action type.

Declaration
public static DateOnly? GetExecutionDate(this IAnnouncement announcement)
Parameters
Type Name Description
IAnnouncement announcement

Corporate action announcement record.

Returns
Type Description
System.Nullable<DateOnly>
| Improve this Doc View Source

GetPayableDate(IAnnouncement)

Gets the corporate action payable date (PayableDate) or null if date not specified or not applicable for this corporate action type.

Declaration
public static DateOnly? GetPayableDate(this IAnnouncement announcement)
Parameters
Type Name Description
IAnnouncement announcement

Corporate action announcement record.

Returns
Type Description
System.Nullable<DateOnly>
| Improve this Doc View Source

GetRecordDate(IAnnouncement)

Gets the corporate action record date (RecordDate) or null if date not specified or not applicable for this corporate action type.

Declaration
public static DateOnly? GetRecordDate(this IAnnouncement announcement)
Parameters
Type Name Description
IAnnouncement announcement

Corporate action announcement record.

Returns
Type Description
System.Nullable<DateOnly>
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX