갱신시간 KST 우측상단 고정 + StochRSI K 빨간실선
This commit is contained in:
+3
-1
@@ -581,6 +581,8 @@ def main():
|
|||||||
with col4:
|
with col4:
|
||||||
refresh_sec = st.number_input("갱신(초)", min_value=10, max_value=300, value=30)
|
refresh_sec = st.number_input("갱신(초)", min_value=10, max_value=300, value=30)
|
||||||
with col5:
|
with col5:
|
||||||
|
now_kst = datetime.now(timezone.utc) + KST
|
||||||
|
st.markdown(f"<div style='text-align:right; font-size:12px; color:#888; margin-bottom:2px;'>🕐 마지막 갱신: {now_kst.strftime('%Y-%m-%d %H:%M:%S')} KST</div>", unsafe_allow_html=True)
|
||||||
col5a, col5b, col5c, col5d = st.columns(4)
|
col5a, col5b, col5c, col5d = st.columns(4)
|
||||||
with col5a:
|
with col5a:
|
||||||
refresh_btn = st.button("🔄 새로고침")
|
refresh_btn = st.button("🔄 새로고침")
|
||||||
@@ -623,7 +625,7 @@ def main():
|
|||||||
"modeBarButtonsToRemove": ["lasso2d", "select2d"],
|
"modeBarButtonsToRemove": ["lasso2d", "select2d"],
|
||||||
})
|
})
|
||||||
|
|
||||||
st.caption(f"마지막 갱신: {datetime.now().strftime('%H:%M:%S')}")
|
|
||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
st.error(f"데이터 로드 오류: {e}")
|
st.error(f"데이터 로드 오류: {e}")
|
||||||
|
|||||||
Reference in New Issue
Block a user