jealous / stockstats

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

[GH-102] Fix KAMA smoothing error. #103

Closed jealous closed 2 years ago

jealous commented 2 years ago

During the calculation of the KAMA, we should use

fastest SC - slowest SC

instead of

fastest SC + slowest SC
codecov-commenter commented 2 years ago

Codecov Report

Merging #103 (9534cb7) into master (b305034) will increase coverage by 0.20%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #103      +/-   ##
==========================================
+ Coverage   96.83%   97.04%   +0.20%     
==========================================
  Files           3        3              
  Lines        1170     1183      +13     
==========================================
+ Hits         1133     1148      +15     
+ Misses         37       35       -2     
Impacted Files Coverage Δ
setup.py 0.00% <ø> (ø)
stockstats.py 99.12% <100.00%> (+0.30%) :arrow_up:
test.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update b305034...9534cb7. Read the comment docs.