Someone open-sourced a hedge fund (53k stars on GitHub)

Kurze Zusammenfassung

Das Video stellt ein Open-Source-Python-Projekt namens "Trading Agents" vor, ein Multi-Agenten-LLM-Framework, das die Struktur einer realen Wall Street-Handelsfirma nachbildet. Es besteht aus verschiedenen LLM-gesteuerten Agenten, die unterschiedliche Rollen wie Fundamentalanalyst, Sentimentanalyst, Nachrichtenanalyst, technischer Analyst, Bullen- und Bärenforscher, Trader, Risikomanagement und Portfoliomanager übernehmen. Das System lernt aus vergangenen Trades und bietet eine nachvollziehbare Entscheidungsfindung im Gegensatz zu Black-Box-Systemen.

  • Das Projekt hat über 53.000 Sterne auf GitHub und eine Apache 2.0 Lizenz.
  • Es ermöglicht eine transparente und nachvollziehbare Entscheidungsfindung im Handel.
  • Es ist als Forschungsrahmen gedacht und nicht als Finanzberatung.

Intro

Das Video beginnt mit der Vorstellung eines Python-Projekts namens "Trading Agents", das auf GitHub große Aufmerksamkeit erregt hat. Dieses Projekt ist ein Multi-Agenten-LLM-Framework, das die Struktur einer realen Wall Street-Handelsfirma simuliert. Es hat über 53.000 Sterne und fast 10.000 Forks erhalten und ist unter der Apache 2.0-Lizenz verfügbar. Das Projekt wurde ursprünglich als Forschungspapier an der UCLA entwickelt und hat seitdem stetig an Popularität gewonnen.

Das README

Der Kern der Idee ist, dass echte Hedgefonds nicht nur eine Person haben, die Aktien auswählt, sondern ganze Teams, die miteinander diskutieren, um eine fundierte Position zu erarbeiten. Die Autoren haben die Funktionsweise einer typischen Handelsfirma analysiert, sie in spezialisierte Rollen unterteilt und für jede Rolle einen LLM-Agenten entwickelt. Das Analystenteam besteht aus vier Agenten, die parallel arbeiten: Fundamentalanalyst, Sentimentanalyst, Nachrichtenanalyst und technischer Analyst.

Warum es wichtig ist

Der Hauptunterschied zu anderen algorithmischen Handelsframeworks besteht darin, dass "Trading Agents" eine vollständig nachvollziehbare Entscheidungsfindung ermöglicht. Im Gegensatz zu mechanischen oder Black-Box-Systemen kann man die Analystenberichte, die Debatten zwischen Bullen und Bären und die Gründe für die Entscheidungen des Traders und des Portfoliomanagers einsehen. Dies macht das System in einer Weise überprüfbar, die bei traditionellen quantitativen Systemen nicht möglich ist.

Das Datenblatt

Das Repository ist in Python geschrieben, hat über 53.000 Sterne und fast 10.000 Forks und wird unter einer Apache 2.0-Lizenz veröffentlicht. Das zugrunde liegende Paper ist auf ArcCIF als Paper 24.12.20138 mit vollständigen Zitaten veröffentlicht.

Die 4 Analysten

Der Fundamentalanalyst zieht die neuesten Einreichungen heran, führt eine Verhältnisanalyse durch und erstellt eine Schätzung des inneren Wertes. Der Sentimentanalyst bewertet Reddit, X und andere soziale Signale, um die kurzfristige Stimmung einzuschätzen. Der Nachrichtenanalyst verfolgt globale makroökonomische Indikatoren und wichtige Ereignisse, die die Preise bewegen. Der technische Analyst führt MACD, RSI, Bollinger Bands und andere Standardmustererkennungswerkzeuge aus. Alle vier arbeiten parallel und erstellen einen schriftlichen Bericht.

Unter der Haube

Das gesamte System läuft auf LangGraph, wobei jeder Agent ein Knoten in einem gerichteten Graphen ist und jeder Übergang zwischen den Knoten als Checkpoint gespeichert wird. Diese Checkpoint-Funktion ist optional, ermöglicht aber die Wiederaufnahme nach einem Absturz, ohne die bisherige Arbeit zu verlieren. Es gibt auch ein persistentes Entscheidungsprotokoll, das jede abgeschlossene Ausführung mit Begründung in einer Markdown-Datei speichert. Bei der nächsten Ausführung für dasselbe Ticker-Symbol werden die realisierten Renditen abgerufen, Alpha gegen den SPY-Benchmark berechnet und eine Reflexion über die Ergebnisse in den Prompt des Portfoliomanagers eingefügt, sodass das System aus vergangenen Trades lernt.

Installation

