Releases: shikokuchuo/ichimoku
Releases · shikokuchuo/ichimoku
CRAN release 1.3.4
ichimoku 1.3.4
Updates:
- Moves 'shiny' to 'imports' from 'suggests'.
- Updates internal OANDA instruments list.
CRAN release 1.3.3
ichimoku 1.3.3
Updates:
- Fixed regression in 1.3.2 which caused
iplot()
to fail.
CRAN release 1.3.2
ichimoku 1.3.2
Updates:
- Theme re-organisation with the following changes:
- default 'original' theme renamed 'classic'
- 'fresh' replaced with 'okabe-ito' theme (using colours from this colourblind-friendly palette)
- 'conceptual' theme renamed 'noguchi' (palette inspired by the works of Isamu Noguchi)
CRAN release 1.3.1
ichimoku 1.3.1
New features:
- The
theme
argument ofplot()
andoanda_chart()
now accepts a user-defined vector of 12 colour values (as hex values or R colour names).
Updates:
- Minor UI tweaks and internal performance optimisations.
CRAN release 1.3.0
ichimoku 1.3.0
New features:
- Sub-plots now feature on the same chart and values can be read via the infotip in
iplot()
oroanda_studio()
. - R/S-type indicators now an option for
oanda_chart()
andoanda_studio()
. .ichimoku()
introduced as a faster technical utility version ofichimoku()
for use when data is already in the prescribed format.
Updates:
- Dependency on C++ compiler, 'cpp11' and 'gtable' packages retired.
- Internal rolling min/max/mean functions re-implemented directly in C; various ichimoku functions now call C code internally.
- Added
LinkingTo: xts
for use of C function exported from 'xts'. df_trim()
andextraplot()
removed as no longer required.- The 'limit' argument for
oanda_chart()
andoanda_stream()
changed to accept a time in seconds rather than minutes. new.process = TRUE
foroanda_studio()
now more portable and works under Windows.- Fixes
oanda_stream()
for when multiple bid/ask liquidity levels are returned in the stream. Returned dataframe now in a revised tidier format with correct data types for ease of further processing. - Fixes
archive()
to work correctly on R-oldrel (4.0). - Further performance enhancements to
ichimoku()
,mlgrid()
and plot functions. - Documentation refresh.
CRAN release 1.2.5
ichimoku 1.2.5
New features:
- Enhancement to the printing of ichimoku objects by utilising the 'tibble' print method (adds dependency on 'tibble' package), paired with
more()
for quick printing of further rows. - Optimised
as_tibble()
method implemented for ichimoku objects. mlgrid()
now appends attributes 'k' and 'type' to returned objects, and gains the following arguments:k
to specify the k-period time horizon over which to calculate target variable 'y'.type = 'z-score'
to produce the standard score of a 'numeric' type grid.format
to choose between returning a dataframe or matrix.
- New
oanda_orders()
function provides the OANDA fxTrade order book for certain major currency pairs. - Major revamp of
oanda_stream()
which has a much improved interface and now renders the stream as a structured dataframe. oanda_chart()
andoanda_stream()
gain the argument 'limit' which imposes a time limit for the session after which data is returned automatically.oanda_positions()
gains the parameter 'time' for retrieving the position book at a particular time.archive()
gains the ability to save files interactively using a system dialog - call the function with an object, leaving the second argument empty e.g.archive(object, )
.index()
gains the parameter 'subset' for fast subsetting of ichimoku cloud indexes.- New plot themes 'conceptual' and 'fresh'.
Updates:
- Simplification of
look()
by removing the 'which' argument. To extract ichimoku objects in autostrat lists, subset the list directly. The object argument is now optional, accessing .Last.value otherwise. - Minor enhancements to the
str()
method. df_append()
argument order for 'old' and 'new' swapped to allow for chaining with the pipe operator.archive()
now safe for use in non-interactive settings, where it no longer prompts to confirm overwriting of existing files.oanda_view()
updated for new instruments and now returns correct data types in the dataframe.- Fixes cases of
relative()
showing the incorrect date for 'latest', along with other cosmetic changes. - General performance improvements to date handling and dataframe conversions.
- Documentation refresh.
CRAN release 1.2.4
ichimoku 1.2.4
New features:
- New
relative()
function produces a statistical summary of the latest ichimoku cloud chart numeric representation relative to historical values, for determining whether trading falls within or outside of normal ranges. oanda_studio()
gains the argument 'new.process', which when set to TRUE, starts the shiny session in a new R process, unblocking the current process and allowing continued use of the console.mlgrid()
gains the argumenty = 'none'
for a grid with the latest cloud representation and without 'y'.autostrat()
,relative()
andoanda()
gain the argument 'quietly' which suppresses additional console output if set to TRUE.- Improved time index handling for
ichimoku()
: where conversion byas.POSIXct()
fails, will convert numeric values as POSIX times (with an appropriate warning). - Optimised 'ichimoku' methods for
coredata()
andindex()
generic functions. - 'ichimoku' method for
as.data.frame()
implemented as a marginally faster version ofxts_df()
for ichimoku objects. - More informative custom
str()
andsummary()
methods implemented for ichimoku objects.
Updates:
- For OANDA functions, where the 'server' parameter is specified, the corresponding API key will now be retrieved rather than the default, allowing for example
oanda_studio(server = "live", new.process = TRUE)
- Improved appearance of progress indicators for
oanda()
andoanda_view()
. oanda()
now safe to use non-interactively - it will no longer prompt in such cases.- Improvements to the visual appearance of oscillator plots.
- Update to the interactive interface for
oanda_set_key()
. - Fixes sign of %chg for
oanda_quote()
. xts()
is no longer re-exported from the 'xts' package asichimoku()
can now fully re-construct an ichimoku object from its components (see 'Working with ichimoku objects' in the Reference vignette).- Further performance improvements to
ichimoku()
and other functions. - Documentation refresh.
CRAN release 1.2.2
ichimoku 1.2.2
New features:
- New
oanda_quote()
function outputs the latest quote for an instrument along with intraday trading statistics to the console. - New
oanda_view()
function provides the latest overview of an entire market - showing the relative performance of constituents. - New
oanda_positions()
function provides the OANDA fxTrade position book (% longs and shorts at each price level) for certain major currency pairs. archive()
now allows files to be chosen interactively using a system dialog - call the function with no arguments.df_append()
utility is now faster and gains the arguments 'key' and 'keep.attr'.
Updates:
- Accessibility improvements: default 'original' theme adjusted to accommodate colour vision deficiency.
- All OANDA functions now prompt for missing required arguments instead of returning errors.
- For ease of use, the 'instrument' argument in all OANDA functions is now case-insensitive and the delimiter may be supplied as either '_' or '-', so both
oanda("usd-jpy")
andoanda("USD_JPY")
are acceptable. tradingDays()
argument 'noholidays' removed in favour of 'holidays = NULL'. Logic changed slightly so that default holidays are applied only if 'holidays' is not specified.- Minor performance improvements to OANDA and ML layer functions.
- Documentation refresh
CRAN release 1.2.1
ichimoku 1.2.1
Updates:
- Fix issue with 'bslib' theming after release of Shiny 1.7.0. For improved reliability, 'bslib' optional dependency removed.
- More neutral formatting of
oanda_stream()
output to accommodate different console colour schemes. - Fix cases of mis-alignment of main and sub-plots, axis label formatting of custom plots.
- Fix issue which caused
iplot()
to re-calculate the indicators when adjusting the data window. - Package dependency switched from 'gridExtra' to 'gtable'.
- Minor performance improvements for
ichimoku()
and other functions.
CRAN release 1.2.0
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 usingarchive()
.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.