diff --git a/print_tape.py b/print_tape.py index f3aa2d6..42d784e 100644 --- a/print_tape.py +++ b/print_tape.py @@ -25,14 +25,14 @@ def print_trade(p, symbol, lots, price): else: price_str = f"{price:.2f}" - # Symbol characters at the top (left-aligned) + # Symbol characters at the top (right-aligned) for ch in symbol: - p.text(ch + "\n") - - # Price characters at the bottom (right-aligned) - for ch in price_str: p.text(" " * (LINE_WIDTH - 1) + ch + "\n") + # Price characters at the bottom (left-aligned) + for ch in price_str: + p.text(ch + "\n") + # Blank line separator between trades p.text("\n")