analyser_hj3415 3.4.0__tar.gz → 3.4.1__tar.gz

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.
Files changed (23) hide show
  1. {analyser_hj3415-3.4.0 → analyser_hj3415-3.4.1}/PKG-INFO +1 -1
  2. {analyser_hj3415-3.4.0 → analyser_hj3415-3.4.1}/analyser_hj3415/analyser/eval/growth.py +1 -0
  3. {analyser_hj3415-3.4.0 → analyser_hj3415-3.4.1}/analyser_hj3415/analyser/tsa/prophet.py +3 -1
  4. {analyser_hj3415-3.4.0 → analyser_hj3415-3.4.1}/pyproject.toml +1 -1
  5. {analyser_hj3415-3.4.0 → analyser_hj3415-3.4.1}/.gitignore +0 -0
  6. {analyser_hj3415-3.4.0 → analyser_hj3415-3.4.1}/README.md +0 -0
  7. {analyser_hj3415-3.4.0 → analyser_hj3415-3.4.1}/analyser_hj3415/__init__.py +0 -0
  8. {analyser_hj3415-3.4.0 → analyser_hj3415-3.4.1}/analyser_hj3415/analyser/__init__.py +0 -0
  9. {analyser_hj3415-3.4.0 → analyser_hj3415-3.4.1}/analyser_hj3415/analyser/compile.py +0 -0
  10. {analyser_hj3415-3.4.0 → analyser_hj3415-3.4.1}/analyser_hj3415/analyser/eval/__init__.py +0 -0
  11. {analyser_hj3415-3.4.0 → analyser_hj3415-3.4.1}/analyser_hj3415/analyser/eval/blue.py +0 -0
  12. {analyser_hj3415-3.4.0 → analyser_hj3415-3.4.1}/analyser_hj3415/analyser/eval/common.py +0 -0
  13. {analyser_hj3415-3.4.0 → analyser_hj3415-3.4.1}/analyser_hj3415/analyser/eval/mil.py +0 -0
  14. {analyser_hj3415-3.4.0 → analyser_hj3415-3.4.1}/analyser_hj3415/analyser/eval/red.py +0 -0
  15. {analyser_hj3415-3.4.0 → analyser_hj3415-3.4.1}/analyser_hj3415/analyser/tsa/__init__.py +0 -0
  16. {analyser_hj3415-3.4.0 → analyser_hj3415-3.4.1}/analyser_hj3415/analyser/tsa/common.py +0 -0
  17. {analyser_hj3415-3.4.0 → analyser_hj3415-3.4.1}/analyser_hj3415/analyser/tsa/lstm.py +0 -0
  18. {analyser_hj3415-3.4.0 → analyser_hj3415-3.4.1}/analyser_hj3415/cli.py +0 -0
  19. {analyser_hj3415-3.4.0 → analyser_hj3415-3.4.1}/analyser_hj3415/workroom/__init__.py +0 -0
  20. {analyser_hj3415-3.4.0 → analyser_hj3415-3.4.1}/analyser_hj3415/workroom/mysklearn.py +0 -0
  21. {analyser_hj3415-3.4.0 → analyser_hj3415-3.4.1}/analyser_hj3415/workroom/mysklearn2.py +0 -0
  22. {analyser_hj3415-3.4.0 → analyser_hj3415-3.4.1}/analyser_hj3415/workroom/score.py +0 -0
  23. {analyser_hj3415-3.4.0 → analyser_hj3415-3.4.1}/analyser_hj3415/workroom/trash.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: analyser_hj3415
3
- Version: 3.4.0
3
+ Version: 3.4.1
4
4
  Summary: Stock analyser and database processing programs
5
5
  Requires-Python: >=3.6
6
6
  Description-Content-Type: text/markdown
@@ -170,6 +170,7 @@ class Growth:
170
170
  로그:
171
171
  - 캐시 검색 상태와 새로 생성된 데이터를 출력합니다.
172
172
  """
173
+
173
174
  redis_name = f"{self.code}_growth"
174
175
  mylogger.info(f"{self} GrowthData를 레디스캐시에서 가져오거나 새로 생성합니다.. refresh : {refresh}")
175
176
  if verbose:
@@ -1,5 +1,5 @@
1
1
  from datetime import datetime, timedelta
2
- from typing import Optional, Tuple
2
+ from typing import Optional, Tuple, List
3
3
  import yfinance as yf
4
4
  import pandas as pd
5
5
  from prophet import Prophet
@@ -29,6 +29,7 @@ class ProphetData:
29
29
  yhat: float
30
30
  yhat_upper: float
31
31
  yhat_lower: float
32
+ forecast_data: List[dict]
32
33
 
33
34
  trading_action: str = ''
34
35
  score: int = None
@@ -232,6 +233,7 @@ class MyProphet:
232
233
  yhat=latest_yhat['yhat'],
233
234
  yhat_lower=latest_yhat['yhat_lower'],
234
235
  yhat_upper=latest_yhat['yhat_upper'],
236
+ forecast_data=self.df_forecast.to_dict(orient='records'),
235
237
  )
236
238
 
237
239
  data.trading_action, data.score = scoring(data.price, data.yhat_lower, data.yhat_upper)
@@ -5,7 +5,7 @@ build-backend = "flit_core.buildapi"
5
5
 
6
6
  [project]
7
7
  name = "analyser_hj3415"
8
- version = "3.4.0"
8
+ version = "3.4.1"
9
9
  description = "Stock analyser and database processing programs"
10
10
  readme = "README.md"
11
11
  requires-python = ">=3.6"