analyser_hj3415 4.6.2__py3-none-any.whl → 4.6.3__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.
@@ -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)
@@ -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
@@ -9,10 +9,10 @@ analyser_hj3415/analyser/eval/growth.py,sha256=JrcPh-1qy1AJXMkhtP8LMZPH6VZYqA8Ok
9
9
  analyser_hj3415/analyser/eval/mil.py,sha256=9qM4SFb_DYW0a6T2kgi--rTbvbP66eSeQ4N67zIit3k,15667
10
10
  analyser_hj3415/analyser/eval/red.py,sha256=Vzxlg_R7Labwg3Ae3BHTkFJmC-kRsltNmfiy68FFU8Q,12348
11
11
  analyser_hj3415/analyser/tsa/__init__.py,sha256=7j-WshikzsDGGo_wuFoMPNmYfY-bLSEMd6o1MKSQKLI,150
12
- analyser_hj3415/analyser/tsa/common.py,sha256=i4kNfjJmWsKO-v4DNQ-8PQDzJTD6JnbrMU30Gc1yUjY,4232
13
- analyser_hj3415/analyser/tsa/lstm.py,sha256=l0P79Zm1X3PMbyX6d449j8V5pI1yiQfYdtQZr06khw4,28819
12
+ analyser_hj3415/analyser/tsa/common.py,sha256=YYTcIBAXPhOuTJLMQ_u2tHXpuzJRBc6DqrHBlV_HGsQ,4280
13
+ analyser_hj3415/analyser/tsa/lstm.py,sha256=a9vJeCo7S9jwUJ5IEOI6xPwOKTdPXxiw4dvCDIQkmqc,28813
14
14
  analyser_hj3415/analyser/tsa/myprophet.py,sha256=J7I1R21r2wgFbHIs8u5E8ch-DS7Tm-ecLkDG1LJARS0,18413
15
- analyser_hj3415-4.6.2.dist-info/entry_points.txt,sha256=ZfjPnJuH8SzvhE9vftIPMBIofsc65IAWYOhqOC_L5ck,65
16
- analyser_hj3415-4.6.2.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
17
- analyser_hj3415-4.6.2.dist-info/METADATA,sha256=X3BON6EOls5hij8R8jGS2kjo-hiA-H-Bg3HHOsMQOqE,6844
18
- analyser_hj3415-4.6.2.dist-info/RECORD,,
15
+ analyser_hj3415-4.6.3.dist-info/entry_points.txt,sha256=ZfjPnJuH8SzvhE9vftIPMBIofsc65IAWYOhqOC_L5ck,65
16
+ analyser_hj3415-4.6.3.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
17
+ analyser_hj3415-4.6.3.dist-info/METADATA,sha256=iseSZIUS7-LCRx-wRO8XMPC2GQYsIXk0C_P30aBpxFc,6844
18
+ analyser_hj3415-4.6.3.dist-info/RECORD,,