🚀 Your Personal AI Analyst with Long-term Memory.
A Dockerized dashboard that turns TradingAgents into a personalized trading assistant. It not only analyzes the market but also remembers your insights via Markdown files (RAG).
Most AI trading tools are "stateless"—they analyze and forget.
TradingAgents-Dashboard is designed for individual traders who want to accumulate knowledge.
- Visualize: No more terminal logs. Watch agents debate in a clean Web UI.
- Persist: External news links rot, and data disappears. This tool auto-saves the full analysis context to your local storage, ensuring your knowledge base remains intact forever.
- Grow: Agents retrieve your past notes (RAG) to learn from previous successes and mistakes.
Your trading data belongs to you, forever.
- Dockerized Setup: One-command deployment (
docker-compose up). - Web Dashboard: Interactive UI built with Streamlit.
- 🧠 Persistent Memory (RAG): Syncs analysis reports with your local Markdown files (compatible with Obsidian, VS Code, etc.) for long-term retention.
- ✅ Fact Checker: Physically validates news URLs to prevent hallucinations.
- Debate Transcript: Extracts key arguments into readable markdown.
- Auto-Summary: Generates structured AI summary reports (
_summary.md).
- Docker & Docker Compose
- OpenAI API Key
- A directory for storing Markdown notes (e.g., Obsidian Vault, or any folder)
-
Clone the repository:
git clone https://github.com/jiwoomap/TradingAgents-Dashboard.git cd TradingAgents-Dashboard -
Configure Environment:
cp .env.example .env # Edit .env and add your API keysRequired Configuration:
LLM_PROVIDER=openai- Currently only OpenAI is supportedOPENAI_API_KEY- Get your key at platform.openai.com/api-keys
Recommended (Optional):
ALPHA_VANTAGE_API_KEY- Highly recommended for better analysis quality!- Provides more comprehensive stock data and significantly improves news data quality
- Get a FREE API key at alphavantage.co/support/#api-key
- Free tier has rate limits but is sufficient for most use cases
OBSIDIAN_VAULT_PATH- Path to your Markdown notes folder for persistent memory/RAG- Example:
/Users/yourname/Documents/MyTradingNotes - Docker users: Use
/app/obsidian_vault(mapped in docker-compose.yml) - Any folder with
.mdfiles works (Obsidian recommended for viewing)
- Example:
-
Run with Docker:
docker-compose up --build -d
-
Access Dashboard: Open http://localhost:8501 in your browser.
Run automated analysis jobs continuously in the background, independent of the Streamlit web UI.
When running with Docker, the scheduler starts automatically! Just access the web UI and add your schedules.
Key Features:
- ✅ Auto-start in Docker - No manual setup needed
- 🔄 Runs independently of Streamlit app (won't stop when you close the browser)
- 💾 Persistent job storage (survives restarts)
- 🌍 Automatic timezone conversion (schedule in your local time, executes in UTC)
- 📝 Auto-saves reports to Obsidian vault
- 📊 Real-time progress tracking via status files
How to use:
- Open the web UI at http://localhost:8501
- Go to sidebar → "Schedule New Job"
- Set your ticker, time, and parameters
- Click "Add Schedule"
- Jobs will run automatically at the scheduled time!
- View results in "Scheduled Results" tab
Give your agents "Long-term Memory". This ensures that even if original news links rot or data is lost online, your personal knowledge base remains preserved and reusable.
Any Markdown (.md) file works! You don't strictly need Obsidian.
You can manage your trading simulation logs, strategy notes, and market insights in any editor (VS Code, Notepad, Obsidian). As you accumulate more notes, the agent becomes a smarter simulation partner tailored to your trading style.
- Sync (Memorize): Click
Sync Memoriesto load.mdnotes from your mounted folder into the vector DB. The AI indexes your notes as "Situations" (Title/Context) and "Knowledge" (Content). - Retrieve (Recall): During analysis, agents automatically search your local files for past market situations similar to the current one.
- Example: "Last time inflation rose while tech stocks fell, I noted that defensive sectors outperformed." -> Agents will recall this note and apply it to today's decision.
- Auto-Save (Record): Analysis reports (
_summary.md,_debate.md) are automatically saved to your folder (TradingAgents/Reports/) for future reference.
The enhanced Fact Checker agent now physically pings URLs cited in news reports.
- Validates Sources: Checks if the link returns 200 OK.
- Anti-Bot Handling: Treats 403 Forbidden as
VALID (Protected)to avoid false positives. - Prevents Hallucinations: Flags claims based on dead or non-existent links.
- Backtesting Module: Validate agent strategies against historical data.
- Multi-Model Support: Integration with other AI APIs (Claude, Gemini, DeepSeek) and Local LLMs (Ollama).
This project wraps the TradingAgents framework, a multi-agent system that simulates a real-world trading firm.
- Analyst Team: Fundamentals, Sentiment, News, Technical Analysts.
- Researcher Team: Bull/Bear debate and consensus.
- Trader & Risk Manager: Final decision making.
This project is a UI enhancement and functional extension (Persistent Memory, RAG) based on the original TradingAgents framework.
Please cite the original work if you use this for research:
@misc{xiao2025tradingagentsmultiagentsllmfinancial,
title={TradingAgents: Multi-Agents LLM Financial Trading Framework},
author={Yijia Xiao and Edward Sun and Di Luo and Wei Wang},
year={2025},
eprint={2412.20138},
archivePrefix={arXiv},
primaryClass={q-fin.TR},
url={https://arxiv.org/abs/2412.20138},
}Apache License 2.0

