Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -69,7 +69,6 @@ def calculate_volume_ratio(data: pd.DataFrame, percentile_threshold: float = 0.9
|
|
| 69 |
# Streamlit app
|
| 70 |
st.set_page_config(page_title="Unusual Volatility and Volume", layout="wide")
|
| 71 |
st.title('Unusual Volatility and Volume')
|
| 72 |
-
st.markdown("""
|
| 73 |
|
| 74 |
# Sidebar for method selection
|
| 75 |
selected = st.sidebar.radio("Select Analysis", ["Volatility Ratio", "Volume Ratio"])
|
|
@@ -118,7 +117,6 @@ with st.sidebar.expander(f"Parameters for {selected}", expanded=True):
|
|
| 118 |
|
| 119 |
data = st.session_state.data
|
| 120 |
|
| 121 |
-
|
| 122 |
# Display results based on the selected method
|
| 123 |
if selected == "Volatility Ratio":
|
| 124 |
st.markdown("### Volatility Ratio")
|
|
|
|
| 69 |
# Streamlit app
|
| 70 |
st.set_page_config(page_title="Unusual Volatility and Volume", layout="wide")
|
| 71 |
st.title('Unusual Volatility and Volume')
|
|
|
|
| 72 |
|
| 73 |
# Sidebar for method selection
|
| 74 |
selected = st.sidebar.radio("Select Analysis", ["Volatility Ratio", "Volume Ratio"])
|
|
|
|
| 117 |
|
| 118 |
data = st.session_state.data
|
| 119 |
|
|
|
|
| 120 |
# Display results based on the selected method
|
| 121 |
if selected == "Volatility Ratio":
|
| 122 |
st.markdown("### Volatility Ratio")
|