QuantumLearner commited on
Commit
9fee7b6
·
verified ·
1 Parent(s): 33f7b6e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -153,7 +153,7 @@ if st.sidebar.button('Run Analysis'):
153
  width=1200, # Set desired width
154
  height=600 # Set desired height
155
  )
156
- st.plotly_chart(fig1)
157
 
158
  # Plot Support and Resistance Levels using Rolling Midpoint Range
159
  st.write("### Rolling Midpoint Range")
@@ -178,7 +178,7 @@ if st.sidebar.button('Run Analysis'):
178
  width=1200, # Set desired width
179
  height=600 # Set desired height
180
  )
181
- st.plotly_chart(fig2)
182
 
183
  # Plot Swing Highs and Lows
184
  st.write("### Swing Highs and Lows")
@@ -200,7 +200,7 @@ if st.sidebar.button('Run Analysis'):
200
  width=1200, # Set desired width
201
  height=600 # Set desired height
202
  )
203
- st.plotly_chart(fig3)
204
 
205
  # Plot Fibonacci Retracement Levels
206
  st.write("### Fibonacci Retracement Levels")
@@ -222,7 +222,7 @@ if st.sidebar.button('Run Analysis'):
222
  width=1200, # Set desired width
223
  height=600 # Set desired height
224
  )
225
- st.plotly_chart(fig4)
226
 
227
  # Plot Trendlines
228
  st.write("### Trendlines with Regression Analysis")
@@ -257,7 +257,7 @@ if st.sidebar.button('Run Analysis'):
257
  width=1200, # Set desired width
258
  height=600 # Set desired height
259
  )
260
- st.plotly_chart(fig5)
261
 
262
  # Plot Volume Profile
263
  st.write("### Volume Profile")
@@ -313,7 +313,7 @@ if st.sidebar.button('Run Analysis'):
313
  width=1200, # Set desired width
314
  height=600 # Set desired height
315
  )
316
- st.plotly_chart(fig7)
317
 
318
  else:
319
  st.write("No data found for the given ticker and date range.")
 
153
  width=1200, # Set desired width
154
  height=600 # Set desired height
155
  )
156
+ st.plotly_chart(fig1, use_container_width=True)
157
 
158
  # Plot Support and Resistance Levels using Rolling Midpoint Range
159
  st.write("### Rolling Midpoint Range")
 
178
  width=1200, # Set desired width
179
  height=600 # Set desired height
180
  )
181
+ st.plotly_chart(fig2, use_container_width=True)
182
 
183
  # Plot Swing Highs and Lows
184
  st.write("### Swing Highs and Lows")
 
200
  width=1200, # Set desired width
201
  height=600 # Set desired height
202
  )
203
+ st.plotly_chart(fig3, use_container_width=True)
204
 
205
  # Plot Fibonacci Retracement Levels
206
  st.write("### Fibonacci Retracement Levels")
 
222
  width=1200, # Set desired width
223
  height=600 # Set desired height
224
  )
225
+ st.plotly_chart(fig4, use_container_width=True)
226
 
227
  # Plot Trendlines
228
  st.write("### Trendlines with Regression Analysis")
 
257
  width=1200, # Set desired width
258
  height=600 # Set desired height
259
  )
260
+ st.plotly_chart(fig5, use_container_width=True)
261
 
262
  # Plot Volume Profile
263
  st.write("### Volume Profile")
 
313
  width=1200, # Set desired width
314
  height=600 # Set desired height
315
  )
316
+ st.plotly_chart(fig7, use_container_width=True)
317
 
318
  else:
319
  st.write("No data found for the given ticker and date range.")