Skip to content

🎨 Palette: Add thousands separators to daily ledger outputs#120

Open
EiJackGH wants to merge 2 commits intomainfrom
palette/thousands-separators-5830032307975328485
Open

🎨 Palette: Add thousands separators to daily ledger outputs#120
EiJackGH wants to merge 2 commits intomainfrom
palette/thousands-separators-5830032307975328485

Conversation

@EiJackGH
Copy link
Copy Markdown
Owner

@EiJackGH EiJackGH commented Apr 1, 2026

💡 What

Added thousands separator formatting (:,.2f for cash/prices and :,.4f for BTC amounts) to the daily simulation ledger output in bitcoin_trading_simulation.py.

🎯 Why

When dealing with large numbers, particularly in a financial context like a simulated Bitcoin portfolio, reading numbers like $123456.78 is significantly harder than $123,456.78. This simple formatting change vastly reduces the cognitive load for users parsing the daily logs.

📸 Before/After

Before:
Day 25: Portfolio Value: $10345.67, Cash: $10345.67, BTC: 0.0000

After:
Day 25: Portfolio Value: $10,345.67, Cash: $10,345.67, BTC: 0.0000

♿ Accessibility

This acts as a major cognitive accessibility improvement. Users with dyslexia or dyscalculia, as well as general users, benefit greatly from the clear delineation of thousands in long numeric strings.


PR created automatically by Jules for task 5830032307975328485 started by @EiJackGH

Added `:,.2f` and `:,.4f` formatting to print statements in `bitcoin_trading_simulation.py` to vastly improve readability for users analyzing the CLI daily ledger output.

Co-authored-by: EiJackGH <172181576+EiJackGH@users.noreply.github.com>
@google-labs-jules
Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

Removed `venv` from `requirements.txt` to fix "No matching distribution found for venv" errors during pip installations in the CI build environments.

Co-authored-by: EiJackGH <172181576+EiJackGH@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant