Video summary

Open Source Vibe Trading on DeepSeek and Claude: Setup, Backtest and Committee

Main summary

Key takeaways

Finance

Summary

Vibe Trading is an open-source AI agent for stock research, strategy backtesting, and investment-committee analysis. The presenter tested it with DeepSeek Flash and Pro, and Claude Haiku and Sonnet. The video focuses on how the tools perform—not on recommending trades.

Assets and instruments mentioned

  • NVIDIA (NVDA): Used for single-stock analysis and investment-committee runs.
  • SPY (S&P 500 ETF): Used for a historical pullback-strategy backtest.
  • Options: The committee proposed a collar involving a put and a call.
  • The repository also supports cryptocurrency, futures, and forex, though those were not the main test cases.

Test methods and findings

1. Single-stock analysis — NVIDIA

The prompt asked each model for a 1–3 month outlook, rating, entry, stop-loss, and target. The agent gathered price, indicator, news, options, and fundamental data.

  • In one run, DeepSeek Flash returned Buy, with entry $216, stop $202, and target $243. It took about 4.5 minutes and cost $0.15.
  • Claude Haiku took about 80 seconds and cost $0.02, but its grounding checks left some figures blank.
  • Claude Sonnet took about 2 minutes 15 seconds and cost $0.63. One reported set of levels was entry $202.04, stop $189.59, and target $236.
  • The presenter notes that these runs took place on different days, so their outputs are not directly comparable. Results and quoted levels varied across runs.

2. SPY backtest — RSI(2) pullback strategy

The strategy was tested on SPY from 2015, with 2 basis points per trade:

  • Consider trades only when SPY closes above its 200-day moving average.
  • Buy at the next open after a sharp two-day RSI drop. The subtitle’s threshold is garbled as “110”; the intended threshold appears to be RSI(2) below 10.
  • Exit when SPY closes above its 5-day moving average, selling at the next open.

The engine generated and ran Python strategy code. The presenter’s main caution was about trade timing:

  • A live DeepSeek Flash run reported 38.3% and 103 trades.
  • In three of four DeepSeek runs, the generated code shifted the signal an extra day. One run reported 51.6%, while the presenter’s reconstruction produced 39.8%; the trades did not fall on the correct days.
  • The presenter says the backtest engine itself was reliable when timing was correct, but the model was not told that the engine already shifted signals to the next bar. Claude Haiku and Sonnet placed trades on the correct days across the tested runs.
  • One Haiku run used a different RSI formula and reported 69.4%, illustrating that underspecified strategy details can materially change results.
  • The presenter cautions that a timing error can substantially distort backtest performance. For a “gold” strategy, he says the same delay could reduce profits by a third.

3. NVIDIA investment committee

The committee workflow has bull and bear agents present cases, a risk officer review them, and a portfolio manager decide.

  • DeepSeek Flash produced a Buy in about 10 minutes, with entry $217.94, stop $203.69, and target $250 over 12 months. The output also discussed tail risk and a defensive put.
  • Claude Haiku initially gave no usable rating. The presenter attributed the failure to a default 4,097-token limit being consumed by reasoning. In a later run with a 16,000-token limit, the agents produced reports and a Hold-type outcome, though the final report remained unrated.
  • Claude Sonnet took about 7.5 minutes and concluded Hold with a hedge. It suggested a collar for about 1.5% of the portfolio: buy a $190 put and sell a $230 call. It also gave a stop of $189.80 and target of $221.50.
  • The committee suggested checking the reporting date, the prior Friday’s decline, remaining portfolio capacity, and live options quotes before acting.

Costs, comparisons, and cautions

  • Approximate cost for one run of all three features: $0.40 on DeepSeek Flash, $0.11 on Claude Haiku, and $2.80 on Claude Sonnet.
  • The presenter characterized Sonnet as the most thorough but most expensive, and Haiku as the fastest and cheapest when it returned usable results.
  • He favored DeepSeek Flash for cost-effectiveness, while warning that DeepSeek backtests should be validated. He also advised checking all backtest results rather than trusting them uncritically.
  • The video notes that unsupported figures may be removed by a verification mechanism rather than presented as facts.
  • The presenter paid for the API calls himself and says the results are published.

Disclosures and disclaimers

The presenter explicitly says the tests are not investment advice and that he is evaluating the repository, not making trading recommendations. He also warns users to run code in Docker or disable terminal tools, since generated backtest code can execute on a computer.

Presenters and sources

  • Presenter: David Arias, CFA.
  • Repository: Vibe Trading by HKUDS, described in the video as a University of Hong Kong lab project.
  • Models tested: DeepSeek Flash, DeepSeek Pro, Claude Haiku, and Claude Sonnet.
  • Comparison references: GlassBench, TradingAgents, and AI Hedge Fund.

Rate this summary

Your feedback will help improve summaries.

Improve this summary

Reprocess with a stronger model when the summary feels incomplete or inaccurate.

Pro

Translate summary in another language

Pro

Ask questions to this video

Chat for follow-up questions, clarifications, and source-backed answers.

Coming soon

Share this summary

Original video