正在加载视频...

视频加载失败

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,325 次观看 • 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 个月前