analyser_hj3415 3.4.0__py3-none-any.whl → 3.4.1__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/analyser/eval/growth.py +1 -0
- analyser_hj3415/analyser/tsa/prophet.py +3 -1
- {analyser_hj3415-3.4.0.dist-info → analyser_hj3415-3.4.1.dist-info}/METADATA +1 -1
- {analyser_hj3415-3.4.0.dist-info → analyser_hj3415-3.4.1.dist-info}/RECORD +6 -6
- {analyser_hj3415-3.4.0.dist-info → analyser_hj3415-3.4.1.dist-info}/WHEEL +0 -0
- {analyser_hj3415-3.4.0.dist-info → analyser_hj3415-3.4.1.dist-info}/entry_points.txt +0 -0
@@ -1,5 +1,5 @@
|
|
1
1
|
from datetime import datetime, timedelta
|
2
|
-
from typing import Optional, Tuple
|
2
|
+
from typing import Optional, Tuple, List
|
3
3
|
import yfinance as yf
|
4
4
|
import pandas as pd
|
5
5
|
from prophet import Prophet
|
@@ -29,6 +29,7 @@ class ProphetData:
|
|
29
29
|
yhat: float
|
30
30
|
yhat_upper: float
|
31
31
|
yhat_lower: float
|
32
|
+
forecast_data: List[dict]
|
32
33
|
|
33
34
|
trading_action: str = ''
|
34
35
|
score: int = None
|
@@ -232,6 +233,7 @@ class MyProphet:
|
|
232
233
|
yhat=latest_yhat['yhat'],
|
233
234
|
yhat_lower=latest_yhat['yhat_lower'],
|
234
235
|
yhat_upper=latest_yhat['yhat_upper'],
|
236
|
+
forecast_data=self.df_forecast.to_dict(orient='records'),
|
235
237
|
)
|
236
238
|
|
237
239
|
data.trading_action, data.score = scoring(data.price, data.yhat_lower, data.yhat_upper)
|
@@ -5,19 +5,19 @@ analyser_hj3415/analyser/compile.py,sha256=wMTuVadcSODHjjTP5ma_GuygujqCeYDQkad2r
|
|
5
5
|
analyser_hj3415/analyser/eval/__init__.py,sha256=IP1d0Q3nOCAD3zK1qxrC685MkJQfUh-qaXc7xptTxk8,80
|
6
6
|
analyser_hj3415/analyser/eval/blue.py,sha256=p9_ddqLMJGq5HSn6NApuLhrX29qD--AASig9F71eb8I,10952
|
7
7
|
analyser_hj3415/analyser/eval/common.py,sha256=sNXapoofShA43ww_SLjXmIjkrAr1AhAcezdaN_X_3Us,11443
|
8
|
-
analyser_hj3415/analyser/eval/growth.py,sha256=
|
8
|
+
analyser_hj3415/analyser/eval/growth.py,sha256=sfJ7h06efrTfL4ylhUCV525IzUzilbun1ya9r5SVCtU,6526
|
9
9
|
analyser_hj3415/analyser/eval/mil.py,sha256=mFMiFCuCBvlQrhQcM5hMg8U4zF32TS1GnUmk8fPd950,15178
|
10
10
|
analyser_hj3415/analyser/eval/red.py,sha256=8aJPpiVzLOZtt6kILCzqcfL8BrEVgIld1iI3StGvg8A,12193
|
11
11
|
analyser_hj3415/analyser/tsa/__init__.py,sha256=pg20ZQRABedTdaIoOr5t043RNKtJ7ji_WmnZrD1IhPg,147
|
12
12
|
analyser_hj3415/analyser/tsa/common.py,sha256=OnsZ_cFYmNzmk0tV5qSqVW-5jJyrwMWHguWdS2Z6fvY,979
|
13
13
|
analyser_hj3415/analyser/tsa/lstm.py,sha256=P8peqg6ZUpCSNKupjFlyba3xbPZoYtpd2UihXib_4Do,28548
|
14
|
-
analyser_hj3415/analyser/tsa/prophet.py,sha256=
|
14
|
+
analyser_hj3415/analyser/tsa/prophet.py,sha256=U2d8-o8Mv5H5LCmX5Nr1_ZeBhyNuECqsOsO4dsUvWOc,14768
|
15
15
|
analyser_hj3415/workroom/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
16
16
|
analyser_hj3415/workroom/mysklearn.py,sha256=wJXKz5MqqTzADdG2mqRMMzc_G9RzwYjj5_j4gyOopxQ,2030
|
17
17
|
analyser_hj3415/workroom/mysklearn2.py,sha256=1lIy6EWEQHkOzDS-av8U0zQH6DuCLKWMI73dnJx5KRs,1495
|
18
18
|
analyser_hj3415/workroom/score.py,sha256=P6nHBJYmyhigGtT4qna4BmNtvt4B93b7SKyzdstJK24,17376
|
19
19
|
analyser_hj3415/workroom/trash.py,sha256=zF-W0piqkGr66UP6-iybo9EXh2gO0RP6R1FnIpsGkl8,12262
|
20
|
-
analyser_hj3415-3.4.
|
21
|
-
analyser_hj3415-3.4.
|
22
|
-
analyser_hj3415-3.4.
|
23
|
-
analyser_hj3415-3.4.
|
20
|
+
analyser_hj3415-3.4.1.dist-info/entry_points.txt,sha256=ZfjPnJuH8SzvhE9vftIPMBIofsc65IAWYOhqOC_L5ck,65
|
21
|
+
analyser_hj3415-3.4.1.dist-info/WHEEL,sha256=CpUCUxeHQbRN5UGRQHYRJorO5Af-Qy_fHMctcQ8DSGI,82
|
22
|
+
analyser_hj3415-3.4.1.dist-info/METADATA,sha256=DTGoL_-4sVPcmZQZV9TV5OBTnKDv1smq70zkZisKjmk,6777
|
23
|
+
analyser_hj3415-3.4.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|