analyser_hj3415 2.5.2__tar.gz → 2.5.4__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {analyser_hj3415-2.5.2 → analyser_hj3415-2.5.4}/.idea/inspectionProfiles/profiles_settings.xml +1 -0
- {analyser_hj3415-2.5.2 → analyser_hj3415-2.5.4}/PKG-INFO +1 -1
- {analyser_hj3415-2.5.2 → analyser_hj3415-2.5.4}/analyser_hj3415/analysers/eval.py +3 -4
- {analyser_hj3415-2.5.2 → analyser_hj3415-2.5.4}/analyser_hj3415/analysers/score.py +3 -1
- {analyser_hj3415-2.5.2 → analyser_hj3415-2.5.4}/pyproject.toml +2 -1
- analyser_hj3415-2.5.2/analyser_hj3415/settings.json +0 -1
- {analyser_hj3415-2.5.2 → analyser_hj3415-2.5.4}/.DS_Store +0 -0
- {analyser_hj3415-2.5.2 → analyser_hj3415-2.5.4}/.gitattributes +0 -0
- {analyser_hj3415-2.5.2 → analyser_hj3415-2.5.4}/.gitignore +0 -0
- {analyser_hj3415-2.5.2 → analyser_hj3415-2.5.4}/.idea/.gitignore +0 -0
- {analyser_hj3415-2.5.2 → analyser_hj3415-2.5.4}/.idea/analyser-hj3415.iml +0 -0
- {analyser_hj3415-2.5.2 → analyser_hj3415-2.5.4}/.idea/misc.xml +0 -0
- {analyser_hj3415-2.5.2 → analyser_hj3415-2.5.4}/.idea/modules.xml +0 -0
- {analyser_hj3415-2.5.2 → analyser_hj3415-2.5.4}/.idea/vcs.xml +0 -0
- {analyser_hj3415-2.5.2 → analyser_hj3415-2.5.4}/LICENSE +0 -0
- {analyser_hj3415-2.5.2 → analyser_hj3415-2.5.4}/README.md +0 -0
- {analyser_hj3415-2.5.2 → analyser_hj3415-2.5.4}/analyser_hj3415/.DS_Store +0 -0
- {analyser_hj3415-2.5.2 → analyser_hj3415-2.5.4}/analyser_hj3415/__init__.py +0 -0
- {analyser_hj3415-2.5.2 → analyser_hj3415-2.5.4}/analyser_hj3415/analysers/report.py +0 -0
- {analyser_hj3415-2.5.2 → analyser_hj3415-2.5.4}/analyser_hj3415/cli.py +0 -0
- {analyser_hj3415-2.5.2 → analyser_hj3415-2.5.4}/analyser_hj3415/myredis.py +0 -0
- {analyser_hj3415-2.5.2 → analyser_hj3415-2.5.4}/analyser_hj3415/tools.py +0 -0
- {analyser_hj3415-2.5.2 → analyser_hj3415-2.5.4}/analyser_hj3415/trash.py +0 -0
@@ -16,10 +16,6 @@ logger.addHandler(ch)
|
|
16
16
|
logger.setLevel(logging.WARNING)
|
17
17
|
|
18
18
|
|
19
|
-
# 주식을 통한 기대수익률 - 금리가 3%일 경우 두배인 6% 정도로 잡는다.
|
20
|
-
EXPECT_EARN = 0.06
|
21
|
-
|
22
|
-
|
23
19
|
def red(code: str) -> dict:
|
24
20
|
"""
|
25
21
|
리턴값
|
@@ -45,6 +41,8 @@ def red(code: str) -> dict:
|
|
45
41
|
d6, 투자부동산 = c103q.latest_value_pop2('투자부동산')
|
46
42
|
|
47
43
|
# 사업가치 계산 - 지배주주지분 당기순이익 / 기대수익률
|
44
|
+
from analyser_hj3415 import cli
|
45
|
+
EXPECT_EARN = cli.AnalyserSettingsManager(cli.SETTINGS_FILE).get_value('EXPECT_EARN')
|
48
46
|
사업가치 = round(utils.nan_to_zero(지배주주당기순이익) / EXPECT_EARN, 2)
|
49
47
|
|
50
48
|
# 재산가치 계산 - 유동자산 - (유동부채*1.2) + 고정자산중 투자자산
|
@@ -73,6 +71,7 @@ def red(code: str) -> dict:
|
|
73
71
|
'재산가치': 재산가치,
|
74
72
|
'부채평가': 부채평가,
|
75
73
|
'발행주식수': 발행주식수,
|
74
|
+
'EXPECT_EARN': EXPECT_EARN,
|
76
75
|
'date': tools.set_data(d1, d2, d3, d4, d5, d6), # ''값을 제거하고 리스트로 바꾼다.
|
77
76
|
}
|
78
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,7 +4,7 @@ build-backend = "flit_core.buildapi"
|
|
4
4
|
|
5
5
|
[project]
|
6
6
|
name = "analyser_hj3415"
|
7
|
-
version = "2.5.
|
7
|
+
version = "2.5.4"
|
8
8
|
authors = [{name = "Hyungjin Kim", email = "hj3415@gmail.com"}]
|
9
9
|
description = "Stock analyser and database processing programs"
|
10
10
|
readme = "README.md"
|
@@ -24,4 +24,5 @@ Home = "https://www.hyungjin.kr"
|
|
24
24
|
[tool.flit.sdist]
|
25
25
|
exclude = [
|
26
26
|
'tests/',
|
27
|
+
'analyser_hj3415/settings.json'
|
27
28
|
]
|
@@ -1 +0,0 @@
|
|
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
|