Show / Hide Table of Contents

Class IntervalCalenderExtensions

Set of extensions methods for the IIntervalCalendar interface.

Inheritance
System.Object
IntervalCalenderExtensions
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 IntervalCalenderExtensions

Methods

| Improve this Doc View Source

GetSessionCloseTimeEst(IIntervalCalendar)

Gets session close time in EST time zone.

Declaration
public static DateTime GetSessionCloseTimeEst(this IIntervalCalendar calendar)
Parameters
Type Name Description
IIntervalCalendar calendar

Alpaca calendar data.

Returns
Type Description
DateTime
| Improve this Doc View Source

GetSessionCloseTimeUtc(IIntervalCalendar)

Gets session close time in UTC time zone.

Declaration
public static DateTime GetSessionCloseTimeUtc(this IIntervalCalendar calendar)
Parameters
Type Name Description
IIntervalCalendar calendar

Alpaca calendar data.

Returns
Type Description
DateTime
| Improve this Doc View Source

GetSessionOpenTimeEst(IIntervalCalendar)

Gets session open time in EST time zone.

Declaration
public static DateTime GetSessionOpenTimeEst(this IIntervalCalendar calendar)
Parameters
Type Name Description
IIntervalCalendar calendar

Alpaca calendar data.

Returns
Type Description
DateTime
| Improve this Doc View Source

GetSessionOpenTimeUtc(IIntervalCalendar)

Gets session open time in UTC time zone.

Declaration
public static DateTime GetSessionOpenTimeUtc(this IIntervalCalendar calendar)
Parameters
Type Name Description
IIntervalCalendar calendar

Alpaca calendar data.

Returns
Type Description
DateTime
| Improve this Doc View Source

GetTradingCloseTimeEst(IIntervalCalendar)

Gets trading close time in EST time zone.

Declaration
public static DateTime GetTradingCloseTimeEst(this IIntervalCalendar calendar)
Parameters
Type Name Description
IIntervalCalendar calendar

Alpaca calendar data.

Returns
Type Description
DateTime
| Improve this Doc View Source

GetTradingCloseTimeUtc(IIntervalCalendar)

Gets trading close time in UTC time zone.

Declaration
public static DateTime GetTradingCloseTimeUtc(this IIntervalCalendar calendar)
Parameters
Type Name Description
IIntervalCalendar calendar

Alpaca calendar data.

Returns
Type Description
DateTime
| Improve this Doc View Source

GetTradingDate(IIntervalCalendar)

Gets trading date (midnight or 00:00 time point).

Declaration
public static DateOnly GetTradingDate(this IIntervalCalendar calendar)
Parameters
Type Name Description
IIntervalCalendar calendar

Alpaca calendar data.

Returns
Type Description
DateOnly
| Improve this Doc View Source

GetTradingOpenTimeEst(IIntervalCalendar)

Gets trading open time in EST time zone.

Declaration
public static DateTime GetTradingOpenTimeEst(this IIntervalCalendar calendar)
Parameters
Type Name Description
IIntervalCalendar calendar

Alpaca calendar data.

Returns
Type Description
DateTime
| Improve this Doc View Source

GetTradingOpenTimeUtc(IIntervalCalendar)

Gets trading open time in UTC time zone.

Declaration
public static DateTime GetTradingOpenTimeUtc(this IIntervalCalendar calendar)
Parameters
Type Name Description
IIntervalCalendar calendar

Alpaca calendar data.

Returns
Type Description
DateTime
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX