Skip to content

🎨 Palette: CLI UX and Accessibility Improvements#29

Open
EiJackGH wants to merge 4 commits intomainfrom
palette-cli-ux-improvements-13031277560413581259
Open

🎨 Palette: CLI UX and Accessibility Improvements#29
EiJackGH wants to merge 4 commits intomainfrom
palette-cli-ux-improvements-13031277560413581259

Conversation

@EiJackGH
Copy link
Owner

@EiJackGH EiJackGH commented Feb 2, 2026

💡 What: Added command-line arguments to the bitcoin_trading_simulation.py script.
🎯 Why: To improve usability by allowing parameter configuration without code changes, and to enhance accessibility via quiet and no-color modes.
📸 Before: Hardcoded values, verbose output, forced colors.
📸 After: Configurable via flags, optional quiet mode, optional plain text mode.
♿ Accessibility: Added --no-color for better screen reader support/terminal compatibility.


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

- Implement `argparse` to allow configuration of simulation parameters (days, cash, price, volatility).
- Add `--quiet` flag to suppress daily ledger output while keeping trade alerts.
- Add `--no-color` flag to disable ANSI color codes for accessibility.
- Update `Colors` class and `simulate_trading` to respect these flags.

Co-authored-by: EiJackGH <172181576+EiJackGH@users.noreply.github.com>
@google-labs-jules
Copy link
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.

google-labs-jules bot and others added 3 commits February 2, 2026 13:24
- Fix flake8 errors in `bitcoin_trading_simulation.py` (E302, W293, E501).
- Rename `test.py` to `test_simulation.py` so pytest can find it (resolving exit code 5).
- Update README.md to use `pytest` command.

Co-authored-by: EiJackGH <172181576+EiJackGH@users.noreply.github.com>
…utput readability with formatted currency and aligned columns. Remove tracked .pyc files.

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.

2 participants