Skip to content

CRAN release 1.2.0

Compare
Choose a tag to compare
@shikokuchuo shikokuchuo released this 20 Sep 11:01
· 223 commits to main since this release
95c7e98

ichimoku 1.2.0

New features:

  • ichimoku() adds ability to create pseudo cloud charts from single series price data where OHLC data is not available.
  • ichimoku() gains a 'keep.data' argument for retaining additional data present in the input object.
  • Plot functions gain a 'type' argument to enable a choice of oscillator (R-type and S-type) to be shown as a sub-plot.
  • Plot functions gain a 'custom' argument to enable a custom data variable to be plot as a line or bar chart in the sub-plot area.
  • oanda_studio() adds a button for saving the underlying data of the live ichimoku cloud chart using archive().
  • oanda_chart() now returns the underlying ichimoku object (invisibly) on function exit, providing easy access to the chart data.
  • oanda_set_key() adds support for storing both practice and live account API keys.
  • New oanda_switch() function allows the default server to be switched from 'practice' to 'live' for the session.

Updates:

  • Adds fallback for oanda_instruments() using an internal instruments table when the API call fails.
  • plot.ichimoku() now returns the original object invisibly, use autoplot() and extraplot() to return plot objects.
  • For all plot functions, the argument 'message' is renamed to 'subtitle'.
  • Plots now show Tenkan-sen over Kijun-sen.
  • Slight adjustments to original theme: cloud edges now plum-tinted for Senkou A, cyan-tinted for Senkou B.
  • Fixes certain cases where calculation of the future cloud could fail for data frequency lower than daily.
  • Updates to sample_ohlc_data to add volume column, adhere to working days etc.
  • OANDA internal functions re-implemented as encapsulated closure list.
  • oanda_get_key() is removed as functionality incorporated elsewhere.
  • New sub-plot functionality adds 'gridExtra' package dependency.
  • 'rlang' package dependency is retired as no longer required.
  • Internal C++ code: now includes only required cpp11 headers, adds rolling mean function, miscellaneous improvements.
  • Minor performance improvements for ichimoku(), plot functions, OANDA functions and various utilities.
  • Documentation refresh.