Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -49,10 +49,10 @@ with st.sidebar.expander("Parameters", expanded=True):
|
|
| 49 |
start_date = st.date_input("Start transaction date", value=datetime.date(2025, 1, 1))
|
| 50 |
top_n = st.slider("Top N stocks", min_value=1, max_value=20, value=10, help="Select the top N stock by trade amount and volume.")
|
| 51 |
|
| 52 |
-
run_button = st.sidebar.button("Run")
|
| 53 |
|
| 54 |
st.title("Congress Trades Analysis")
|
| 55 |
-
st.write("Analyze the latest trades reported by members of Congress.From the Senate and from the House.")
|
| 56 |
|
| 57 |
if run_button:
|
| 58 |
senate_data = load_data(SENATE_BASE_URL)
|
|
|
|
| 49 |
start_date = st.date_input("Start transaction date", value=datetime.date(2025, 1, 1))
|
| 50 |
top_n = st.slider("Top N stocks", min_value=1, max_value=20, value=10, help="Select the top N stock by trade amount and volume.")
|
| 51 |
|
| 52 |
+
run_button = st.sidebar.button("Run Analysis")
|
| 53 |
|
| 54 |
st.title("Congress Trades Analysis")
|
| 55 |
+
st.write("Analyze the latest trades reported by members of Congress. From the Senate and from the House.")
|
| 56 |
|
| 57 |
if run_button:
|
| 58 |
senate_data = load_data(SENATE_BASE_URL)
|