From 536622d1ca2c8e4a8d5e0206cc416d0f2316bbe9 Mon Sep 17 00:00:00 2001 From: "Bobby (aider)" Date: Mon, 10 Feb 2025 19:05:41 -0800 Subject: [PATCH] fix: Add shares input prompt for sell order in trading journal --- src/trading/journal.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/trading/journal.py b/src/trading/journal.py index 3aaac27..0ebd772 100644 --- a/src/trading/journal.py +++ b/src/trading/journal.py @@ -545,6 +545,10 @@ def journal_menu(): continue if direction == "2": # Sell order + shares = get_user_input("Enter number of shares to sell:", int) + if shares is None: + continue + exit_price = get_user_input("Enter exit price:", float) if exit_price is None: continue