analyser_hj3415 4.0.2__py3-none-any.whl → 4.0.3__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.
@@ -344,7 +344,7 @@ class MyProphet:
344
344
  return False
345
345
 
346
346
  @staticmethod
347
- def bulk_generate_latest_data(tickers: List[str], refresh: bool) -> Dict[str, ProphetLatestData]:
347
+ def bulk_get_latest_data(tickers: List[str], refresh: bool) -> Dict[str, ProphetLatestData]:
348
348
  # --- (1) 파이프라인 GET ---
349
349
  pipe = myredis.Base.redis_client.pipeline()
350
350
  redis_keys = [f"{ticker}_{MyProphet.REDIS_LATEST_DATA_SUFFIX}" for ticker in tickers]
@@ -428,7 +428,7 @@ class CorpProphet(MyProphet):
428
428
  mylogger.info("**** Start prophet ranking ... ****")
429
429
 
430
430
  data = {}
431
- for ticker, latest_data in MyProphet.bulk_generate_latest_data(
431
+ for ticker, latest_data in MyProphet.bulk_get_latest_data(
432
432
  [CorpProphet.code_to_ticker(code) for code in myredis.Corps.list_all_codes()], refresh=refresh).items():
433
433
  code = CorpProphet.ticker_to_code(ticker)
434
434
  score = latest_data.score
@@ -446,8 +446,8 @@ class CorpProphet(MyProphet):
446
446
  raise ValueError("top 인자는 'all' 이나 int형 이어야 합니다.")
447
447
 
448
448
  @staticmethod
449
- def bulk_generate_latest_data(codes: List[str], refresh: bool) -> Dict[str, ProphetLatestData]:
450
- return MyProphet.bulk_generate_latest_data([CorpProphet.code_to_ticker(code) for code in codes], refresh=refresh)
449
+ def bulk_get_latest_data(codes: List[str], refresh: bool) -> Dict[str, ProphetLatestData]:
450
+ return MyProphet.bulk_get_latest_data([CorpProphet.code_to_ticker(code) for code in codes], refresh=refresh)
451
451
 
452
452
 
453
453
  class MIProphet(MyProphet):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: analyser_hj3415
3
- Version: 4.0.2
3
+ Version: 4.0.3
4
4
  Summary: Stock analyser and database processing programs
5
5
  Requires-Python: >=3.6
6
6
  Description-Content-Type: text/markdown
@@ -10,8 +10,8 @@ analyser_hj3415/analyser/eval/red.py,sha256=b-Odud8pxQIO2NjI7m3HbK4FOND5WhaoYV94
10
10
  analyser_hj3415/analyser/tsa/__init__.py,sha256=pg20ZQRABedTdaIoOr5t043RNKtJ7ji_WmnZrD1IhPg,147
11
11
  analyser_hj3415/analyser/tsa/common.py,sha256=OnsZ_cFYmNzmk0tV5qSqVW-5jJyrwMWHguWdS2Z6fvY,979
12
12
  analyser_hj3415/analyser/tsa/lstm.py,sha256=55MV62jSPqdOw1zAk1zB7LacNDesPsrmcUwHqaCz6Gs,27974
13
- analyser_hj3415/analyser/tsa/prophet.py,sha256=dQ0g1pEv-ELugsg586w2yH0WJQQqr1zV_Wo7UXG_3WE,18337
14
- analyser_hj3415-4.0.2.dist-info/entry_points.txt,sha256=ZfjPnJuH8SzvhE9vftIPMBIofsc65IAWYOhqOC_L5ck,65
15
- analyser_hj3415-4.0.2.dist-info/WHEEL,sha256=CpUCUxeHQbRN5UGRQHYRJorO5Af-Qy_fHMctcQ8DSGI,82
16
- analyser_hj3415-4.0.2.dist-info/METADATA,sha256=Fk1VW_PXcF-9FA5YFahSiHC0164i0o0ExB5zrF19des,6777
17
- analyser_hj3415-4.0.2.dist-info/RECORD,,
13
+ analyser_hj3415/analyser/tsa/prophet.py,sha256=M5Jl4xOOKAWrBnbuL5eGZEev5Q1l1t4teUrHzzZvREw,18317
14
+ analyser_hj3415-4.0.3.dist-info/entry_points.txt,sha256=ZfjPnJuH8SzvhE9vftIPMBIofsc65IAWYOhqOC_L5ck,65
15
+ analyser_hj3415-4.0.3.dist-info/WHEEL,sha256=CpUCUxeHQbRN5UGRQHYRJorO5Af-Qy_fHMctcQ8DSGI,82
16
+ analyser_hj3415-4.0.3.dist-info/METADATA,sha256=5APcmvLp0k6vpxelSe12qflJCJ6bzCKP8spcdIxgYdg,6777
17
+ analyser_hj3415-4.0.3.dist-info/RECORD,,