Spaces:
Sleeping
Sleeping
Update stock.py
Browse files
stock.py
CHANGED
|
@@ -67,8 +67,8 @@ def fetch_intraday(symbol, indicators=None):
|
|
| 67 |
|
| 68 |
if isinstance(df.columns, pd.MultiIndex):
|
| 69 |
df.columns = df.columns.get_level_values(0)
|
| 70 |
-
print(df)
|
| 71 |
-
chart_html = build_chart(df, indicators=indicators)
|
| 72 |
table_html = make_table(df.tail(50))
|
| 73 |
return wrap_html(f"{chart_html}<h2>Last 50 Rows</h2>{table_html}",
|
| 74 |
title=f"{symbol} Intraday")
|
|
|
|
| 67 |
|
| 68 |
if isinstance(df.columns, pd.MultiIndex):
|
| 69 |
df.columns = df.columns.get_level_values(0)
|
| 70 |
+
#print(df)
|
| 71 |
+
#chart_html = build_chart(df, indicators=indicators)
|
| 72 |
table_html = make_table(df.tail(50))
|
| 73 |
return wrap_html(f"{chart_html}<h2>Last 50 Rows</h2>{table_html}",
|
| 74 |
title=f"{symbol} Intraday")
|