analyser_hj3415 2.6.1__py2.py3-none-any.whl → 2.6.2__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
analyser_hj3415/cli.py CHANGED
@@ -83,7 +83,7 @@ def analyser_manager():
83
83
  if args.type == 'red':
84
84
  if args.command == 'score':
85
85
  # 기대 수익률과 refresh 값 처리
86
- expect_earn = args.expect_earn if args.expect_earn is not None else expect_earn_from_setting
86
+ expect_earn = float(args.expect_earn if args.expect_earn is not None else expect_earn_from_setting)
87
87
  refresh = args.refresh if args.refresh else False
88
88
 
89
89
  # print(expect_earn, refresh)
@@ -100,8 +100,9 @@ def analyser_manager():
100
100
 
101
101
  elif args.command == 'ranking':
102
102
  # 기대 수익률과 refresh 값 처리
103
- expect_earn = args.expect_earn if args.expect_earn is not None else expect_earn_from_setting
103
+ expect_earn = float(args.expect_earn if args.expect_earn is not None else expect_earn_from_setting)
104
104
  refresh = args.refresh if args.refresh else False
105
+ print(expect_earn, refresh)
105
106
 
106
107
  # red_ranking 함수 호출
107
108
  result = red_ranking(expect_earn, refresh)
@@ -112,7 +113,7 @@ def analyser_manager():
112
113
  elif args.type == 'mil':
113
114
  if args.command == 'score':
114
115
  # 기대 수익률과 refresh 값 처리
115
- expect_earn = args.expect_earn if args.expect_earn is not None else expect_earn_from_setting
116
+ expect_earn = float(args.expect_earn if args.expect_earn is not None else expect_earn_from_setting)
116
117
  refresh = args.refresh if args.refresh else False
117
118
 
118
119
  if args.code == 'all':
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: analyser_hj3415
3
- Version: 2.6.1
3
+ Version: 2.6.2
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,14 +1,14 @@
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=Pi5vywcMqqxyvT7uPfCloVvr9NMCQpiHgxB_GACWLJ4,7293
3
+ analyser_hj3415/cli.py,sha256=WORsQ4va2__sSMVlweUEq-rpTqvwsAiIGqFk8Xdaw8I,7354
4
4
  analyser_hj3415/myredis.py,sha256=PUFMgLUToNHcfBjO272B_hy0xh8FDNm3SfcKsUthlWs,9640
5
5
  analyser_hj3415/tools.py,sha256=m0zs-nFfpxuLaDh22EwsYJSgBirfSVmge8a6fvxRq60,13753
6
6
  analyser_hj3415/trash.py,sha256=zF-W0piqkGr66UP6-iybo9EXh2gO0RP6R1FnIpsGkl8,12262
7
7
  analyser_hj3415/analysers/eval.py,sha256=qqGTi8YUF6SYfopGM3VaPVYjyC_hVTLlmKkVA2Zz3kg,13251
8
8
  analyser_hj3415/analysers/report.py,sha256=yY-AeDHOqDPrm4lpvZv3NPTJK1Z7lKsjoO5ck8AP6u4,9007
9
9
  analyser_hj3415/analysers/score.py,sha256=narJQZFnBM4srV32TpmrOdj4VFskpl0ePymixRxp3Sk,15901
10
- analyser_hj3415-2.6.1.dist-info/entry_points.txt,sha256=ZfjPnJuH8SzvhE9vftIPMBIofsc65IAWYOhqOC_L5ck,65
11
- analyser_hj3415-2.6.1.dist-info/LICENSE,sha256=QVKTp0dTnB5xG8RLgG17LwSWCKNEzYoVVM6KjoCPKc0,1079
12
- analyser_hj3415-2.6.1.dist-info/WHEEL,sha256=Sgu64hAMa6g5FdzHxXv9Xdse9yxpGGMeagVtPMWpJQY,99
13
- analyser_hj3415-2.6.1.dist-info/METADATA,sha256=Nvn_wyrO_CKNLBQ3cAsktFHE7HQ6F2C8gXnB2nrzQ18,6417
14
- analyser_hj3415-2.6.1.dist-info/RECORD,,
10
+ analyser_hj3415-2.6.2.dist-info/entry_points.txt,sha256=ZfjPnJuH8SzvhE9vftIPMBIofsc65IAWYOhqOC_L5ck,65
11
+ analyser_hj3415-2.6.2.dist-info/LICENSE,sha256=QVKTp0dTnB5xG8RLgG17LwSWCKNEzYoVVM6KjoCPKc0,1079
12
+ analyser_hj3415-2.6.2.dist-info/WHEEL,sha256=Sgu64hAMa6g5FdzHxXv9Xdse9yxpGGMeagVtPMWpJQY,99
13
+ analyser_hj3415-2.6.2.dist-info/METADATA,sha256=owsOrotVkxLC_-mdWbNIYBGUUXmwThjKyWslp9TKbg8,6417
14
+ analyser_hj3415-2.6.2.dist-info/RECORD,,