analyser_hj3415 2.8.1__tar.gz → 2.8.2__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {analyser_hj3415-2.8.1 → analyser_hj3415-2.8.2}/PKG-INFO +1 -1
- {analyser_hj3415-2.8.1 → analyser_hj3415-2.8.2}/analyser_hj3415/cli.py +9 -0
- {analyser_hj3415-2.8.1 → analyser_hj3415-2.8.2}/analyser_hj3415/tsa.py +1 -1
- {analyser_hj3415-2.8.1 → analyser_hj3415-2.8.2}/analyser_hj3415/workroom/lstm.py +2 -0
- {analyser_hj3415-2.8.1 → analyser_hj3415-2.8.2}/pyproject.toml +1 -1
- {analyser_hj3415-2.8.1 → analyser_hj3415-2.8.2}/.DS_Store +0 -0
- {analyser_hj3415-2.8.1 → analyser_hj3415-2.8.2}/.gitattributes +0 -0
- {analyser_hj3415-2.8.1 → analyser_hj3415-2.8.2}/.gitignore +0 -0
- {analyser_hj3415-2.8.1 → analyser_hj3415-2.8.2}/.idea/.gitignore +0 -0
- {analyser_hj3415-2.8.1 → analyser_hj3415-2.8.2}/.idea/analyser-hj3415.iml +0 -0
- {analyser_hj3415-2.8.1 → analyser_hj3415-2.8.2}/.idea/inspectionProfiles/profiles_settings.xml +0 -0
- {analyser_hj3415-2.8.1 → analyser_hj3415-2.8.2}/.idea/misc.xml +0 -0
- {analyser_hj3415-2.8.1 → analyser_hj3415-2.8.2}/.idea/modules.xml +0 -0
- {analyser_hj3415-2.8.1 → analyser_hj3415-2.8.2}/.idea/vcs.xml +0 -0
- {analyser_hj3415-2.8.1 → analyser_hj3415-2.8.2}/LICENSE +0 -0
- {analyser_hj3415-2.8.1 → analyser_hj3415-2.8.2}/README.md +0 -0
- {analyser_hj3415-2.8.1 → analyser_hj3415-2.8.2}/analyser_hj3415/.DS_Store +0 -0
- {analyser_hj3415-2.8.1 → analyser_hj3415-2.8.2}/analyser_hj3415/__init__.py +0 -0
- {analyser_hj3415-2.8.1 → analyser_hj3415-2.8.2}/analyser_hj3415/eval.py +0 -0
- {analyser_hj3415-2.8.1 → analyser_hj3415-2.8.2}/analyser_hj3415/workroom/__init__.py +0 -0
- {analyser_hj3415-2.8.1 → analyser_hj3415-2.8.2}/analyser_hj3415/workroom/mysklearn.py +0 -0
- {analyser_hj3415-2.8.1 → analyser_hj3415-2.8.2}/analyser_hj3415/workroom/mysklearn2.py +0 -0
- {analyser_hj3415-2.8.1 → analyser_hj3415-2.8.2}/analyser_hj3415/workroom/score.py +0 -0
- {analyser_hj3415-2.8.1 → analyser_hj3415-2.8.2}/analyser_hj3415/workroom/trash.py +0 -0
@@ -41,6 +41,15 @@ def analyser_manager():
|
|
41
41
|
parser = argparse.ArgumentParser(description="Analyser Commands")
|
42
42
|
type_subparsers = parser.add_subparsers(dest='type', help='분석 타입')
|
43
43
|
|
44
|
+
# tsa 명령어 서브파서
|
45
|
+
tsa_parser = type_subparsers.add_parser('tsa', help='Time serial analysis 타입')
|
46
|
+
tsa_subparser = tsa_parser.add_subparsers(dest='command', help='tsa 관련된 명령')
|
47
|
+
# red - ranking 파서
|
48
|
+
ranking_parser = red_subparser.add_parser('ranking', help='red 랭킹 책정 및 레디스 저장')
|
49
|
+
ranking_parser.add_argument('-e', '--expect_earn', type=float, help='기대수익률 (실수 값 입력)')
|
50
|
+
ranking_parser.add_argument('-r', '--refresh', action='store_true', help='래디스 캐시를 사용하지 않고 강제로 재계산 할지')
|
51
|
+
ranking_parser.add_argument('-n', '--noti', action='store_true', help='작업 완료 후 메시지 전송 여부')
|
52
|
+
|
44
53
|
# red 명령어 서브파서
|
45
54
|
red_parser = type_subparsers.add_parser('red', help='red 타입')
|
46
55
|
red_subparser = red_parser.add_subparsers(dest='command', help='red 관련된 명령')
|
@@ -136,7 +136,7 @@ class MyProphet:
|
|
136
136
|
go.Scatter(x=self.df_forecast['ds'], y=self.df_forecast['yhat_lower'], fill='tonexty', mode='lines', name='하한'))
|
137
137
|
|
138
138
|
fig.update_layout(
|
139
|
-
title=f'{self.code} {self.name} 주가 예측 그래프(prophet)',
|
139
|
+
# title=f'{self.code} {self.name} 주가 예측 그래프(prophet)',
|
140
140
|
xaxis_title='일자',
|
141
141
|
yaxis_title='주가(원)',
|
142
142
|
xaxis = dict(
|
@@ -15,6 +15,8 @@ stock_data = yf.download('259960.KS', start='2020-01-01', end='2024-10-11')
|
|
15
15
|
# 하이닉스 주식 데이터 가져오기 (KOSPI 상장)
|
16
16
|
#stock_data = yf.download('000660.KS', start='2019-01-01', end='2024-10-11')
|
17
17
|
|
18
|
+
stock_data = yf.download('004490.KS', start='2020-01-01', end='2024-10-15')
|
19
|
+
|
18
20
|
|
19
21
|
# 2. 필요한 열만 선택 (종가만 사용)
|
20
22
|
data = stock_data['Close'].values.reshape(-1, 1)
|
@@ -4,7 +4,7 @@ build-backend = "flit_core.buildapi"
|
|
4
4
|
|
5
5
|
[project]
|
6
6
|
name = "analyser_hj3415"
|
7
|
-
version = "2.8.
|
7
|
+
version = "2.8.2"
|
8
8
|
authors = [{name = "Hyungjin Kim", email = "hj3415@gmail.com"}]
|
9
9
|
description = "Stock analyser and database processing programs"
|
10
10
|
readme = "README.md"
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{analyser_hj3415-2.8.1 → analyser_hj3415-2.8.2}/.idea/inspectionProfiles/profiles_settings.xml
RENAMED
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
|