Learn R Programming

cryptoQuotes (version 1.3.0)

available_exchanges: Get available exchanges

Description

[Stable]

Get a vector of all available exchanges passed into the source argument of the get-functions.

Usage

## available exchanges
## by type
available_exchanges(
   type = "ohlc"
)

Value

An invisible()

character vector containing available exchanges

Arguments

type

character-vector of length 1. See details

Author

Serkan Korkmaz

Details

Available types

  • ohlc: Open, High, Low, Close and Volume

  • lsratio: Long-Short ratio

  • fundingrate: Funding rates

  • interest: Open perpetual contracts on both sides

Limits

The endpoints supported by the available_exchanges() are not uniform, so exchanges available for, say, get_lsratio() is not necessarily the same as those available for get_quote()

See Also

Other supported calls: available_intervals(), available_tickers()

Examples

Run this code
# script:
# date: 2023-10-06
# author: Serkan Korkmaz, serkor1@duck.com
# objective:
# script start;

## return all
## available exchanges
cryptoQuotes::available_exchanges()

# script end;

Run the code above in your browser using DataLab