analyser_hj3415 3.0.3__py3-none-any.whl → 3.0.4__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.
- analyser_hj3415/analyser/score.py +1 -8
- {analyser_hj3415-3.0.3.dist-info → analyser_hj3415-3.0.4.dist-info}/METADATA +2 -2
- {analyser_hj3415-3.0.3.dist-info → analyser_hj3415-3.0.4.dist-info}/RECORD +5 -5
- {analyser_hj3415-3.0.3.dist-info → analyser_hj3415-3.0.4.dist-info}/WHEEL +0 -0
- {analyser_hj3415-3.0.3.dist-info → analyser_hj3415-3.0.4.dist-info}/entry_points.txt +0 -0
@@ -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
|
@@ -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
|
@@ -1,7 +1,7 @@
|
|
1
1
|
analyser_hj3415/__init__.py,sha256=huF0tm8fFC96sODN9TmVRmPhDizQ0yBTKNOw8miOBh0,448
|
2
2
|
analyser_hj3415/cli.py,sha256=RHMz1JYSVPVkWU6xdrZo-fdRB3tBW3oSC2XrpI8Q2nk,9248
|
3
3
|
analyser_hj3415/analyser/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
4
|
-
analyser_hj3415/analyser/score.py,sha256=
|
4
|
+
analyser_hj3415/analyser/score.py,sha256=RmHWp7fSBkpgKd68SeSyg7oY3TT-nvPQGK36I5P6dk0,6100
|
5
5
|
analyser_hj3415/analyser/eval/__init__.py,sha256=IP1d0Q3nOCAD3zK1qxrC685MkJQfUh-qaXc7xptTxk8,80
|
6
6
|
analyser_hj3415/analyser/eval/blue.py,sha256=fq_eln7-EdwICNQ2sMXAfZKXGhQ29EaJwsGvn7xA29U,7632
|
7
7
|
analyser_hj3415/analyser/eval/common.py,sha256=JBTVvzO6YoeMjKl6X2MF7wgB6fvPTEToHLJSv-V7V4k,12425
|
@@ -16,7 +16,7 @@ analyser_hj3415/workroom/mysklearn.py,sha256=wJXKz5MqqTzADdG2mqRMMzc_G9RzwYjj5_j
|
|
16
16
|
analyser_hj3415/workroom/mysklearn2.py,sha256=1lIy6EWEQHkOzDS-av8U0zQH6DuCLKWMI73dnJx5KRs,1495
|
17
17
|
analyser_hj3415/workroom/score.py,sha256=P6nHBJYmyhigGtT4qna4BmNtvt4B93b7SKyzdstJK24,17376
|
18
18
|
analyser_hj3415/workroom/trash.py,sha256=zF-W0piqkGr66UP6-iybo9EXh2gO0RP6R1FnIpsGkl8,12262
|
19
|
-
analyser_hj3415-3.0.
|
20
|
-
analyser_hj3415-3.0.
|
21
|
-
analyser_hj3415-3.0.
|
22
|
-
analyser_hj3415-3.0.
|
19
|
+
analyser_hj3415-3.0.4.dist-info/entry_points.txt,sha256=ZfjPnJuH8SzvhE9vftIPMBIofsc65IAWYOhqOC_L5ck,65
|
20
|
+
analyser_hj3415-3.0.4.dist-info/WHEEL,sha256=CpUCUxeHQbRN5UGRQHYRJorO5Af-Qy_fHMctcQ8DSGI,82
|
21
|
+
analyser_hj3415-3.0.4.dist-info/METADATA,sha256=bR36Tb4IyoDHDhTRx5sS7hQ7sIvfzLn39NeP2e6dxEg,6777
|
22
|
+
analyser_hj3415-3.0.4.dist-info/RECORD,,
|
File without changes
|
File without changes
|