James McCool
commited on
Commit
·
42075ca
1
Parent(s):
7361afe
Update salary input fields in Manage Portfolio section to allow for a wider range of values, enhancing user flexibility in setting exposure parameters.
Browse files
app.py
CHANGED
|
@@ -2033,8 +2033,8 @@ if selected_tab == 'Manage Portfolio':
|
|
| 2033 |
with st.form(key='Exposures'):
|
| 2034 |
exposure_player = st.selectbox("Player", options=sorted(list(set(st.session_state['projections_df']['player_names'].unique()))), key='exposure_player')
|
| 2035 |
exposure_target = st.number_input("Target Exposure", value=.50, min_value=0.0, max_value=1.0, step=0.01)
|
| 2036 |
-
comp_salary_below = st.number_input("Comp Salary Below", value
|
| 2037 |
-
comp_salary_above = st.number_input("Comp Salary Above", value=
|
| 2038 |
if 'Stack' in st.session_state['working_frame'].columns:
|
| 2039 |
ignore_stacks = st.multiselect("Ignore Specific Stacks?", options=sorted(list(set(st.session_state['projections_df']['team'].unique()))), default=[])
|
| 2040 |
else:
|
|
|
|
| 2033 |
with st.form(key='Exposures'):
|
| 2034 |
exposure_player = st.selectbox("Player", options=sorted(list(set(st.session_state['projections_df']['player_names'].unique()))), key='exposure_player')
|
| 2035 |
exposure_target = st.number_input("Target Exposure", value=.50, min_value=0.0, max_value=1.0, step=0.01)
|
| 2036 |
+
comp_salary_below = st.number_input("Comp Salary Below", value=-5000, min_value=-5000, max_value=0, step=100)
|
| 2037 |
+
comp_salary_above = st.number_input("Comp Salary Above", value=5000, min_value=0, max_value=5000, step=100)
|
| 2038 |
if 'Stack' in st.session_state['working_frame'].columns:
|
| 2039 |
ignore_stacks = st.multiselect("Ignore Specific Stacks?", options=sorted(list(set(st.session_state['projections_df']['team'].unique()))), default=[])
|
| 2040 |
else:
|