netflypsb commited on
Commit
25508e9
·
verified ·
1 Parent(s): 5d4f453

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -1
app.py CHANGED
@@ -196,7 +196,7 @@ def plot_data(data):
196
  return fig
197
 
198
  def main():
199
- st.title("OMA Ally BBMA Trading Strategy Visualization")
200
 
201
  # Sidebar with dropdown menu for stock tickers
202
  st.sidebar.title("Select Ticker Symbol")
@@ -205,6 +205,17 @@ def main():
205
  ticker = st.sidebar.selectbox("Select Ticker Symbol", list(ticker_symbols.keys()))
206
  ticker_symbol = ticker_symbols[ticker]
207
 
 
 
 
 
 
 
 
 
 
 
 
208
  start_date = st.date_input("Select the start date")
209
  end_date = st.date_input("Select the end date")
210
 
 
196
  return fig
197
 
198
  def main():
199
+ st.title("OMA Ally BBMA Trading Signal")
200
 
201
  # Sidebar with dropdown menu for stock tickers
202
  st.sidebar.title("Select Ticker Symbol")
 
205
  ticker = st.sidebar.selectbox("Select Ticker Symbol", list(ticker_symbols.keys()))
206
  ticker_symbol = ticker_symbols[ticker]
207
 
208
+ st.markdown("""
209
+ ## App Explanation
210
+ This app visualizes the Oma Ally BBMA (Bollinger Bands and Moving Averages) trading strategy for the top 20 stocks from global stock exchanges. It helps identify potential buy and sell signals based on the trading strategy.
211
+
212
+ ## How to Use the App
213
+ 1. **Select Stock Exchange:** Use the dropdown menu in the sidebar to choose the stock exchange.
214
+ 2. **Select Ticker Symbol:** Choose the ticker symbol of the stock you want to analyze from the dropdown menu in the sidebar.
215
+ 3. **Select Date Range:** Pick the start and end dates for the period you want to analyze.
216
+ 4. **Analyze:** Click the 'Analyze' button to fetch the data, calculate indicators, and plot the results.
217
+ """)
218
+
219
  start_date = st.date_input("Select the start date")
220
  end_date = st.date_input("Select the end date")
221