availableIntervals {cryptoQuotes} | R Documentation |
availableIntervals(source = "binance", type = "ohlc", futures = TRUE)
source |
A character-vector of length 1. |
type |
character-vector of length 1. See details |
futures |
A logical-vector of length 1. TRUE by default. Returns futures market if TRUE, spot market otherwise. |
ohlc: Open, High, Low, Close and Volume
lsratio: Long-Short ratio
fundingrate: Funding rates
interest: Open perpetual contracts on both sides
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()
An invisible()
character vector containing the available intervals on
the exchange, market and endpoint
Serkan Korkmaz
Other deprecated:
availableExchanges()
,
availableTickers()
,
getFGIndex()
,
getLSRatio()
,
getQuote()
## Not run:
# script:
# date: 2023-10-06
# author: Serkan Korkmaz, serkor1@duck.com
# objective:
# script start;
# available intervals
# at kucoin futures market
cryptoQuotes::available_intervals(
source = 'kucoin',
futures = TRUE
)
# available intervals
# at kraken spot market
cryptoQuotes::available_intervals(
source = 'kraken',
futures = FALSE
)
# script end;
## End(Not run)