Skip to content

Commit

Permalink
Merge pull request #23 from viventriglia/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
viventriglia authored Jan 29, 2024
2 parents 2372864 + 0a95a87 commit e7c876b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,6 @@ dmypy.json
# Cython debug symbols
cython_debug/

*.xlsx
!demo.xlsx
!template.xlsx
!data/in/demo.xlsx
!data/in/template.xlsx
data/in/*.pickle
Binary file modified data/in/demo.xlsx
Binary file not shown.
3 changes: 2 additions & 1 deletion src/pages/2_👩‍🔬_Risk_and_Return.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,11 @@
st.markdown("<br>", unsafe_allow_html=True)
col_l_mid, col_c_mid, col_r_mid = st.columns([0.3, 1, 0.3], gap="small")
first_transaction = df_transactions["transaction_date"].sort_values().values[0]

first_day, last_day = col_c_mid.select_slider(
"Select a time slice:",
options=df_common_history.index,
value=[first_transaction, df_common_history.index[-1]],
value=[max(df_common_history.index[0], first_transaction), df_common_history.index[-1]],
format_func=lambda value: str(value)[:10],
label_visibility="collapsed",
)
Expand Down

0 comments on commit e7c876b

Please sign in to comment.