Die Einrichtung ist unkompliziert: Man klont das Repository, erstellt eine Python-Umgebung, installiert die erforderlichen Pakete, setzt den API-Schlüssel für den gewünschten LLM-Anbieter und führt die CLI aus. Es werden fast alle wichtigen Modelle unterstützt, darunter OpenAI GPT, Google Gemini, Anthropic Cloud, XAI Grok, DeepSeek, QAN, TLM, OpenRouter und Ollama für lokale Modelle. Die CLI führt zu einer interaktiven Auswahl, bei der man Ticker-Symbol, Analysedatum, Anbieter und die Anzahl der Debattenrunden auswählt.

Letzte Version

Version 0.2.4 wurde am 25. April veröffentlicht und ist ein bedeutendes Release. Das wichtigste Feature sind strukturierte Output-Entscheidungsagenten. Der Research Manager, der Trader und der Portfoliomanager verwenden jetzt Pydantic-Schemas mit dem nativen Structured Output-Modus jedes Anbieters, was zu saubereren Entscheidungen und weniger Fehlern führt. DeepSeek, QN, GLM und Azure OpenAI werden nun ebenfalls unterstützt. Docker-Support mit Multi-Stage-Builds wurde hinzugefügt, und es gibt jetzt eine fünfstufige Bewertungsskala (Overweight, Hold, Underweight, Sell), die vom Research Manager, dem Portfoliomanager und dem persistenten Entscheidungsprotokoll konsistent verwendet wird.

Für wen es ist

Dieses Projekt ist besonders interessant für quantitative Forscher, die systematische Strategien entwickeln, Hobby-Trader, die mit KI-gestützter Analyse experimentieren möchten, Fintech-Gründer, die Tools für Privatanleger entwickeln, und Indie-Hacker, die sich für die Funktionsweise von Multi-Agenten-LLM-Systemen interessieren. Es bietet eine saubere Referenzimplementierung und eine permissive Lizenz zur Erweiterung.

Fazit

Die Verwendung des Systems verursacht Kosten durch LLM-Token, da jeder Analysezyklus mehrere parallele Analystenaufrufe sowie Debattenrunden und Aufrufe des Traders und des Portfoliomanagers auslöst. Die Autoren betonen, dass es sich um einen Forschungsrahmen und keine Finanzberatung handelt. Die simulierte Börse ist ein Backtest und keine Live-Broker-Integration. Trotz dieser Einschränkungen ist das Projekt real, mit einer Apache 2.0-Lizenz, über 53.000 Sternen in vier Monaten, wöchentlichen Releases, mehrsprachiger Dokumentation und einem veröffentlichten Paper, das die Architektur untermauert.

Fasse jedes YouTube-Video in Sekunden zusammen

Hol dir Zusammenfassungen wie diese für jedes Video, in deiner Sprache, mit der kostenlosen Summ-App.

Laden im App Store
Jetzt bei Google Play

Transkript

Vollständiges Transkript von „Someone open-sourced a hedge fund (53k stars on GitHub)“. Klicke auf einen Zeitstempel, um das Video an dieser Stelle zu öffnen. Du brauchst ein anderes Video? Nutze den YouTube-Transkript-Generator.

0:00 Somebody just open sourced a hedge fund. Okay, so here's something kind of wild that's been climbing the GitHub trending list this weekend. There's a Python project called Trading Agents that just crossed 53,000 stars and what it actually does is pretty unhinged when you think about it. It's a multi-agent LLM framework that mirrors the structure of a real Wall Street trading firm. You spin it up, point it at a stock ticker and it runs an entire simulated firm under the hood. Fundamentals analyst, sentiment analyst, news analyst, technical analyst, bullish researcher, bearish researcher who actually debate each other, a trader agent, a risk management team, and a portfolio manager who approves or rejects every transaction. All of them powered by LLMS talking to each other. 53,678

0:47 stars, 9,768 forks, Apache 2.0 license, and version 0.2.4 shipped three days ago. It started as a research paper out of UCLA in late 2024, then quietly got open sourced, and the GitHub repo has been doubling stars every couple months since. Let me show you what's actually in it. So the core idea is that real hedge funds don't have one person picking stocks. They have entire teams and those teams argue with each other because that argument is what produces a defensible position. The authors looked at how a typical trading firm actually operates, broke it into specialized roles and built one LLM agent per role. The analyst team is four agents working in parallel. Fundamentals digs into the company financials, sentiment scrapes,

1:37 social media and public mood, news monitors, macroeconomic indicators and technical runs, MACD and RSI and the usual chart indicators. Then it gets interesting. The researcher team has two agents, a bull and a bear, and they're explicitly designed to disagree. They take the analyst reports and they argue against each other for a configurable number of rounds before they hand off. The trader agent reads everything, decides timing and position size, and proposes a transaction. The risk management team evaluates that proposal against volatility and liquidity. And finally, the portfolio manager either approves or rejects it. The whole graph runs on LangGraph, so every agent transition is a node, you can resume from a checkpoint if it crashes, and there's a persistent decision log that learns from how previous trades actually

