From e8c39012a92f2f557da900a6a461b71c195c54c3 Mon Sep 17 00:00:00 2001 From: Joe Lothan Date: Mon, 15 Jun 2026 17:44:07 -0400 Subject: [PATCH] fix orientation of ticker vs price top vs bottom --- print_tape.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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")