analyser_hj3415 2.7.0__py2.py3-none-any.whl → 2.7.1__py2.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/cli.py CHANGED
@@ -49,42 +49,42 @@ def analyser_manager():
49
49
  ranking_parser.add_argument('-e', '--expect_earn', type=float, help='기대수익률 (실수 값 입력)')
50
50
  ranking_parser.add_argument('-r', '--refresh', action='store_true', help='래디스 캐시를 사용하지 않고 강제로 재계산 할지')
51
51
  ranking_parser.add_argument('-n', '--noti', action='store_true', help='작업 완료 후 메시지 전송 여부')
52
- # red - score 파서
53
- red_score_parser = red_subparser.add_parser('score', help='red score 책정 및 레디스 저장')
54
- red_score_parser.add_argument('code', type=str, help='종목코드 or all')
55
- red_score_parser.add_argument('-e', '--expect_earn', type=float, help='기대수익률 (실수 값 입력)')
56
- red_score_parser.add_argument('-r', '--refresh', action='store_true', help='래디스 캐시를 사용하지 않고 강제로 재계산 할지')
57
- red_score_parser.add_argument('-n', '--noti', action='store_true', help='작업 완료 후 메시지 전송 여부')
52
+ # red - get 파서
53
+ red_get_parser = red_subparser.add_parser('get', help='red get 책정 및 레디스 저장')
54
+ red_get_parser.add_argument('code', type=str, help='종목코드 or all')
55
+ red_get_parser.add_argument('-e', '--expect_earn', type=float, help='기대수익률 (실수 값 입력)')
56
+ red_get_parser.add_argument('-r', '--refresh', action='store_true', help='래디스 캐시를 사용하지 않고 강제로 재계산 할지')
57
+ red_get_parser.add_argument('-n', '--noti', action='store_true', help='작업 완료 후 메시지 전송 여부')
58
58
 
59
59
  # mil 명령어 서브파서
60
60
  mil_parser = type_subparsers.add_parser('mil', help='millennial 타입')
61
61
  mil_subparser = mil_parser.add_subparsers(dest='command', help='mil 관련된 명령')
62
- # mil - score 파서
63
- mil_score_parser = mil_subparser.add_parser('score', help='mil score 책정 및 레디스 저장')
64
- mil_score_parser.add_argument('code', type=str, help='종목코드 or all')
65
- mil_score_parser.add_argument('-e', '--expect_earn', type=float, help='기대수익률 (실수 값 입력)')
66
- mil_score_parser.add_argument('-r', '--refresh', action='store_true', help='래디스 캐시를 사용하지 않고 강제로 재계산 할지')
67
- mil_score_parser.add_argument('-n', '--noti', action='store_true', help='작업 완료 후 메시지 전송 여부')
62
+ # mil - get 파서
63
+ mil_get_parser = mil_subparser.add_parser('get', help='mil get 책정 및 레디스 저장')
64
+ mil_get_parser.add_argument('code', type=str, help='종목코드 or all')
65
+ mil_get_parser.add_argument('-e', '--expect_earn', type=float, help='기대수익률 (실수 값 입력)')
66
+ mil_get_parser.add_argument('-r', '--refresh', action='store_true', help='래디스 캐시를 사용하지 않고 강제로 재계산 할지')
67
+ mil_get_parser.add_argument('-n', '--noti', action='store_true', help='작업 완료 후 메시지 전송 여부')
68
68
 
69
69
  # blue 명령어 서브파서
70
70
  blue_parser = type_subparsers.add_parser('blue', help='Blue 타입')
71
71
  blue_subparser = blue_parser.add_subparsers(dest='command', help='blue 관련된 명령')
