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-154] Add Elder-Ray Index #155

Closed jealous closed 1 year ago

jealous commented 1 year ago

The Elder-Ray Index contains the bull and the bear power. Both are calculated based on the EMA of the close price.

The default window is 13.

Formular:

Examples:

codecov-commenter commented 1 year ago

Codecov Report

Patch coverage: 94.11% and project coverage change: -0.09 :warning:

Comparison is base (b912fa5) 98.71% compared to head (50f7fc5) 98.62%.

:exclamation: Current head 50f7fc5 differs from pull request most recent head 67e61c8. Consider uploading reports for the commit 67e61c8 to get more accurate results

: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 #155 +/- ## ========================================== - Coverage 98.71% 98.62% -0.09% ========================================== Files 1 1 Lines 931 947 +16 ========================================== + Hits 919 934 +15 - Misses 12 13 +1 ``` | [Impacted Files](https://app.codecov.io/gh/jealous/stockstats/pull/155?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/155?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Cedric+Zhuang#diff-c3RvY2tzdGF0cy5weQ==) | `98.62% <94.11%> (-0.09%)` | :arrow_down: |

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