analyser_hj3415 2.7.2__tar.gz → 2.7.4__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {analyser_hj3415-2.7.2 → analyser_hj3415-2.7.4}/PKG-INFO +1 -1
- {analyser_hj3415-2.7.2 → analyser_hj3415-2.7.4}/analyser_hj3415/cli.py +4 -1
- {analyser_hj3415-2.7.2 → analyser_hj3415-2.7.4}/analyser_hj3415/eval.py +6 -2
- {analyser_hj3415-2.7.2 → analyser_hj3415-2.7.4}/pyproject.toml +1 -1
- {analyser_hj3415-2.7.2 → analyser_hj3415-2.7.4}/.DS_Store +0 -0
- {analyser_hj3415-2.7.2 → analyser_hj3415-2.7.4}/.gitattributes +0 -0
- {analyser_hj3415-2.7.2 → analyser_hj3415-2.7.4}/.gitignore +0 -0
- {analyser_hj3415-2.7.2 → analyser_hj3415-2.7.4}/.idea/.gitignore +0 -0
- {analyser_hj3415-2.7.2 → analyser_hj3415-2.7.4}/.idea/analyser-hj3415.iml +0 -0
- {analyser_hj3415-2.7.2 → analyser_hj3415-2.7.4}/.idea/inspectionProfiles/profiles_settings.xml +0 -0
- {analyser_hj3415-2.7.2 → analyser_hj3415-2.7.4}/.idea/misc.xml +0 -0
- {analyser_hj3415-2.7.2 → analyser_hj3415-2.7.4}/.idea/modules.xml +0 -0
- {analyser_hj3415-2.7.2 → analyser_hj3415-2.7.4}/.idea/vcs.xml +0 -0
- {analyser_hj3415-2.7.2 → analyser_hj3415-2.7.4}/LICENSE +0 -0
- {analyser_hj3415-2.7.2 → analyser_hj3415-2.7.4}/README.md +0 -0
- {analyser_hj3415-2.7.2 → analyser_hj3415-2.7.4}/analyser_hj3415/.DS_Store +0 -0
- {analyser_hj3415-2.7.2 → analyser_hj3415-2.7.4}/analyser_hj3415/__init__.py +0 -0
- {analyser_hj3415-2.7.2 → analyser_hj3415-2.7.4}/analyser_hj3415/workroom/__init__.py +0 -0
- {analyser_hj3415-2.7.2 → analyser_hj3415-2.7.4}/analyser_hj3415/workroom/lstm.py +0 -0
- {analyser_hj3415-2.7.2 → analyser_hj3415-2.7.4}/analyser_hj3415/workroom/myprophet.py +0 -0
- {analyser_hj3415-2.7.2 → analyser_hj3415-2.7.4}/analyser_hj3415/workroom/mysklearn.py +0 -0
- {analyser_hj3415-2.7.2 → analyser_hj3415-2.7.4}/analyser_hj3415/workroom/mysklearn2.py +0 -0
- {analyser_hj3415-2.7.2 → analyser_hj3415-2.7.4}/analyser_hj3415/workroom/score.py +0 -0
- {analyser_hj3415-2.7.2 → analyser_hj3415-2.7.4}/analyser_hj3415/workroom/trash.py +0 -0
@@ -140,7 +140,10 @@ def analyser_manager():
|
|
140
140
|
noti.telegram_to('manager', f"오늘의 Red({args.code})를 레디스캐시에 저장했습니다.(유효 12시간)")
|
141
141
|
|
142
142
|
elif args.command == 'ranking':
|
143
|
-
|
143
|
+
if args.refresh:
|
144
|
+
result = eval.Red.ranking(expect_earn=args.expect_earn, refresh=True)
|
145
|
+
else:
|
146
|
+
result = eval.Red.ranking(expect_earn=args.expect_earn, refresh=False)
|
144
147
|
print(result)
|
145
148
|
if args.noti:
|
146
149
|
noti.telegram_to('manager', "오늘의 red ranking을 레디스캐시에 저장했습니다.(유효 12시간)")
|
@@ -8,7 +8,7 @@ from analyser_hj3415.cli import AnalyserSettingsManager
|
|
8
8
|
from collections import OrderedDict
|
9
9
|
import logging
|
10
10
|
|
11
|
-
analyser_logger = helpers.setup_logger('analyser_logger', logging.
|
11
|
+
analyser_logger = helpers.setup_logger('analyser_logger', logging.WARNING)
|
12
12
|
|
13
13
|
|
14
14
|
class Tools:
|
@@ -331,6 +331,7 @@ class Red:
|
|
331
331
|
"""
|
332
332
|
redis_name = f"{self.code}_red"
|
333
333
|
analyser_logger.info(f"{self} RedData를 레디스캐시에서 가져오거나 새로 생성합니다.. refresh : {refresh}")
|
334
|
+
print(f"{self} redisname: '{redis_name}' / expect_earn: {Red.expect_earn} / refresh : {refresh}")
|
334
335
|
|
335
336
|
def fetch_generate_data(refresh_in: bool) -> dict:
|
336
337
|
return asdict(self._generate_data(refresh_in))
|
@@ -359,7 +360,7 @@ class Red:
|
|
359
360
|
refresh = True
|
360
361
|
|
361
362
|
redis_name = 'red_ranking'
|
362
|
-
|
363
|
+
print(f"redisname: '{redis_name}' / expect_earn: {expect_earn} / refresh : {refresh}")
|
363
364
|
|
364
365
|
def fetch_ranking(expect_earn_in: float, refresh_in: bool) -> dict:
|
365
366
|
data = {}
|
@@ -635,6 +636,7 @@ class Mil:
|
|
635
636
|
"""
|
636
637
|
redis_name = f"{self.code}_mil"
|
637
638
|
analyser_logger.info(f"{self} MilData를 레디스캐시에서 가져오거나 새로 생성합니다.. refresh : {refresh}")
|
639
|
+
print(f"{self} redisname: '{redis_name}' / refresh : {refresh}")
|
638
640
|
|
639
641
|
def fetch_generate_data(refresh_in: bool) -> dict:
|
640
642
|
return asdict(self._generate_data(refresh_in))
|
@@ -806,6 +808,7 @@ class Blue:
|
|
806
808
|
"""
|
807
809
|
redis_name = f"{self.code}_blue"
|
808
810
|
analyser_logger.info(f"{self} BlueData를 레디스캐시에서 가져오거나 새로 생성합니다.. refresh : {refresh}")
|
811
|
+
print(f"{self} redisname: '{redis_name}' / refresh : {refresh}")
|
809
812
|
|
810
813
|
def fetch_generate_data(refresh_in: bool) -> dict:
|
811
814
|
return asdict(self._generate_data(refresh_in))
|
@@ -904,6 +907,7 @@ class Growth:
|
|
904
907
|
"""
|
905
908
|
redis_name = f"{self.code}_growth"
|
906
909
|
analyser_logger.info(f"{self} GrowthData를 레디스캐시에서 가져오거나 새로 생성합니다.. refresh : {refresh}")
|
910
|
+
print(f"{self} redisname: '{redis_name}' / refresh : {refresh}")
|
907
911
|
|
908
912
|
def fetch_generate_data(refresh_in: bool) -> dict:
|
909
913
|
return asdict(self._generate_data(refresh_in))
|
@@ -4,7 +4,7 @@ build-backend = "flit_core.buildapi"
|
|
4
4
|
|
5
5
|
[project]
|
6
6
|
name = "analyser_hj3415"
|
7
|
-
version = "2.7.
|
7
|
+
version = "2.7.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"
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{analyser_hj3415-2.7.2 → analyser_hj3415-2.7.4}/.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
|
File without changes
|