feat(ui): Add Interactive TUI Dashboard (Cyberpunk Financial Terminal)#84
Open
sjhddh wants to merge 2 commits intoAI4Finance-Foundation:masterfrom
Open
feat(ui): Add Interactive TUI Dashboard (Cyberpunk Financial Terminal)#84sjhddh wants to merge 2 commits intoAI4Finance-Foundation:masterfrom
sjhddh wants to merge 2 commits intoAI4Finance-Foundation:masterfrom
Conversation
- Replace hardcoded "2023" with actual search date range in error messages - Replace bare `except:` with `except Exception as e:` for better debugging - Fix typo "downloaded" -> "download" in error messages - Use consistent error message format with hyphen separator
FinRobot is a powerful brain, but it lacks a face. This TUI provides a "Mission Control" interface for observing Agent behavior in real-time. Features: - Scrolling ticker bar with live stock prices - ASCII sparkline charts with key metrics (P/E, RSI, MACD) - Neural Stream showing agent's chain-of-thought - Signal panel with BUY/SELL cards and confidence bars - Demo mode with simulated data (--demo flag) - AgentDataInterface for real agent integration Built with Textual and Rich, 100% Python, highly responsive.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
FinRobot is a powerful brain, but it lacks a face. This PR introduces a Cyberpunk Financial Terminal - a high-aesthetic TUI (Terminal User Interface) that provides a "Mission Control" interface for observing Agent behavior in real-time.
Built with Textual, 100% Python, highly responsive.
The Problem
Currently, FinRobot agents output logs to the console or static files. While functional, this approach:
The Solution
A Bloomberg Terminal meets Cyberpunk 2077 interface featuring:
Visual Components
Key Features
--demoflag for realistic simulated data streamsAgentDataInterfaceclass ready for plugging into real FinRobot agentsUsage
Keyboard Shortcuts
qSpacerIntegration with FinRobot Agents
Files Changed
finrobot_terminal_ui.py- New file (main TUI implementation, ~900 lines)requirements.txt- Addedtextual>=0.47.0andrich>=13.7.0Test Plan
python -m py_compile finrobot_terminal_ui.pypython finrobot_terminal_ui.py --demo