@master-chief/alpaca-ts
Version:
A TypeScript Node.js library for the https://alpaca.markets REST API and WebSocket streams.
13 lines • 395 B
JavaScript
/**
* 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 const getClock = (httpRequest) => httpRequest.request({
method: "GET",
url: "/v2/clock",
});
//# sourceMappingURL=clock.js.map