🎨 Palette: CLI UX Color & Emoji Enhancement#14
🎨 Palette: CLI UX Color & Emoji Enhancement#14google-labs-jules[bot] wants to merge 1 commit intomainfrom
Conversation
- Add `Colors` class for ANSI escape codes. - Colorize "Buy" (Green) and "Sell" (Red) actions in the daily ledger. - Use emojis (🟢, 🔴, 📈, 📉) to highlight key events and performance. - Improve formatting of the Final Portfolio Performance summary. - Fix pandas FutureWarning by explicitly casting initial cash to float.
|
👋 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 New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
|
Stale pull request message |
🎨 Palette: Improved CLI UX with Colors and Emojis
💡 What: Added a
Colorsclass to introduce ANSI color codes and emojis to the simulation output. The daily ledger now highlights Buy actions in Green and Sell actions in Red. The final summary is formatted with aligned columns and color-coded Profit/Loss indicators.🎯 Why: The original output was a wall of plain text, making it difficult to quickly identify trading actions and assess performance. The new visual hierarchy allows users to instantly scan the log for activity and understand the final result at a glance.
📸 Before/After:
(Before) Plain text list of days and numbers.
(After) Colorful log with 🟢/🔴 indicators and a clear, bolded summary table.
♿ Accessibility: Improved visual distinction (Red/Green) and added text labels (BUY/SELL) so color isn't the only indicator. High contrast headers help navigation.
Note: Also fixed a pandas
FutureWarningregarding incompatible dtype setting.PR created automatically by Jules for task 15153625816313238286 started by @EiJackGH