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-169] Add Psychological Line (PSL) Support #170

Closed jealous closed 1 year ago

jealous commented 1 year ago

The Psychological Line indicator is the ratio of the number of rising periods over the total number of periods.

https://library.tradingtechnologies.com/trade/chrt-ti-psychological-line.html

Formular:

Example:

codecov-commenter commented 1 year ago

Codecov Report

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

Comparison is base (2aa53b2) 98.06% compared to head (c9dfd11) 98.08%.

: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 #170 +/- ## ========================================== + Coverage 98.06% 98.08% +0.02% ========================================== Files 1 1 Lines 929 941 +12 ========================================== + Hits 911 923 +12 Misses 18 18 ``` | [Impacted Files](https://app.codecov.io/gh/jealous/stockstats/pull/170?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/170?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Cedric+Zhuang#diff-c3RvY2tzdGF0cy5weQ==) | `98.08% <100.00%> (+0.02%)` | :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.