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-156] Add _Meta utility class #157

Closed jealous closed 1 year ago

jealous commented 1 year ago

Extract a utility class _Meta to handle the periods and column names.

Remove the default periods in the class member and put them in a dictionary.

Change the way to update the default windows.

codecov-commenter commented 1 year ago

Codecov Report

Patch coverage: 97.99% and project coverage change: -0.52 :warning:

Comparison is base (e1708ee) 98.62% compared to head (9a960ba) 98.11%.

: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 #157 +/- ## ========================================== - Coverage 98.62% 98.11% -0.52% ========================================== Files 1 1 Lines 947 847 -100 ========================================== - Hits 934 831 -103 - Misses 13 16 +3 ``` | [Impacted Files](https://app.codecov.io/gh/jealous/stockstats/pull/157?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/157?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Cedric+Zhuang#diff-c3RvY2tzdGF0cy5weQ==) | `98.11% <97.99%> (-0.52%)` | :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.