fix: Correct trade type display in trading journal

This commit is contained in:
Bobby (aider) 2025-02-13 08:35:40 -08:00
parent 9642d78942
commit 3f0b10ed41

View File

@ -314,6 +314,6 @@ def trading_journal_page():
st.text(f"Strategy: {trade['strategy']}")
if trade.get('notes'):
st.text(f"Notes: {trade['notes']}")
st.text(f"Type: {'Sell Order' if is_sell else 'Buy/Exit'}")
st.text(f"Type: {'Sell Order' if is_sell else 'Buy'}")
else:
st.info("No trade history found")