72
- # blue - score 파서
73
- blue_score_parser = blue_subparser.add_parser('score', help='blue score 책정 및 레디스 저장')
74
- blue_score_parser.add_argument('code', type=str, help='종목코드 or all')
75
- blue_score_parser.add_argument('-e', '--expect_earn', type=float, help='기대수익률 (실수 값 입력)')
76
- blue_score_parser.add_argument('-r', '--refresh', action='store_true', help='래디스 캐시를 사용하지 않고 강제로 재계산 할지')
77
- blue_score_parser.add_argument('-n', '--noti', action='store_true', help='작업 완료 후 메시지 전송 여부')
72
+ # blue - get 파서
73
+ blue_get_parser = blue_subparser.add_parser('get', help='blue get 책정 및 레디스 저장')
74
+ blue_get_parser.add_argument('code', type=str, help='종목코드 or all')
75
+ blue_get_parser.add_argument('-e', '--expect_earn', type=float, help='기대수익률 (실수 값 입력)')
76
+ blue_get_parser.add_argument('-r', '--refresh', action='store_true', help='래디스 캐시를 사용하지 않고 강제로 재계산 할지')
77
+ blue_get_parser.add_argument('-n', '--noti', action='store_true', help='작업 완료 후 메시지 전송 여부')
78
78
 
79
79
  # growth 명령어 서브파서
80
80
  growth_parser = type_subparsers.add_parser('growth', help='Growth 타입')
81
81
  growth_subparser = growth_parser.add_subparsers(dest='command', help='growth 관련된 명령')
82
- # growth - score 파서
83
- growth_score_parser = growth_subparser.add_parser('score', help='growth score 책정 및 레디스 저장')
84
- growth_score_parser.add_argument('code', type=str, help='종목코드 or all')
85
- growth_score_parser.add_argument('-e', '--expect_earn', type=float, help='기대수익률 (실수 값 입력)')
86
- growth_score_parser.add_argument('-r', '--refresh', action='store_true', help='래디스 캐시를 사용하지 않고 강제로 재계산 할지')
87
- growth_score_parser.add_argument('-n', '--noti', action='store_true', help='작업 완료 후 메시지 전송 여부')
82
+ # growth - get 파서
83
+ growth_get_parser = growth_subparser.add_parser('get', help='growth get 책정 및 레디스 저장')
84
+ growth_get_parser.add_argument('code', type=str, help='종목코드 or all')
85
+ growth_get_parser.add_argument('-e', '--expect_earn', type=float, help='기대수익률 (실수 값 입력)')
86
+ growth_get_parser.add_argument('-r', '--refresh', action='store_true', help='래디스 캐시를 사용하지 않고 강제로 재계산 할지')
87
+ growth_get_parser.add_argument('-n', '--noti', action='store_true', help='작업 완료 후 메시지 전송 여부')
88
88
 
89
89
  # setting 명령어 서브파서
90
90
  setting_parser = type_subparsers.add_parser('setting', help='Set and Get settings')
@@ -104,7 +104,7 @@ def analyser_manager():
104
104
  from analyser_hj3415 import eval
105
105
 
106
106
  if args.type == 'red':
107
- if args.command == 'score':
107
+ if args.command == 'get':
108
108
  if args.code == 'all':
109
109
  # 저장된 기대수익률을 불러서 임시저장
110
110
  ee_orig = eval.Red.expect_earn
@@ -146,7 +146,7 @@ def analyser_manager():
146
146
  noti.telegram_to('manager', "오늘의 red ranking을 레디스캐시에 저장했습니다.(유효 12시간)")
147
147
 
148
148
  elif args.type == 'mil':
149
- if args.command == 'score':
149
+ if args.command == 'get':
150
150
  if args.code == 'all':
151
151
  mil = eval.Mil('005930')
152
152
  print("**** Mil - all codes ****")
@@ -163,7 +163,7 @@ def analyser_manager():
163
163
  noti.telegram_to('manager', f"오늘의 Mil({args.code})를 레디스 캐시에 저장했습니다.(유효 12시간)")
164
164
 
165
165
  elif args.type == 'blue':
166
- if args.command == 'score':
166
+ if args.command == 'get':
167
167
  if args.code == 'all':
168
168
  blue = eval.Blue('005930')
169
169
  print("**** Blue - all codes ****")
@@ -180,7 +180,7 @@ def analyser_manager():
180
180
  noti.telegram_to('manager', f"오늘의 Blue({args.code})를 레디스 캐시에 저장했습니다.(유효 12시간)")
