bullishpy 0.29.0__py3-none-any.whl → 0.30.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of bullishpy might be problematic. Click here for more details.

@@ -282,9 +282,9 @@ def compute_price(data: pd.DataFrame) -> pd.DataFrame:
282
282
  results["20_DAY_HIGH"] = data.close.rolling(window=20).max()
283
283
  results["20_DAY_LOW"] = data.close.rolling(window=20).min()
284
284
  results["LAST_PRICE"] = data.close
285
- results["WEEKLY_GROWTH"] = data.close.resample("W").transform(perc) # type: ignore
286
- results["MONTHLY_GROWTH"] = data.close.resample("ME").transform(perc) # type: ignore
287
- results["YEARLY_GROWTH"] = data.close.resample("YE").transform(perc) # type: ignore
285
+ results["WEEKLY_GROWTH"] = data.close.resample("W").transform(perc).ffill() # type: ignore
286
+ results["MONTHLY_GROWTH"] = data.close.resample("ME").transform(perc).ffill() # type: ignore
287
+ results["YEARLY_GROWTH"] = data.close.resample("YE").transform(perc).ffill() # type: ignore
288
288
  return results
289
289
 
290
290
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: bullishpy
3
- Version: 0.29.0
3
+ Version: 0.30.0
4
4
  Summary:
5
5
  Author: aan
6
6
  Author-email: andoludovic.andriamamonjy@gmail.com
@@ -4,7 +4,7 @@ bullish/analysis/analysis.py,sha256=nCb___Tb2aOFIu1wWtPwS1VVZfXOSCp5zUWaIOCdvl4,
4
4
  bullish/analysis/backtest.py,sha256=x91ek5kOzJHvYq0TmJh1Q8wBDDduIaieE0zDaoZFXew,14325
5
5
  bullish/analysis/constants.py,sha256=X3oCyYNA6B-jsZSYJLeGQ94S453Z7jIVNPmv3lMPp8Q,9922
6
6
  bullish/analysis/filter.py,sha256=0h4wfAuZ-ohhACPhOjZrNEV17gbZ7FopNv0k0HBtIWE,9262
7
- bullish/analysis/functions.py,sha256=PgjyzbBFwxCBN_n1PWWI7HC1FBb2Q685PBF4nSOj95g,14795
7
+ bullish/analysis/functions.py,sha256=CuMgOjpQeg4KsDMUBdHRlxL1dRlos16KRyLhQe8PYUQ,14819
8
8
  bullish/analysis/indicators.py,sha256=XsMHc4-hEZwxFpI3JI-s4C2hcg0eCQLWcAQ8P46dtL8,26812
9
9
  bullish/analysis/industry_views.py,sha256=-B4CCAYz2arGQtWTXLLMpox0loO_MGdVQd2ycCRMOQQ,6799
10
10
  bullish/analysis/predefined_filters.py,sha256=RZe3lk1pLnQ7lZkTK7hC5Hh8GhaZ1-9fqy-D1A_3aR8,6657
@@ -53,7 +53,7 @@ bullish/jobs/models.py,sha256=S2yvBf69lmt4U-5OU5CjXCMSw0s9Ubh9xkrB3k2qOZo,764
53
53
  bullish/jobs/tasks.py,sha256=5dGWT7uZlirlQsqvI2BR9V3ywbt8yD0s-jaNiTFaIAg,3717
54
54
  bullish/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
55
55
  bullish/utils/checks.py,sha256=Va10_xDVVnxYkOD2hafvyQ-TFV8FQpOkr4huJ7XgpDM,2188
56
- bullishpy-0.29.0.dist-info/METADATA,sha256=ROYPl5D2qTigixZ1Xok4cfnwuVYUarBgrz22cKFUs7o,830
57
- bullishpy-0.29.0.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
58
- bullishpy-0.29.0.dist-info/entry_points.txt,sha256=eaPpmL6vmSBFo0FBtwibCXGqAW4LFJ83whJzT1VjD-0,43
59
- bullishpy-0.29.0.dist-info/RECORD,,
56
+ bullishpy-0.30.0.dist-info/METADATA,sha256=9WAIcyoEhmc6lRgp9WoIu8xhjEOyDJD-st2OB4T0ExE,830
57
+ bullishpy-0.30.0.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
58
+ bullishpy-0.30.0.dist-info/entry_points.txt,sha256=eaPpmL6vmSBFo0FBtwibCXGqAW4LFJ83whJzT1VjD-0,43
59
+ bullishpy-0.30.0.dist-info/RECORD,,