diff --git a/NEWS.html b/NEWS.html new file mode 100644 index 0000000..392bc0a --- /dev/null +++ b/NEWS.html @@ -0,0 +1,1113 @@ + + + + + + + + + + + + + + + + + + + + + +

Version 1.3.2

+

General

+ +

Improvements

+

Read and Write +xts-objects

+ +

Charting

+ +
+ +Static set to FALSE (Default Palette) + + +
# static = FALSE
+chart(
+  ticker  = BTC,
+  main    = kline(),
+    indicator = line(
+    sma(n = 7),
+    sma(n = 14),
+    sma(n = 21)
+  ),
+  options = list(
+    static = FALSE,
+    palette = "hawaii"
+  ) 
+)
+ +
+
+ +Static set to TRUE (“Set 3” palette) + + +
# static = TRUE
+chart(
+  ticker  = BTC,
+  main    = kline(),
+  indicator = line(
+    sma(n = 7),
+    sma(n = 14),
+    sma(n = 21)
+  ),
+  options = list(
+    static  = TRUE,
+    palette = "Set 3"
+  ) 
+)
+ +
+ +

Supported Exchanges (Issue #14)

+

{cryptoQuotes} +now supports the following exchanges:

+ +

Breaking Changes

+

Bugfixes

+

Charting

+ +

Quotes

+ +

These intervals have been removed as they have either been +discontinued, or were non-existent.

+

Version 1.3.1

+

General

+
+

NOTE: With this update the package is no longer +considered experimental.

+
+ +

These functions were planned to be deleted in 1.4.0 - +however, we have decided to aim for an JOSS- and +rOpenSci-subscription which requires some degree of +stability. Hence the deletion of these function at +1.3.0.

+

We expect 1.4.0 to be released after +rOpenSci-submission and acceptance 🙏

+

Improvements

+

New features

+ +
+ +Usage + + +
chart(
+  ticker = BTC,
+  main   = kline(),
+  indicator = list(
+    donchian_channel()
+  ),
+  sub = list(
+    smi()
+  )
+)
+ +
+ +

Expanded Support

+ +
+ +Usage + + +
tail(
+  get_openinterest(
+    ticker   = "PF_XBTUSD",
+    interval = "1h",
+    source   = "kraken"
+  )
+)
+
#>                     open_interest
+#> 2024-11-01 01:00:00      2468.037
+#> 2024-11-01 02:00:00      2439.700
+#> 2024-11-01 03:00:00      2472.806
+#> 2024-11-01 04:00:00      2468.223
+#> 2024-11-01 05:00:00      2400.722
+#> 2024-11-01 06:00:00      2396.795
+
+ +

Charting

+ +
+ +Usage + + +
chart(
+  ticker = BTC,
+  main   = pline(price = "close"),
+  indicator = list(
+    bollinger_bands(
+    color = "steelblue"
+  )
+  ),
+  sub = list(
+    volume()
+  ),
+  options = list(
+    dark = FALSE
+  )
+)
+ +
+ +

Documentation

+ +

Backend Changes

+ +
+

Note: we are generally moving away from +rlang, purrr and tidyverse in +general. We are, however, keeping the tidyverse +styleguide.

+
+ +

Prior to version 1.3.0 the get*-functions +were following the syntax of {quantmod} closely, +and this goes for the function naming too. With the adoption of the +tidyverse style guide, there is no conflicts that needs to +be resolved on stable- and +experimental-functions.

+

New developper tools

+ +

Breaking Changes

+ +

Bugfixes

+ +

Version 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     = BTC,
+  main       = kline(),
+  sub        = list(
+    volume()
+  ),
+  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

+ +
+ +Usage + + +
## get funding rate
+tail(
+  get_fundingrate(
+    ticker = "BTCUSDT",
+    source = "binance"
+  )
+)
+
#>                     funding_rate
+#> 2024-10-30 09:00:00 1.730275e+12
+#> 2024-10-30 17:00:00 1.730304e+12
+#> 2024-10-31 01:00:00 1.730333e+12
+#> 2024-10-31 09:00:00 1.730362e+12
+#> 2024-10-31 17:00:00 1.730390e+12
+#> 2024-11-01 01:00:00 1.730419e+12
+
+ + +
+ +Usage + + +
## get funding rate
+tail(
+  get_openinterest(
+    ticker = "BTCUSDT",
+    source = "binance"
+  )
+)
+
#>                     open_interest
+#> 2024-10-27 02:00:00      80968.74
+#> 2024-10-28 01:00:00      82206.35
+#> 2024-10-29 01:00:00      89115.04
+#> 2024-10-30 01:00:00      90242.98
+#> 2024-10-31 01:00:00      89315.49
+#> 2024-11-01 01:00:00      89544.93
+
+ +

Breaking Changes

+

Charting

+ +

API Calls

+ +

Warning

+

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

+

Version 1.2.1

+

Minor Updates

+ +

Bugfixes

+ +

Version 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,

+ +

Version 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.

+

Version 1.0.0

+ + + +