181
181
 
182
182
  elif args.type == 'growth':
183
- if args.command == 'score':
183
+ if args.command == 'get':
184
184
  if args.code == 'all':
185
185
  growth = eval.Growth('005930')
186
186
  print("**** Growth - all codes ****")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: analyser_hj3415
3
- Version: 2.7.0
3
+ Version: 2.7.1
4
4
  Summary: Stock analyser and database processing programs
5
5
  Author-email: Hyungjin Kim <hj3415@gmail.com>
6
6
  Description-Content-Type: text/markdown
@@ -1,6 +1,6 @@
1
1
  analyser_hj3415/.DS_Store,sha256=qr9-0FPn5CFKe6kEu8_dWCNhzQ0sN7bwQgffKsaJEEo,6148
2
2
  analyser_hj3415/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- analyser_hj3415/cli.py,sha256=0_FNk0AUvnwQM1CFUOQKsbKj0bBf6AgbJ5xLjP_tXM8,11017
3
+ analyser_hj3415/cli.py,sha256=hJMUKBMeVr42QFdlCRpmMDPAUC1xX-OiZdDdxILmA9Y,10945
4
4
  analyser_hj3415/eval.py,sha256=LNOa6ryDuC1lylEh5dNjOUvtS6yD9qdlGadKugZ9S-k,38258
5
5
  analyser_hj3415/workroom/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
6
  analyser_hj3415/workroom/lstm.py,sha256=O_VYURGNsLw6q_7Yi0nH4Y6nKbVBwzMojDN446cyJKM,4078
@@ -9,8 +9,8 @@ analyser_hj3415/workroom/mysklearn.py,sha256=wJXKz5MqqTzADdG2mqRMMzc_G9RzwYjj5_j
9
9
  analyser_hj3415/workroom/mysklearn2.py,sha256=1lIy6EWEQHkOzDS-av8U0zQH6DuCLKWMI73dnJx5KRs,1495
10
10
  analyser_hj3415/workroom/score.py,sha256=P6nHBJYmyhigGtT4qna4BmNtvt4B93b7SKyzdstJK24,17376
11
11
  analyser_hj3415/workroom/trash.py,sha256=zF-W0piqkGr66UP6-iybo9EXh2gO0RP6R1FnIpsGkl8,12262
12
- analyser_hj3415-2.7.0.dist-info/entry_points.txt,sha256=ZfjPnJuH8SzvhE9vftIPMBIofsc65IAWYOhqOC_L5ck,65
13
- analyser_hj3415-2.7.0.dist-info/LICENSE,sha256=QVKTp0dTnB5xG8RLgG17LwSWCKNEzYoVVM6KjoCPKc0,1079
14
- analyser_hj3415-2.7.0.dist-info/WHEEL,sha256=Sgu64hAMa6g5FdzHxXv9Xdse9yxpGGMeagVtPMWpJQY,99
15
- analyser_hj3415-2.7.0.dist-info/METADATA,sha256=V7gUQ_Hry-bpBiaXZOqMMBY-5aGtgEJKYDoJtGoU9hs,6417
16
- analyser_hj3415-2.7.0.dist-info/RECORD,,
12
+ analyser_hj3415-2.7.1.dist-info/entry_points.txt,sha256=ZfjPnJuH8SzvhE9vftIPMBIofsc65IAWYOhqOC_L5ck,65
13
+ analyser_hj3415-2.7.1.dist-info/LICENSE,sha256=QVKTp0dTnB5xG8RLgG17LwSWCKNEzYoVVM6KjoCPKc0,1079
14
+ analyser_hj3415-2.7.1.dist-info/WHEEL,sha256=Sgu64hAMa6g5FdzHxXv9Xdse9yxpGGMeagVtPMWpJQY,99
15
+ analyser_hj3415-2.7.1.dist-info/METADATA,sha256=vuoa55U72kpqBBesew0x7x-llcXXEruM9Nzqr--yjmo,6417
16
+ analyser_hj3415-2.7.1.dist-info/RECORD,,