Skip to contents

Provides a named list mapping KuCoin klines frequency strings to their equivalent durations in seconds.

Usage

freq_to_second_map

Format

An object of class list of length 14.

Value

Named list with frequency strings as names (e.g., "1min") and durations in seconds as values (e.g., 60).

Details

Workflow Overview

Not applicable (static data definition).

API Endpoint

Not applicable (helper data structure).

Usage

Utilised to reference valid frequency options and their durations for klines data retrieval functions.

Official Documentation

Not directly tied to a specific endpoint; see KuCoin klines API documentation for supported intervals.

Examples

if (FALSE) { # \dontrun{
print(freq_to_second_map)
# Access a specific frequency
freq_to_second_map[["1hour"]]  # Returns 3600
} # }