AmirTrader commited on
Commit
a6513d3
·
1 Parent(s): 61c5904

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -50,7 +50,7 @@ def get_hvplot(ticker , startdate , enddate , interval,window,window2):
50
  # # Step 5: Overlay scatter plot and linear regression line
51
  # return (scatter_plot * line_plot).opts(width=800, height=600, show_grid=True, gridstyle={ 'grid_line_color': 'gray'})
52
  # grid_style = {'grid_line_color': 'black'}#, 'grid_line_width': 1.5, 'ygrid_bounds': (0.3, 0.7),'minor_xgrid_line_color': 'lightgray', 'xgrid_line_dash': [4, 4]}
53
- return (scatter_plot * line_plot *line_plot_SMA).opts(width=800, height=600, show_grid=True)
54
  def get_income_statement_df(ticker):
55
  yfobj = yf.Ticker(ticker)
56
  df= yfobj.financials.T
 
50
  # # Step 5: Overlay scatter plot and linear regression line
51
  # return (scatter_plot * line_plot).opts(width=800, height=600, show_grid=True, gridstyle={ 'grid_line_color': 'gray'})
52
  # grid_style = {'grid_line_color': 'black'}#, 'grid_line_width': 1.5, 'ygrid_bounds': (0.3, 0.7),'minor_xgrid_line_color': 'lightgray', 'xgrid_line_dash': [4, 4]}
53
+ return (scatter_plot * line_plot *line_plot_SMA *line_plot_SMA2).opts(width=800, height=600, show_grid=True)
54
  def get_income_statement_df(ticker):
55
  yfobj = yf.Ticker(ticker)
56
  df= yfobj.financials.T