analyser_hj3415 2.10.3__tar.gz → 2.10.5__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {analyser_hj3415-2.10.3 → analyser_hj3415-2.10.5}/PKG-INFO +1 -1
- {analyser_hj3415-2.10.3 → analyser_hj3415-2.10.5}/analyser_hj3415/score.py +7 -3
- {analyser_hj3415-2.10.3 → analyser_hj3415-2.10.5}/pyproject.toml +1 -1
- {analyser_hj3415-2.10.3 → analyser_hj3415-2.10.5}/.gitignore +0 -0
- {analyser_hj3415-2.10.3 → analyser_hj3415-2.10.5}/README.md +0 -0
- {analyser_hj3415-2.10.3 → analyser_hj3415-2.10.5}/analyser_hj3415/__init__.py +0 -0
- {analyser_hj3415-2.10.3 → analyser_hj3415-2.10.5}/analyser_hj3415/cli.py +0 -0
- {analyser_hj3415-2.10.3 → analyser_hj3415-2.10.5}/analyser_hj3415/eval.py +0 -0
- {analyser_hj3415-2.10.3 → analyser_hj3415-2.10.5}/analyser_hj3415/tsa.py +0 -0
- {analyser_hj3415-2.10.3 → analyser_hj3415-2.10.5}/analyser_hj3415/workroom/__init__.py +0 -0
- {analyser_hj3415-2.10.3 → analyser_hj3415-2.10.5}/analyser_hj3415/workroom/mysklearn.py +0 -0
- {analyser_hj3415-2.10.3 → analyser_hj3415-2.10.5}/analyser_hj3415/workroom/mysklearn2.py +0 -0
- {analyser_hj3415-2.10.3 → analyser_hj3415-2.10.5}/analyser_hj3415/workroom/score.py +0 -0
- {analyser_hj3415-2.10.3 → analyser_hj3415-2.10.5}/analyser_hj3415/workroom/trash.py +0 -0
@@ -53,12 +53,9 @@ class Score:
|
|
53
53
|
|
54
54
|
Returns:
|
55
55
|
dict: A dictionary containing the following key-value pairs:
|
56
|
-
|
57
|
-
- 'code': str - 종목코드
|
58
56
|
- 'name': str - 종목명
|
59
57
|
- '시가총액': str - 시가총액
|
60
58
|
- 'is_update_c108': bool - 최근 3일 이내에 c108이 없데이트 되었는가
|
61
|
-
- 'is_update_dart': bool - 최근 3일 이내에 Dart가 없데이트 되었는가
|
62
59
|
- 'red_score': float - Red score
|
63
60
|
- '이익지표': float - Mil의 이익지표
|
64
61
|
- '주주수익률': float - Mil의 주주수익률
|
@@ -89,6 +86,12 @@ class Score:
|
|
89
86
|
score_logger.info("Mil data 계산중..")
|
90
87
|
mil_data = self.mil.get(verbose=False)
|
91
88
|
|
89
|
+
score_logger.info("Lstm 최근 데이터 조회중..")
|
90
|
+
if myredis.Base.exists(f'{self.code}_mylstm_predictions'):
|
91
|
+
is_lstm_up = self.lstm.is_up()
|
92
|
+
else:
|
93
|
+
is_lstm_up = None
|
94
|
+
|
92
95
|
score_logger.info("\tProphet 최근 데이터 조회중..")
|
93
96
|
prophet_score = self.prophet.scoring()
|
94
97
|
|
@@ -99,6 +102,7 @@ class Score:
|
|
99
102
|
'red_score': red_score,
|
100
103
|
'이익지표': mil_data.이익지표,
|
101
104
|
'주주수익률': mil_data.주주수익률,
|
105
|
+
'is_lstm_up': is_lstm_up,
|
102
106
|
'prophet_score': prophet_score,
|
103
107
|
}
|
104
108
|
data_dict = myredis.Base.fetch_and_cache_data(redis_name, refresh, fetch_score, timer=expire_time_h * 3600)
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|