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 SourceIsOpen
Returns true if trading day is open now.
Declaration
Boolean IsOpen { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
NextCloseUtc
Gets nearest trading day close time in UTC.
Declaration
DateTime NextCloseUtc { get; }
Property Value
| Type | Description |
|---|---|
| DateTime |
NextOpenUtc
Gets nearest trading day open time in UTC.
Declaration
DateTime NextOpenUtc { get; }
Property Value
| Type | Description |
|---|---|
| DateTime |
TimestampUtc
Gets current timestamp in UTC.
Declaration
DateTime TimestampUtc { get; }
Property Value
| Type | Description |
|---|---|
| DateTime |