shreyashnadage commited on
Commit
3e3ccdc
1 Parent(s): 13c570c

Stock Analysis:
OHLC Plot
Chaikin, MACD indicator,
Candlestick Pattern recognition

Intraday Analysis:
Barrier Hit probability
VWAP analysis

Added requirements

--from requirements.txt removed version for all packages

Files changed (1) hide show
  1. main.py +3 -2
main.py CHANGED
@@ -95,7 +95,7 @@ with stock_tab:
95
  @st.cache
96
  def convert_df(df):
97
  # IMPORTANT: Cache the conversion to prevent computation on every rerun
98
- return df.to_csv().encode('utf-8')
99
 
100
  csv = convert_df(stock_data_df)
101
  st.download_button(
@@ -169,8 +169,9 @@ with stock_tab:
169
  help="Helpful in analyzing momentum of price.")
170
 
171
  momentum_plot_column = st.container()
172
- st.subheader("MACD Chart")
173
  with momentum_plot_column:
 
174
  fig_macd = go.Figure()
175
  fig_macd = make_subplots(rows=3, cols=1, shared_xaxes=True,
176
  vertical_spacing=0.01, row_heights=[0.5, 0.3, 0.3])
 
95
  @st.cache
96
  def convert_df(df):
97
  # IMPORTANT: Cache the conversion to prevent computation on every rerun
98
+ return df.to_csv(index=False).encode('utf-8')
99
 
100
  csv = convert_df(stock_data_df)
101
  st.download_button(
 
169
  help="Helpful in analyzing momentum of price.")
170
 
171
  momentum_plot_column = st.container()
172
+
173
  with momentum_plot_column:
174
+ st.subheader("MACD Chart")
175
  fig_macd = go.Figure()
176
  fig_macd = make_subplots(rows=3, cols=1, shared_xaxes=True,
177
  vertical_spacing=0.01, row_heights=[0.5, 0.3, 0.3])