ichimoku

ichimoku - Visualization and Tools for Ichimoku Kinko Hyo Strategies

https://github.com/shikokuchuo/ichimoku

Science Score: 36.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: zenodo.org
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (16.8%) to scientific vocabulary

Keywords

ichimoku ichimoku-cloud oanda quantitative-finance r
Last synced: 10 months ago · JSON representation

Repository

ichimoku - Visualization and Tools for Ichimoku Kinko Hyo Strategies

Basic Info
Statistics
  • Stars: 32
  • Watchers: 3
  • Forks: 5
  • Open Issues: 0
  • Releases: 0
Topics
ichimoku ichimoku-cloud oanda quantitative-finance r
Created about 5 years ago · Last pushed about 1 year ago
Metadata Files
Readme Changelog License Code of conduct

README.Rmd

---
output: github_document
---



```{r}
#| include: false
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)
```

# ichimoku ichimoku logo


[![CRAN Status](https://www.r-pkg.org/badges/version/ichimoku?color=00008b)](https://CRAN.R-project.org/package=ichimoku)
[![ichimoku status badge](https://shikokuchuo.r-universe.dev/badges/ichimoku)](https://shikokuchuo.r-universe.dev/ichimoku)
[![R-CMD-check](https://github.com/shikokuchuo/ichimoku/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/shikokuchuo/ichimoku/actions/workflows/R-CMD-check.yaml)
[![Codecov test coverage](https://codecov.io/gh/shikokuchuo/ichimoku/graph/badge.svg)](https://app.codecov.io/gh/shikokuchuo/ichimoku)
[![DOI](https://zenodo.org/badge/367928545.svg)](https://zenodo.org/badge/latestdoi/367928545)


Visualization and Tools for Ichimoku Kinko Hyo Strategies

An implementation of 'Ichimoku Kinko Hyo', also commonly known as 'cloud charts'. Static and interactive visualizations with tools for creating, backtesting and development of quantitative 'ichimoku' strategies. As described in Sasaki (1996, ISBN:4925152009), the technique is a refinement on candlestick charting, originating from Japan and now in widespread use in technical analysis worldwide. Translating as 'one-glance equilibrium chart', it allows the price action and market structure of financial securities to be determined 'at-a-glance'. Incorporates an interface with the OANDA fxTrade API  for retrieving historical and live streaming price data for major currencies, metals, commodities, government bonds and stock indices.

## Installation

Install ichimoku from CRAN:

``` r
install.packages("ichimoku")
```

## Quick Start

```{r}
#| label: load
library(ichimoku)
```

Simply `ichimoku()` and `plot()`:

```{r}
#| label: ichimoku
cloud <- ichimoku(sample_ohlc_data, ticker = "TKR")
plot(cloud, window = "2020-05/")
```


`autostrat()` to automatically evaluate and rank top-performing strategies:

```{r}
#| label: auto
autostrat(cloud, n = 3)
```

## Principal ichimoku functions

#### Data & Visualization

- [`ichimoku()`](https://shikokuchuo.net/ichimoku/reference/ichimoku.html) - to create an ichimoku object from price data.

- [`plot()`](https://shikokuchuo.net/ichimoku/reference/plot.ichimoku.html) / [`iplot()`](https://shikokuchuo.net/ichimoku/reference/iplot.html) - to plot (interactive) cloud charts from ichimoku objects.

- [`archive()`](https://shikokuchuo.net/ichimoku/reference/archive.html) - for reading/writing objects to/from archive files with data verification.

- [`oanda()`](https://shikokuchuo.net/ichimoku/reference/oanda.html) - to retrieve price data from the OANDA fxTrade API.

#### Strategies & ML

- [`strat()`](https://shikokuchuo.net/ichimoku/reference/strat.html) - to augment an ichimoku object with a strategy, including combined and asymmetric strategies.

- [`autostrat()`](https://shikokuchuo.net/ichimoku/reference/autostrat.html) - to automatically evaluate and rank top-performing strategies.

- [`mlgrid()`](https://shikokuchuo.net/ichimoku/reference/mlgrid.html) - to generate a numeric representation of the ichimoku cloud chart.

- [`relative()`](https://shikokuchuo.net/ichimoku/reference/relative.html) - to produce a statistical summary of the latest ichimoku numeric representation relative to historical values.

#### Real-time

- [`oanda_chart()`](https://shikokuchuo.net/ichimoku/reference/oanda_chart.html) - to plot real-time ichimoku cloud charts using OANDA data.

- [`oanda_studio()`](https://shikokuchuo.net/ichimoku/reference/oanda_studio.html) - a complete live analysis environment using OANDA data implemented in R Shiny.

- [`oanda_stream()`](https://shikokuchuo.net/ichimoku/reference/oanda_stream.html) / [`oanda_quote()`](https://shikokuchuo.net/ichimoku/reference/oanda_quote.html) - to obtain the latest live data stream / quote from the OANDA fxTrade API.

- [`oanda_view()`](https://shikokuchuo.net/ichimoku/reference/oanda_view.html) - for a market overview showing the relative performance of constituents.

- [`oanda_orders()`](https://shikokuchuo.net/ichimoku/reference/oanda_orders.html) / [`oanda_positions()`](https://shikokuchuo.net/ichimoku/reference/oanda_positions.html) - to retrieve the aggregate OANDA fxTrade order / position book.

## Vignettes

Long-form documentation links:

{ 1 } [Cloud Charts - The Reference Manual](https://shikokuchuo.net/ichimoku/articles/reference.html)

{ 2 } [Beyond Visualization - Quantitative Strategies](https://shikokuchuo.net/ichimoku/articles/strategies.html)

{ 3 } [Auxiliary Functions](https://shikokuchuo.net/ichimoku/articles/utilities.html)

{ 4 } [The OANDA fxTrade API](https://shikokuchuo.net/ichimoku/articles/xoanda.html)

## References

Sasaki, H. 佐々木 英信 (1996), *一目均衡表の研究 [ichimoku kinkouhyou no kenkyuu]*. Tokyo, Japan: Toushi Radar.

'OANDA' and 'fxTrade' are trademarks owned by OANDA Corporation, an entity unaffiliated with the ichimoku package.

--

◈ ichimoku R package: .

Listed CRAN Finance Task View: .

--

Please note that this project is released with a [Contributor Code of Conduct](https://shikokuchuo.net/ichimoku/CODE_OF_CONDUCT.html). By participating in this project you agree to abide by its terms.

Owner

  • Login: shikokuchuo
  • Kind: user
  • Location: Cambridge, United Kingdom
  • Company: Hibiki AI

Research Scientist

GitHub Events

Total
  • Create event: 2
  • Release event: 1
  • Issues event: 2
  • Watch event: 2
  • Delete event: 1
  • Issue comment event: 2
  • Push event: 19
Last Year
  • Create event: 2
  • Release event: 1
  • Issues event: 2
  • Watch event: 2
  • Delete event: 1
  • Issue comment event: 2
  • Push event: 19

Committers

Last synced: about 1 year ago

All Time
  • Total Commits: 294
  • Total Committers: 2
  • Avg Commits per committer: 147.0
  • Development Distribution Score (DDS): 0.007
Past Year
  • Commits: 40
  • Committers: 1
  • Avg Commits per committer: 40.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
shikokuchuo 5****o 292
Hadley Wickham h****m@g****m 2

Issues and Pull Requests

Last synced: about 1 year ago

All Time
  • Total issues: 7
  • Total pull requests: 1
  • Average time to close issues: 19 days
  • Average time to close pull requests: about 3 hours
  • Total issue authors: 4
  • Total pull request authors: 1
  • Average comments per issue: 1.43
  • Average comments per pull request: 0.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 2
  • Pull requests: 0
  • Average time to close issues: 6 days
  • Average time to close pull requests: N/A
  • Issue authors: 2
  • Pull request authors: 0
  • Average comments per issue: 1.5
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • shikokuchuo (4)
  • kramarek (1)
  • dmresearch15 (1)
  • bbac63 (1)
Pull Request Authors
  • hadley (1)
Top Labels
Issue Labels
bug (2) enhancement (2)
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 878 last-month
  • Total docker downloads: 20,358
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 36
  • Total maintainers: 1
cran.r-project.org: ichimoku

Visualization and Tools for Ichimoku Kinko Hyo Strategies

  • Versions: 36
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 878 Last month
  • Docker Downloads: 20,358
Rankings
Forks count: 10.1%
Stargazers count: 11.0%
Downloads: 13.2%
Average: 19.9%
Dependent packages count: 29.8%
Dependent repos count: 35.5%
Maintainers (1)
Last synced: 10 months ago

Dependencies

DESCRIPTION cran
  • R >= 3.2 depends
  • curl * imports
  • ggplot2 * imports
  • jsonlite * imports
  • shiny * imports
  • tibble * imports
  • xts * imports
  • zoo * imports
  • covr * suggests
  • keyring * suggests
  • knitr * suggests
  • openssl * suggests
  • rmarkdown * suggests
  • testthat >= 3.0.0 suggests
.github/workflows/R-CMD-check.yaml actions
  • actions/checkout v2 composite
  • r-lib/actions/check-r-package v2 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/pkgdown.yaml actions
  • actions/checkout v2 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/test-coverage.yaml actions
  • actions/checkout v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite