serkor1 / cryptoQuotes

cryptoQuotes is an R package for retrieving historical and real-time cryptocurrency market data from multiple exchanges. It offers an easy-to-use interface for accessing price quotes, trading volumes, and market data, making it valuable for analysts, developers, and crypto enthusiasts.
https://serkor1.github.io/cryptoQuotes/
GNU General Public License v2.0
31 stars 24 forks source link

Known Bugs and Issues in version 1.3.0 #9

Closed serkor1 closed 6 months ago

serkor1 commented 7 months ago

Issues

Issues are anomalies that doesn't, necessarily, break the R-package.

Fear and Greed Index Description Issue

The get_fgindex()-function is not deprecated. This will be fixed in version 1.3.1,

https://github.com/serkor1/cryptoQuotes/blob/df5c565b10c9909281239192e20cc24bb8d6d114/R/get_fgi.R#L12-L18

Section "Limitations" Issue

The example in the "Limitations"-section uses 30m granularity, and it seems that kraken has a lower limit on the date which is a function of the granularity. See, for example, the wiki for a similar example for 1h granularity. There is nothing about this on the exchange docs, so it is indeed an unexpected error. The following section of the article has to be changed from 30m to 1h,

https://github.com/serkor1/cryptoQuotes/blob/df5c565b10c9909281239192e20cc24bb8d6d114/vignettes/articles/00-introduction.Rmd#L119-L173

Error in Vignette

Dogecoin rallied 20% at the minute of the tweet. But in the vignette it shows -0.15%.

The source of the error is currently unkown.

Warning in get_lsr

## long-short ratio
## Binance
cryptoQuotes::get_lsratio(
  "BTCUSDT",
  interval = "15m",
  source = "binance"
)
#> In (function (...)  : 'tzone' attributes are inconsistent

This warning is displayed for all intervals, and only for binance. The source of the problem is currently unknown but was not present before 1.3.0.

Broken Code

Charting Long-Short Ratios

The new structure of the returned quotes with the get_lsr()-function broke lsr()-chart, due to how variables are retrieved.

https://github.com/serkor1/cryptoQuotes/blob/df5c565b10c9909281239192e20cc24bb8d6d114/R/chart_lsr.R#L83-L109