getTickers {KrakenR}R Documentation

Retrieve Ticker Information from Kraken Exchange

Description

This function fetches detailed ticker information from the Kraken API for specified trading pairs or all available pairs.

Usage

getTickers(pairs = "All")

Arguments

pairs

A character vector specifying the pairs to retrieve ticker information for. Use "All" to fetch data for all pairs. For specific pairs, provide their abbreviations (e.g., "ADAEUR" or c("ADAEUR", "BTCUSD")). Default is "All".

Value

A data frame containing detailed ticker information for the requested pairs with renamed and split columns, where applicable, and all numbers treated as numeric.

Examples

getTickers()
getTickers("ADAEUR")
getTickers(c("ADAEUR", "BTCUSD"))

[Package KrakenR version 1.0.0 Index]