UNPKG

@master-chief/alpaca-ts

Version:

A TypeScript Node.js library for the https://alpaca.markets REST API and WebSocket streams.

13 lines (12 loc) 529 B
import { BaseHttpRequest } from "../rest/BaseHttpRequest.js"; import type { Clock } from "../entities/Clock.js"; import type { CancelablePromise } from "../rest/CancelablePromise.js"; /** * Get Market Clock info * The clock API serves the current market timestamp, whether the market is currently open, as well as the times of the next market open and close. * * Returns the market clock. * @returns Clock OK * @throws ApiError */ export declare const getClock: (httpRequest: BaseHttpRequest) => CancelablePromise<Clock>;