Skip to content

Commit 8fd05b8

Browse files
committed
COMMENT : Added footnote
1 parent b7ef4ab commit 8fd05b8

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/sentiment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Sentiment Pipeline
22

33
on:
44
schedule:
5-
- cron: "0 */6 * * *" # every 3 hours
5+
- cron: "0 */12 * * *" # every 12 hours utc
66
workflow_dispatch: # 수동 실행 버튼
77

88
jobs:

upstock/nodes/predict.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
"""
22
Predict node
33
4-
fetches news, runs sentiment model, uploads results to supabase
4+
part 1 : fetches news, runs sentiment model, uploads results to supabase
5+
part 2 : fetches stock price, run sentiment algorithm, uploads result to supabase
56
"""
67

78
import hashlib # hash
@@ -11,7 +12,6 @@
1112

1213
from tensorflow.keras.preprocessing.sequence import pad_sequences
1314
from finvizfinance.news import News
14-
from zoneinfo import ZoneInfo
1515

1616
from upstock.config import paths, supabase
1717
from upstock.models.artifacts import load_model_safe, load_pickle
@@ -123,7 +123,8 @@ def run_predict():
123123

124124
else:
125125
logger.warning('upload data not exist')
126-
126+
127+
# market sentiment part
127128
spy = fetch_prices('SPY')
128129
vix = fetch_prices('^VIX')
129130

0 commit comments

Comments
 (0)