eshan6704 commited on
Commit
b8a5df3
·
verified ·
1 Parent(s): cb01b9e

Update daily.py

Browse files
Files changed (1) hide show
  1. daily.py +2 -2
daily.py CHANGED
@@ -1,6 +1,6 @@
1
  # daily.py
 
2
  import yfinance as yf
3
- import pandas as pd
4
  from common import wrap_plotly_html, make_table
5
  from indicater import calculate_indicators
6
  from chart_builder import build_chart
@@ -8,7 +8,7 @@ from chart_builder import build_chart
8
  def fetch_daily(symbol):
9
  """
10
  Fetch daily OHLC + volume data for the past 1 year and render as HTML chart + table
11
- with selectable indicators (via script in chart_builder).
12
  """
13
  yfsymbol = f"{symbol}.NS"
14
  try:
 
1
  # daily.py
2
+ import pandas as pd # <-- required
3
  import yfinance as yf
 
4
  from common import wrap_plotly_html, make_table
5
  from indicater import calculate_indicators
6
  from chart_builder import build_chart
 
8
  def fetch_daily(symbol):
9
  """
10
  Fetch daily OHLC + volume data for the past 1 year and render as HTML chart + table
11
+ with selectable indicators.
12
  """
13
  yfsymbol = f"{symbol}.NS"
14
  try: