getStatus {KrakenR} | R Documentation |
Retrieve the Current System Status of the Kraken Exchange
Description
This function fetches the current system status from the Kraken API, including both the operational status and the timestamp.
Usage
getStatus(data = "both")
Arguments
data |
A character string specifying the type of data to return. Use "status" for the system status, "timestamp" for the timestamp, or "both" to retrieve both status and timestamp. The default is "both". |
Value
A character string if data = "status"
or data = "timestamp"
.
A named vector if data = "both"
.
Examples
getStatus("both")
getStatus("status")
getStatus("timestamp")
[Package KrakenR version 1.0.0 Index]