cryptoQuotes 1.3.0

Improvements

General function improvements

## charting the klines
## with indicators as
## subcharts
available_exchanges(type = 'ohlc')

Now returns all available exhanges that supports Open, High, Low and Close market data. The type-argument can be changed to, for example, lsratio to get all available exchanges that supports Long to Shorts ratios. Similar changes have been made to remaining available_-functions.

Error-handling

All get_*- and available_*-functions are now more robust to API and input errors.

Default Returning

Charting

## charting the klines
## with indicators as
## subcharts
chart(
  ticker     = BTCUSDT,
  main       = kline(),
  sub        = list(
    volume(),
    macd()
  ),
  indicator = list(
    bollinger_bands(),
    sma(),
    alma()
  ),
  options = list(
    dark = TRUE,
    deficiency = FALSE
  )
)

Exchange Support

The following exchanges have been added to list of exchanges available,

New features

## get funding rate
get_fundingrate(
    ticker = "BTCUSDT",
    source = "binance"
  )
## get open interest
get_openinterest(
      ticker = "BTCUSDT",
      source = "binance"
    )

Breaking Changes

Charting

API Calls

Warning

As the cryptoQuotes-package has moved to the tidyverse style guide, the getFoo-functions are now deprecated. These will be permanently deleted, and removed from the cryptoQuotes-package, at version 1.4.0!

cryptoQuotes 1.2.1

Minor Updates

Bugfixes

cryptoQuotes 1.2.0

The getQuote()-function can now be used as follows;

## Specifying from
## date only;
##
## Returns 10 pips
getQuote(
 ticker   = 'BTCUSDT',
 interval = '1d'
 from     = as.character(Sys.Date() - 10)
 )
## Specifying to
## date only;
##
## Returns 100 pips
getQuote(
 ticker   = 'BTCUSDT',
 interval = '1d'
 to     = as.character(Sys.Date())
 )

Market Sentiment

Four new functions are added,

Convinience functions added

Three new convinience functions are added applicable to some situations,

cryptoQuotes 1.1.0

Frontend

getQuote() now returns up to 100 pips when to and from is NULL

Backend

Future releases

In the next release, three more exchanges will be supported.

Known bugs

The returned quotes are in local timezone, this is an unintentional feature and will be fixed in a bugfix.

cryptoQuotes 1.0.0