2:23 play it out. Okay, so why is this a big deal when there are already a hundred other algorithmic trading frameworks out there? The honest answer is that most of them are either really mechanical like rule-based moving average systems, or they're black box machine learning models that spit out a buy or sell signal with no explanation. trading agents sits in between. Every decision the system makes is fully traceable. You can read the analyst reports, you can read the bull and bear debate transcripts, you can see exactly why the trader picked that position size, and you can see why the portfolio manager rejected it. It's auditable in a way that traditional quant systems are not. The repo is written in Python, sits at 53,000 stars and 9,700 forks, ships under a

3:09 permissive Apache 2.0 license, and the underlying paper is published on ArcCIF as paper 24.12.20138 with full citations. Let me get into the actual agents because this is where the design choices start to matter. The fundamentals analyst pulls the latest filings, runs a ratio analysis, and writes up an intrinsic value estimate. The sentiment analyst scores Reddit, X, and other social signals to gauge near-term mood. The news analyst tracks global macro indicators and breaking events that move prices. The technical analyst runs MACD, RSI, Bollinger Bands, the standard pattern detection toolkit. All four run in parallel, all four produce a written report, and the system explicitly does not collapse them into a single vector. The disagreement between

3:58 them is signal, not noise. Then comes the layer that I think actually makes this interesting. After the analysts file their reports, two researcher agents read everything. One of them is structurally bullish, the other is structurally bearish, and they argue across multiple debate rounds. You can configure how many rounds they go. The bull argues for opening the position, the bear argues against it. They cite specific numbers from the analyst reports and at the end the trader agent reads the full debate transcript and makes a call. After the trader proposes the trade, the risk management team evaluates volatility and liquidity and the portfolio manager has final approval. If approved, the order goes to a simulated exchange. If rejected, the loop ends with a written explanation. Under the hood, the whole orchestration

4:48 runs on lang graph, which means every agent is a node in a directed graph and every transition between nodes is checkpointed. That checkpoint resume feature is opt-in, but if you turn it on and a run crashes halfway through, you don't lose the analyst work. You resume from where it stopped. There's also a persistent decision log that's always on. Every completed run appends its decision and its reasoning to a markdown file in your home directory. Then on the next run for the same ticker, the system fetches the realized return, computes alpha against the SPY benchmark, generates a one-paragraph reflection on what went right or wrong, and injects that history into the Portfolio Manager prompt. So the system literally learns from past trades. Setup is honestly painless. You

5:33 clone the repo, create a Python environment, pip install, set the API key for whichever LLM provider you want to use, and run the CLI. It supports basically every major model. OpenAI GPT, Google Gemini, Anthropic Cloud, XAI, Grok, DeepSeek, QAN, TLM, OpenRouter, and Olima for local models. The CLI drops you into an interactive picker where you choose your ticker, your analysis date, your provider, and how many debate rounds you want. Version 0.2.4 shipped on April 25th, so three days ago. and it's actually a pretty significant release. The big headline is Structured Output Decision Agents. The research manager, the trader, and the portfolio manager now use Pydantic schemas with each provider's native Structured Output mode, which means

6:24 decisions parsed cleanly and the failure modes dropped dramatically. They added DeepSeq, QN, GLM, and Azure OpenAI as supported providers. Docker support shipped with multi-stage builds, and there's a five-tier rating scale now. overweight, hold underweight, sell, use consistently across the research manager, the portfolio manager, and the persistent decision log. So who should actually pay attention to this? If you're a quant researcher doing systematic strategy work, this is a clean reference implementation of how to wire LLMs into a multi-agent decision graph. If you're a hobbyist trader who's been wanting to experiment with AI-driven analysis, you can spin this up against your own portfolio in about 10 minutes. If you're a fintech founder building tooling for retail investors, this is a

7:12 permissively licensed foundation you can fork and extend. And if you're just an indie hacker who's curious about how multi-agent LLM systems actually work in practice, this is one of the cleanest examples I've seen in any domain. Okay, let's be honest about the trade-offs. Running this on every analysis cycle burns real money in LLM tokens because each ticker triggers four parallel analyst calls plus multiple debate rounds plus the trader and portfolio manager calls. The authors explicitly say this is a research framework, not financial advice, and you should not YOLO your retirement into whatever the portfolio manager spits out. And the simulated exchange is a backtest. It's not a live broker integration, so you're going to have to wire that part yourself if you want to actually trade. But for everything that's

7:59 a caveat, the project is real. Apache 2.0 license, 53,000 stars in four months, weekly releases, multi-language documentation, and an actual published paper backing the architecture. If you build with LLM agents in 2026 and you have not at least cloned this repo and read the langraph wiring, you're missing one of the cleanest reference implementations out there. Repo link is in the description. Thanks for watching. I'll catch you tomorrow.

Share

Weitere Video-Zusammenfassungen