eshan6704 commited on
Commit
d3504a5
·
verified ·
1 Parent(s): f791750

Update stock.py

Browse files
Files changed (1) hide show
  1. stock.py +1 -2
stock.py CHANGED
@@ -67,10 +67,9 @@ def fetch_intraday(symbol, indicators=None):
67
 
68
  if isinstance(df.columns, pd.MultiIndex):
69
  df.columns = df.columns.get_level_values(0)
70
-
71
  chart_html = build_chart(df, indicators=indicators)
72
  table_html = make_table(df.tail(50))
73
-
74
  return wrap_html(f"{chart_html}<h2>Last 50 Rows</h2>{table_html}",
75
  title=f"{symbol} Intraday")
76
 
 
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")
75