analyser_hj3415 3.0.3__tar.gz → 3.0.4__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {analyser_hj3415-3.0.3 → analyser_hj3415-3.0.4}/PKG-INFO +2 -2
- {analyser_hj3415-3.0.3 → analyser_hj3415-3.0.4}/analyser_hj3415/analyser/score.py +1 -8
- {analyser_hj3415-3.0.3 → analyser_hj3415-3.0.4}/pyproject.toml +2 -2
- {analyser_hj3415-3.0.3 → analyser_hj3415-3.0.4}/.gitignore +0 -0
- {analyser_hj3415-3.0.3 → analyser_hj3415-3.0.4}/README.md +0 -0
- {analyser_hj3415-3.0.3 → analyser_hj3415-3.0.4}/analyser_hj3415/__init__.py +0 -0
- {analyser_hj3415-3.0.3 → analyser_hj3415-3.0.4}/analyser_hj3415/analyser/__init__.py +0 -0
- {analyser_hj3415-3.0.3 → analyser_hj3415-3.0.4}/analyser_hj3415/analyser/eval/__init__.py +0 -0
- {analyser_hj3415-3.0.3 → analyser_hj3415-3.0.4}/analyser_hj3415/analyser/eval/blue.py +0 -0
- {analyser_hj3415-3.0.3 → analyser_hj3415-3.0.4}/analyser_hj3415/analyser/eval/common.py +0 -0
- {analyser_hj3415-3.0.3 → analyser_hj3415-3.0.4}/analyser_hj3415/analyser/eval/growth.py +0 -0
- {analyser_hj3415-3.0.3 → analyser_hj3415-3.0.4}/analyser_hj3415/analyser/eval/mil.py +0 -0
- {analyser_hj3415-3.0.3 → analyser_hj3415-3.0.4}/analyser_hj3415/analyser/eval/red.py +0 -0
- {analyser_hj3415-3.0.3 → analyser_hj3415-3.0.4}/analyser_hj3415/analyser/tsa/__init__.py +0 -0
- {analyser_hj3415-3.0.3 → analyser_hj3415-3.0.4}/analyser_hj3415/analyser/tsa/lstm.py +0 -0
- {analyser_hj3415-3.0.3 → analyser_hj3415-3.0.4}/analyser_hj3415/analyser/tsa/prophet.py +0 -0
- {analyser_hj3415-3.0.3 → analyser_hj3415-3.0.4}/analyser_hj3415/cli.py +0 -0
- {analyser_hj3415-3.0.3 → analyser_hj3415-3.0.4}/analyser_hj3415/workroom/__init__.py +0 -0
- {analyser_hj3415-3.0.3 → analyser_hj3415-3.0.4}/analyser_hj3415/workroom/mysklearn.py +0 -0
- {analyser_hj3415-3.0.3 → analyser_hj3415-3.0.4}/analyser_hj3415/workroom/mysklearn2.py +0 -0
- {analyser_hj3415-3.0.3 → analyser_hj3415-3.0.4}/analyser_hj3415/workroom/score.py +0 -0
- {analyser_hj3415-3.0.3 → analyser_hj3415-3.0.4}/analyser_hj3415/workroom/trash.py +0 -0
@@ -1,10 +1,10 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: analyser_hj3415
|
3
|
-
Version: 3.0.
|
3
|
+
Version: 3.0.4
|
4
4
|
Summary: Stock analyser and database processing programs
|
5
5
|
Requires-Python: >=3.6
|
6
6
|
Description-Content-Type: text/markdown
|
7
|
-
Requires-Dist: utils-hj3415>=3.0.
|
7
|
+
Requires-Dist: utils-hj3415>=3.0.10
|
8
8
|
Requires-Dist: db-hj3415>=4.3.0
|
9
9
|
Requires-Dist: scikit-learn>=1.5.2
|
10
10
|
Requires-Dist: plotly>=5.24.1
|
@@ -12,13 +12,6 @@ mylogger = setup_logger(__name__,'WARNING')
|
|
12
12
|
expire_time = tools.to_int(os.getenv('DEFAULT_EXPIRE_TIME_H', 48)) * 3600
|
13
13
|
|
14
14
|
|
15
|
-
def is_within_last_three_days(date_to_check: datetime.datetime.date) -> bool:
|
16
|
-
today = datetime.datetime.now().date() # 현재 날짜 (시간은 무시)
|
17
|
-
# print('today - ', today)
|
18
|
-
three_days_ago = today - datetime.timedelta(days=3) # 3일 전 날짜
|
19
|
-
return three_days_ago <= date_to_check <= today
|
20
|
-
|
21
|
-
|
22
15
|
class Score:
|
23
16
|
def __init__(self, code):
|
24
17
|
self._code = code
|
@@ -81,7 +74,7 @@ class Score:
|
|
81
74
|
if c108_recent_date is None:
|
82
75
|
is_update_c108 = False
|
83
76
|
else:
|
84
|
-
is_update_c108 =
|
77
|
+
is_update_c108 = tools.is_within_last_n_days(c108_recent_date,3)
|
85
78
|
|
86
79
|
mylogger.info("Red score 계산중..")
|
87
80
|
red_score = self.red.get(verbose=False).score
|
@@ -5,7 +5,7 @@ build-backend = "flit_core.buildapi"
|
|
5
5
|
|
6
6
|
[project]
|
7
7
|
name = "analyser_hj3415"
|
8
|
-
version = "3.0.
|
8
|
+
version = "3.0.4"
|
9
9
|
description = "Stock analyser and database processing programs"
|
10
10
|
readme = "README.md"
|
11
11
|
requires-python = ">=3.6"
|
@@ -20,7 +20,7 @@ requires-python = ">=3.6"
|
|
20
20
|
# "Operating System :: OS Independent"
|
21
21
|
#]
|
22
22
|
dependencies = [
|
23
|
-
"utils-hj3415>=3.0.
|
23
|
+
"utils-hj3415>=3.0.10",
|
24
24
|
"db-hj3415>=4.3.0",
|
25
25
|
"scikit-learn>=1.5.2",
|
26
26
|
"plotly>=5.24.1",
|
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
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|