From 790d4f1c83e8c8f22b618c89529e0cb967217c38 Mon Sep 17 00:00:00 2001 From: ILSEON-RYU Date: Thu, 30 Apr 2026 00:27:27 +0900 Subject: [PATCH] =?UTF-8?q?=EC=84=9C=EB=B2=84=20=EC=B5=9C=EC=8B=A0?= =?UTF-8?q?=EB=B2=84=EC=A0=84=20=EB=8F=99=EA=B8=B0=ED=99=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app_streamlit.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app_streamlit.py b/app_streamlit.py index 7a86f9a..82d320e 100644 --- a/app_streamlit.py +++ b/app_streamlit.py @@ -450,7 +450,7 @@ def build_chart(symbol, interval, candle_limit=200): fig.add_hline(y=1.0, line=dict(color=COLORS["grid"], width=0.8, dash="dash"), row=5, col=1) fig.add_trace(go.Scatter(x=t, y=df["RSI"], line=dict(color=COLORS["blue"], width=1.5), name="RSI(14)"), row=6, col=1) - fig.add_trace(go.Scatter(x=t, y=df["StochRSI_k"],line=dict(color=COLORS["yellow"], width=1.2, dash="dot"), name="StochRSI K"), row=6, col=1) + fig.add_trace(go.Scatter(x=t, y=df["StochRSI_k"],line=dict(color=COLORS["red"], width=1.5), name="StochRSI K"), row=6, col=1) fig.add_trace(go.Scatter(x=t, y=df["StochRSI_d"],line=dict(color=COLORS["orange"], width=1.0, dash="dot"), name="StochRSI D"), row=6, col=1) for lvl in [20, 50, 80]: fig.add_hline(y=lvl, line=dict(color=COLORS["grid"], width=0.6, dash="dash"), row=6, col=1) @@ -581,6 +581,8 @@ def main(): with col4: refresh_sec = st.number_input("๊ฐฑ์‹ (์ดˆ)", min_value=10, max_value=300, value=30) with col5: + now_kst = datetime.now(timezone.utc) + KST + st.markdown(f"
๐Ÿ• ๋งˆ์ง€๋ง‰ ๊ฐฑ์‹ : {now_kst.strftime('%Y-%m-%d %H:%M:%S')} KST
", unsafe_allow_html=True) col5a, col5b, col5c, col5d = st.columns(4) with col5a: refresh_btn = st.button("๐Ÿ”„ ์ƒˆ๋กœ๊ณ ์นจ") @@ -623,7 +625,7 @@ def main(): "modeBarButtonsToRemove": ["lasso2d", "select2d"], }) - st.caption(f"๋งˆ์ง€๋ง‰ ๊ฐฑ์‹ : {datetime.now().strftime('%H:%M:%S')}") + except Exception as e: st.error(f"๋ฐ์ดํ„ฐ ๋กœ๋“œ ์˜ค๋ฅ˜: {e}")