analyser_hj3415 4.6.2__tar.gz → 4.6.3__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 (17) hide show
  1. {analyser_hj3415-4.6.2 → analyser_hj3415-4.6.3}/PKG-INFO +1 -1
  2. {analyser_hj3415-4.6.2 → analyser_hj3415-4.6.3}/analyser_hj3415/analyser/tsa/common.py +4 -1
  3. {analyser_hj3415-4.6.2 → analyser_hj3415-4.6.3}/analyser_hj3415/analyser/tsa/lstm.py +1 -1
  4. {analyser_hj3415-4.6.2 → analyser_hj3415-4.6.3}/pyproject.toml +1 -1
  5. {analyser_hj3415-4.6.2 → analyser_hj3415-4.6.3}/README.md +0 -0
  6. {analyser_hj3415-4.6.2 → analyser_hj3415-4.6.3}/analyser_hj3415/.DS_Store +0 -0
  7. {analyser_hj3415-4.6.2 → analyser_hj3415-4.6.3}/analyser_hj3415/__init__.py +0 -0
  8. {analyser_hj3415-4.6.2 → analyser_hj3415-4.6.3}/analyser_hj3415/analyser/__init__.py +0 -0
  9. {analyser_hj3415-4.6.2 → analyser_hj3415-4.6.3}/analyser_hj3415/analyser/eval/__init__.py +0 -0
  10. {analyser_hj3415-4.6.2 → analyser_hj3415-4.6.3}/analyser_hj3415/analyser/eval/blue.py +0 -0
  11. {analyser_hj3415-4.6.2 → analyser_hj3415-4.6.3}/analyser_hj3415/analyser/eval/common.py +0 -0
  12. {analyser_hj3415-4.6.2 → analyser_hj3415-4.6.3}/analyser_hj3415/analyser/eval/growth.py +0 -0
  13. {analyser_hj3415-4.6.2 → analyser_hj3415-4.6.3}/analyser_hj3415/analyser/eval/mil.py +0 -0
  14. {analyser_hj3415-4.6.2 → analyser_hj3415-4.6.3}/analyser_hj3415/analyser/eval/red.py +0 -0
  15. {analyser_hj3415-4.6.2 → analyser_hj3415-4.6.3}/analyser_hj3415/analyser/tsa/__init__.py +0 -0
  16. {analyser_hj3415-4.6.2 → analyser_hj3415-4.6.3}/analyser_hj3415/analyser/tsa/myprophet.py +0 -0
  17. {analyser_hj3415-4.6.2 → analyser_hj3415-4.6.3}/analyser_hj3415/cli.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: analyser_hj3415
3
- Version: 4.6.2
3
+ Version: 4.6.3
4
4
  Summary: Stock analyser and database processing programs
5
5
  Requires-Python: >=3.6
6
6
  Description-Content-Type: text/markdown
@@ -46,7 +46,10 @@ def is_up_by_OLS(data: dict) -> bool:
46
46
  slope = numerator / denominator
47
47
 
48
48
  # 4) 기울기가 양수면 "우상향 추세"로 판별
49
- return slope > 0
49
+ if slope > 0:
50
+ return True
51
+ else:
52
+ return False
50
53
 
51
54
 
52
55
  @dataclass
@@ -499,7 +499,7 @@ class MyLSTM:
499
499
  future_prices=[{"x": ds, "y": None if pd.isna(future_price) else future_price} for ds, future_price in zip(merged_df["ds"], merged_df["future_price"])], # type: ignore
500
500
  grade=lstm_grade,
501
501
  num=num_in,
502
- is_lstm_up=bool(is_lstm_up),
502
+ is_lstm_up=is_lstm_up,
503
503
  )
504
504
  #import pprint
505
505
  #pprint.pprint(data.prices[-10:], compact=True)
@@ -5,7 +5,7 @@ build-backend = "flit_core.buildapi"
5
5
 
6
6
  [project]
7
7
  name = "analyser_hj3415"
8
- version = "4.6.2"
8
+ version = "4.6.3"
9
9
  description = "Stock analyser and database processing programs"
10
10
  readme = "README.md"
11
11
  requires-python = ">=3.6"