jealous / stockstats

Supply a wrapper ``StockDataFrame`` based on the ``pandas.DataFrame`` with inline stock statistics/indicators support.
Other
1.26k stars 297 forks source link

[GH-116] Add ichimoku cloud width #147

Closed jealous closed 1 year ago

jealous commented 1 year ago

The Ichimoku Cloud is a collection of technical indicators that show support and resistance levels, as well as momentum and trend direction.

In this implementation, we only calculate the delta between lead A and lead B (which is the width of the cloud).

It contains three windows:

Formular:

Where:

Examples:

codecov-commenter commented 1 year ago

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.03 :tada:

Comparison is base (fc0a86d) 98.57% compared to head (57700c7) 98.61%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #147 +/- ## ========================================== + Coverage 98.57% 98.61% +0.03% ========================================== Files 1 1 Lines 841 864 +23 ========================================== + Hits 829 852 +23 Misses 12 12 ``` | [Impacted Files](https://app.codecov.io/gh/jealous/stockstats/pull/147?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Cedric+Zhuang) | Coverage Δ | | |---|---|---| | [stockstats.py](https://app.codecov.io/gh/jealous/stockstats/pull/147?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Cedric+Zhuang#diff-c3RvY2tzdGF0cy5weQ==) | `98.61% <100.00%> (+0.03%)` | :arrow_up: |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.