Show / Hide Table of Contents

Interface IClock

Encapsulates current trading date information from Alpaca REST API.

Namespace: Alpaca.Markets
Assembly: Alpaca.Markets.dll
Syntax
public interface IClock

Properties

| Improve this Doc View Source

IsOpen

Returns true if trading day is open now.

Declaration
Boolean IsOpen { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

NextCloseUtc

Gets nearest trading day close time in UTC.

Declaration
DateTime NextCloseUtc { get; }
Property Value
Type Description
DateTime
| Improve this Doc View Source

NextOpenUtc

Gets nearest trading day open time in UTC.

Declaration
DateTime NextOpenUtc { get; }
Property Value
Type Description
DateTime
| Improve this Doc View Source

TimestampUtc

Gets current timestamp in UTC.

Declaration
DateTime TimestampUtc { get; }
Property Value
Type Description
DateTime
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX