analyser_hj3415 2.5.3__py2.py3-none-any.whl → 2.5.4__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- analyser_hj3415/analysers/eval.py +4 -6
- analyser_hj3415/analysers/score.py +3 -1
- {analyser_hj3415-2.5.3.dist-info → analyser_hj3415-2.5.4.dist-info}/METADATA +1 -1
- {analyser_hj3415-2.5.3.dist-info → analyser_hj3415-2.5.4.dist-info}/RECORD +7 -7
- {analyser_hj3415-2.5.3.dist-info → analyser_hj3415-2.5.4.dist-info}/LICENSE +0 -0
- {analyser_hj3415-2.5.3.dist-info → analyser_hj3415-2.5.4.dist-info}/WHEEL +0 -0
- {analyser_hj3415-2.5.3.dist-info → analyser_hj3415-2.5.4.dist-info}/entry_points.txt +0 -0
@@ -2,7 +2,7 @@
|
|
2
2
|
"""
|
3
3
|
import math
|
4
4
|
|
5
|
-
from analyser_hj3415 import tools
|
5
|
+
from analyser_hj3415 import tools
|
6
6
|
from utils_hj3415 import utils
|
7
7
|
from db_hj3415 import myredis
|
8
8
|
|
@@ -16,11 +16,6 @@ logger.addHandler(ch)
|
|
16
16
|
logger.setLevel(logging.WARNING)
|
17
17
|
|
18
18
|
|
19
|
-
# 주식을 통한 기대수익률 - 금리가 3%일 경우 두배인 6% 정도로 잡는다.
|
20
|
-
EXPECT_EARN = cli.AnalyserSettingsManager(cli.SETTINGS_FILE).get_value('EXPECT_EARN')
|
21
|
-
print("EXPECT_EARN: ", EXPECT_EARN)
|
22
|
-
|
23
|
-
|
24
19
|
def red(code: str) -> dict:
|
25
20
|
"""
|
26
21
|
리턴값
|
@@ -46,6 +41,8 @@ def red(code: str) -> dict:
|
|
46
41
|
d6, 투자부동산 = c103q.latest_value_pop2('투자부동산')
|
47
42
|
|
48
43
|
# 사업가치 계산 - 지배주주지분 당기순이익 / 기대수익률
|
44
|
+
from analyser_hj3415 import cli
|
45
|
+
EXPECT_EARN = cli.AnalyserSettingsManager(cli.SETTINGS_FILE).get_value('EXPECT_EARN')
|
49
46
|
사업가치 = round(utils.nan_to_zero(지배주주당기순이익) / EXPECT_EARN, 2)
|
50
47
|
|
51
48
|
# 재산가치 계산 - 유동자산 - (유동부채*1.2) + 고정자산중 투자자산
|
@@ -74,6 +71,7 @@ def red(code: str) -> dict:
|
|
74
71
|
'재산가치': 재산가치,
|
75
72
|
'부채평가': 부채평가,
|
76
73
|
'발행주식수': 발행주식수,
|
74
|
+
'EXPECT_EARN': EXPECT_EARN,
|
77
75
|
'date': tools.set_data(d1, d2, d3, d4, d5, d6), # ''값을 제거하고 리스트로 바꾼다.
|
78
76
|
}
|
79
77
|
|
@@ -93,7 +93,9 @@ def mil(code: str) -> Tuple[int, int, int, int]:
|
|
93
93
|
if math.isnan(mil_dict['주주수익률']):
|
94
94
|
score1 = 0
|
95
95
|
else:
|
96
|
-
|
96
|
+
from analyser_hj3415 import cli
|
97
|
+
EXPECT_EARN = cli.AnalyserSettingsManager(cli.SETTINGS_FILE).get_value('EXPECT_EARN')
|
98
|
+
주주수익률평가 = math.ceil(mil_dict['주주수익률'] - (EXPECT_EARN * 100))
|
97
99
|
score1 = 0 if 0 > 주주수익률평가 else 주주수익률평가
|
98
100
|
|
99
101
|
# 이익지표 평가
|
@@ -4,11 +4,11 @@ analyser_hj3415/cli.py,sha256=27l5X0L657FIybpZdNUBl94KfmghyFOHF2OlY7AjO58,4635
|
|
4
4
|
analyser_hj3415/myredis.py,sha256=T5ESGx1QBrO7mTMlSzqIm975Wks-X9WqrPWVWgFRHUE,10758
|
5
5
|
analyser_hj3415/tools.py,sha256=T7QYJekKvWNlJtiqu_FaiX3FGfDc71NY4vrbEDfBEt0,13705
|
6
6
|
analyser_hj3415/trash.py,sha256=zF-W0piqkGr66UP6-iybo9EXh2gO0RP6R1FnIpsGkl8,12262
|
7
|
-
analyser_hj3415/analysers/eval.py,sha256=
|
7
|
+
analyser_hj3415/analysers/eval.py,sha256=EIgHcRnwc0mXL5Y2TzVgvZ7lPUP5Fo5XX-xSWmYEeis,13357
|
8
8
|
analyser_hj3415/analysers/report.py,sha256=yY-AeDHOqDPrm4lpvZv3NPTJK1Z7lKsjoO5ck8AP6u4,9007
|
9
|
-
analyser_hj3415/analysers/score.py,sha256=
|
10
|
-
analyser_hj3415-2.5.
|
11
|
-
analyser_hj3415-2.5.
|
12
|
-
analyser_hj3415-2.5.
|
13
|
-
analyser_hj3415-2.5.
|
14
|
-
analyser_hj3415-2.5.
|
9
|
+
analyser_hj3415/analysers/score.py,sha256=o0NLvyu-4Y3ZRrsXLRL3TlV2eTFrUj78pbB78gRrCCQ,15982
|
10
|
+
analyser_hj3415-2.5.4.dist-info/entry_points.txt,sha256=ZfjPnJuH8SzvhE9vftIPMBIofsc65IAWYOhqOC_L5ck,65
|
11
|
+
analyser_hj3415-2.5.4.dist-info/LICENSE,sha256=QVKTp0dTnB5xG8RLgG17LwSWCKNEzYoVVM6KjoCPKc0,1079
|
12
|
+
analyser_hj3415-2.5.4.dist-info/WHEEL,sha256=Sgu64hAMa6g5FdzHxXv9Xdse9yxpGGMeagVtPMWpJQY,99
|
13
|
+
analyser_hj3415-2.5.4.dist-info/METADATA,sha256=LPpOEpoEI5H-UDcJFU_qh07XnFrr910rvTxlBTT6yA0,6417
|
14
|
+
analyser_hj3415-2.5.4.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|