alexaxbreadbytes commited on
Commit
5c57ff2
·
1 Parent(s): f0bdde3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -706,8 +706,8 @@ def runapp() -> None:
706
  .apply(coding, axis=1)\
707
  .applymap(my_style,subset=['Net P/L'])\
708
  .applymap(my_style,subset=['P/L %']), use_container_width=True)
709
- new_title = '<div style="text-align: right;"><span style="background-color:lightgrey;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span> Not Live Traded</div>'
710
- st.markdown(new_title, unsafe_allow_html=True)
711
  else:
712
  st.dataframe(grouped_df.style.format({'Entry Date':'{:%m-%d-%Y %H:%M:%S}','Exit Date':'{:%m-%d-%Y %H:%M:%S}','Avg. Buy Price': '${:.2f}', 'Sell Price': '${:.2f}', 'Net P/L':'${:.2f}', 'P/L %':'{:.2f}%'})\
713
  .applymap(my_style,subset=['Net P/L'])\
 
706
  .apply(coding, axis=1)\
707
  .applymap(my_style,subset=['Net P/L'])\
708
  .applymap(my_style,subset=['P/L %']), use_container_width=True)
709
+ # new_title = '<div style="text-align: right;"><span style="background-color:lightgrey;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span> Not Live Traded</div>'
710
+ # st.markdown(new_title, unsafe_allow_html=True)
711
  else:
712
  st.dataframe(grouped_df.style.format({'Entry Date':'{:%m-%d-%Y %H:%M:%S}','Exit Date':'{:%m-%d-%Y %H:%M:%S}','Avg. Buy Price': '${:.2f}', 'Sell Price': '${:.2f}', 'Net P/L':'${:.2f}', 'P/L %':'{:.2f}%'})\
713
  .applymap(my_style,subset=['Net P/L'])\