From 0017d5affe15140225fd62a4ea8c18e53ee9b196 Mon Sep 17 00:00:00 2001 From: Manav Chaudhary <120240843+manav4499@users.noreply.github.com> Date: Mon, 16 Feb 2026 19:17:02 -0500 Subject: [PATCH] updated the markdown --- README.md | 3 ++- docs/architecture.md | 28 ++++++++++++++++++++++++++++ docs/tradingAgents.md | 20 ++++++++++---------- 3 files changed, 40 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 136d0638..178fd377 100644 --- a/README.md +++ b/README.md @@ -1 +1,2 @@ - \ No newline at end of file +### TradeDog = LangGraph + Specialized Agents + Real-Time Loop + Paper Execution + diff --git a/docs/architecture.md b/docs/architecture.md index e69de29b..a05a9f86 100644 --- a/docs/architecture.md +++ b/docs/architecture.md @@ -0,0 +1,28 @@ +### High-Level Overview (The Big Picture) + +TradeDog = LangGraph + Specialized Agents + Real-Time Loop + Paper Execution + +Orchestration Engine: LangGraph (stateful graph of nodes/edges) — this is the "brain" that connects everything. +Core Loop: Runs every 15–60 minutes during market hours (or on-demand). +Key Innovation (Your Addition): Profit Guardian + Executor for autonomous profit-taking. +Modes: +Analysis Mode: Deep research for new entries. +Monitoring Mode: Real-time profit/exit checks (runs lighter, cheaper). +Backtest Mode: Historical simulation for tuning. + + + +Text Diagram (the mental model): + +[Market Data Feed (Alpaca + Polygon + Alpha Vantage)] + ↓ (ingest every cycle) +[Shared State (Portfolio, Positions, History, Signals)] + ↓ +[Agent Graph (LangGraph)] + ├── Analyst Team (parallel) + ├── Researcher Team (debate) + ├── Decision Maker + ├── Executor (Alpaca orders) + └── Profit Guardian (exit logic) + ↓ +[Output: Trade Actions + Dashboard Update] \ No newline at end of file diff --git a/docs/tradingAgents.md b/docs/tradingAgents.md index 34310010..fd191738 100644 --- a/docs/tradingAgents.md +++ b/docs/tradingAgents.md @@ -1,11 +1,11 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+