正在加载视频...

视频加载失败

I made a real-world AI hedge fund team. It has 4 agents: 1 • market data agent 2 • quant agent 3 • risk manager agent 4 • portfolio manager agent You can run all of my code below. No prior coding experience is required. The agents work sequentially,...

369,381 次观看 • 1 年前 •via X (Twitter)

10 条评论

virat 的头像
virat1 年前

Code:

Gang Rui 的头像
Gang Rui1 年前

A glimpse into the manager economy where we are just managing agents. Curious if you've dabbled into evals?

virat 的头像
virat1 年前

The included code runs backtests (evals).

Charafeddine 的头像
Charafeddine1 年前

Backtests finally... Good job Virat.

virat 的头像
virat1 年前

Thank you - evals are everything.

Joseph Paul 的头像
Joseph Paul1 年前

When I worked at a quantitative trading fund, the process involved submitting models to a portfolio manager, who would then evaluate and select models from a pool created by multiple quants. How does this approach compare to what you're building? A significant aspect of quantitative finance isn't just identifying technical signals but also testing and developing new, innovative ideas - often based on economic theories, market structure, personal experience, or other underexplored dynamics. If your AI agent is focused solely on creating models from existing signals and historical data, it seems to be more of a model optimizer than a true "quant."

Joseph Smidt 的头像
Joseph Smidt1 年前

I swear the best use of one’s time is learning how to “hire” - in other words or code up - a company of agents to do the work a company of humans does today.

positiveblue ⚡️🍠 的头像
positiveblue ⚡️🍠1 年前

How is this an agent and not a SaaS with 4 modules?

nakosung 的头像
nakosung1 年前

ChatGPT's knowledge cutoff should be before the backtest to avoid forward-looking issues.

Vijar Kohli 的头像
Vijar Kohli1 年前

Nice work. Code base looks clean.

相关视频

How to setup a multi agent system? Bookmark it 📂 "The Trading Floor" Multi-Agent Market Analysis Council to analyze a stock ticker Z.ai GLM-4.7 🤝 OpenCode Agent framework: CrewAI How it works? 1. User enters a stock ticker to analyze 2. 5 AI agents wake up, each with distinct expertise: - Quant Analyst — technical indicators & price patterns - Sentiment Scout — market mood & crowd psychology - Macro Strategist — sector dynamics & economic context - Risk Manager — volatility, drawdowns & position sizing - Portfolio Chief — synthesizes all perspectives 3. Agents analyze independently using real market data 4. They debate, challenge assumptions, and identify disagreements 5. Portfolio Chief resolves conflicts and delivers a consensus recommendation 6. Final output: buy/hold/sell rating with confidence level, position size, and key risks How to built The Trading Floor? 1. Chose CrewAI as the agent framework — handles multi-agent orchestration out of the box 2. Defined 5 agents with distinct roles, goals, and backstories in Python 3. Built custom tools wrapping yfinance for real market data (prices, indicators, volatility) 4. Configured sequential workflow — specialists analyze first, Portfolio Chief synthesizes last 5. Set up FastAPI backend with SSE to stream agent thoughts in real-time 6. Built Next.js frontend to visualize the "board of directors" deliberating live 7. One environment variable (MODEL=openai/gpt-5.2) powers all agents 8. Generated unique agent icons with AI image tools Total cost: $0 for the framework, pay only for LLM API calls Tech stack: - GLM-4.7 with opencode to build the app - CrewAI (open source) for agent orchestration - GPT-5.2 powering each agent - FastAPI + SSE for real-time streaming - Next.js frontend showing live agent deliberations

CloudAI-X

58,189 次观看 • 9 个月前

MIT Researchers Built An AI Hedge Fund & released it 100% FREE this gives you full trading firm of AI agents, analysts, a bull vs bear debate, a trader and a risk manager that approves every trade i cloned it and plugged in Opus 5.5 as the brain and Jev as the fast decision layer (INSANE RESULTS) here is how to USE this repo: 1. clone the repo and install it, one command with pip or uv, it runs on your laptop in a few minutes 2. drop in your Anthropic key and set Opus 5.5 as the deep think model, so the whole agent firm reasons on the best brain available 3. launch the CLI, pick any ticker and a date, it works on every market Yahoo covers, US stocks, crypto and more 4. the fundamentals agent digs through the financials and the news agent reads every headline and macro event that could move the price 5. the sentiment agent reads the crowd on Reddit, StockTwits while the technical agent reads the charts, RSI, MACD, the patterns 6. every agent writes a clean structured report instead of loose chat, which is the trick that stops the signal getting distorted as it passes along 7. then a bull agent and a bear agent debate the trade over multiple rounds, and a facilitator reads the whole debate and picks the winning case 8. the trader agent turns that into an actual call, then the risk team and portfolio manager approve or reject it before anything fires, same as a real desk 9. backtest the full pipeline across a grid of tickers and dates, it scores every decision on real alpha against the benchmark and logs what worked so it gets sharper each run 10. the agent debate takes minutes, so wire Jev in as the fast layer - it'll makes the final live call in just milliseconds > this turns this research firm into a real self-improving 24/7 AI trading agent the full build of AI trading bot that makes it trade live is in my article below:

Roan

18,373 次观看 • 2 天前