From e827aa3dc8e60b269a800bfa9dd0a5c584cd97c2 Mon Sep 17 00:00:00 2001 From: cuttlas90 Date: Wed, 24 Jul 2024 12:35:19 +0330 Subject: [PATCH] del write component --- pages/helper/ta_metrics.py | 1 - 1 file changed, 1 deletion(-) diff --git a/pages/helper/ta_metrics.py b/pages/helper/ta_metrics.py index bda4bbb..16ba485 100644 --- a/pages/helper/ta_metrics.py +++ b/pages/helper/ta_metrics.py @@ -143,7 +143,6 @@ def add_ta_metrics(stock_data_history, data,metric_label, col, place, num, ind): elif ind == "UO": smas = TA.UO(stock_data_history) sma_df = pd.DataFrame(smas) - st.write(sma_df.iloc[-1][col]) place.metric(label=metric_label, value = int(sma_df.iloc[-1][col]), delta = int(sma_df.iloc[-1][col]-sma_df.iloc[-2][col])) _update_guage(num, sma_df.iloc[-1][col], stock_data_history.iloc[-1]['close'], ind) return num