Claude + GitHub = The Most OVERPOWERED AI Trader I've Ever Seen — Transcript
Full transcript
- 0:00In today's video, I'm going to give
- 0:01$100,000 to a team of 12 AI agents to
- 0:05trade on my behalf. And this is using a
- 0:07free GitHub repo called Trading Agents
- 0:10with 107,000 stars. Over the past few
- 0:12weeks, I've been experimenting with
- 0:14GitHub repos to see what the best
- 0:16automated trading tools on the internet
- 0:18are. And these are repositories created
- 0:19by real developers. As you can see,
- 0:21Trading Agents has 21 contributors and
- 0:24is getting constant updates by real
- 0:26developers. So, the good thing about
- 0:28using GitHub to source your tooling is
- 0:30that you don't need to build it from
- 0:32scratch yourself. You've literally got
- 0:33pro developers that are building this
- 0:35stuff for you. By the end of today's
- 0:37video, you're going to know how to have
- 0:3812 trading agents trading on your
- 0:40behalf. It's literally like having an
- 0:41entire team of quant traders. Who would
- 0:43have imagined a few years ago when I
- 0:45first started AI trading, getting pine
- 0:47scripts off GPT, and putting them into
- 0:49TradingView, that you could literally
- 0:51now spin up an entire army of AI agents.
- 0:53Well, we are now in that era, and AI
- 0:55trading is only going to accelerate. So,
- 0:57the sooner you can learn it, the better
- 0:59positioned you are going to be. So, if
- 1:00you want to learn more about AI trading,
- 1:02subscribe to the channel, and let's get
- 1:04into the video. So, firstly, before we
- 1:05start trading, let me walk you through
- 1:07Trading Agents and explain what it does.
- 1:09So, essentially, it's a multi-agent
- 1:11trading framework that mirrors the
- 1:13dynamics of real-world trading firms.
- 1:15So, it's basically like having your own
- 1:17AI trading firm. But applying
- 1:19specialized LLM-powered agents from
- 1:21fundamental analysts, sentiment experts,
- 1:23technical analysts to traders, a risk
- 1:25management team, the platform
- 1:26collaboratively evaluates market
- 1:28conditions and informs trading
- 1:30decisions. These agents engage in
- 1:32dynamic discussions to pinpoint the
- 1:34optimal strategy. So, just like in a
- 1:35real trading firm, you would have an
- 1:37analyst presenting data from the real
- 1:39world to the risk management division,
- 1:40and the risk management division would
- 1:42evaluate sizing, and then it would get
- 1:43ticked off by the head trader. You're
- 1:45essentially mimicking that process with
- 1:47a series of AI agents. So, you can see
- 1:49here. So, this is exactly how it works.
- 1:51The repo plugs in the market data from
- 1:53Yahoo Finance and other data sources
- 1:55into the researcher team, also social
- 1:57media trends, so X and Reddit. Then
- 1:59you've got all of the new sources like
- 2:00Bloomberg, Reuters, and then it taps
- 2:02into the fundamentals so a company
- 2:03profile, financial history, insider
- 2:05transactions. All of this information is
- 2:07then routed to the researcher team which
- 2:10decides whether an asset is bullish or
- 2:12bearish. It provides buy evidence, it
- 2:13provides sell evidence. Then the trader
- 2:15makes a transaction proposal and the
- 2:17risk management team decides whether to
- 2:19be aggressive, neutral, or conservative.
- 2:20That then goes to the head manager and
- 2:22then they are responsible for making a
- 2:24decision on execution. And obviously in
- 2:26your case if you wanted to manually
- 2:27approve you could. If you want to leave
- 2:29things fully to the AI then you can also
- 2:31do that as well. So it's essentially an
- 2:32entire team that is trading on your
- 2:34behalf. So here are the 12 agents that
- 2:37you get access to. You've got the
- 2:38analyst team who's the fundamental
- 2:39analyst, you've got the sentiment
- 2:40analyst, a news analyst, and a technical
- 2:42analyst each with their own personality,
- 2:45profile, and skills in order to conduct
- 2:47each individual role. Then you've got
- 2:48the researcher team who critically
- 2:50assess the insights provided by the
- 2:51analyst team. Then you've got the trader
- 2:53agent which composes reports from the
- 2:55analysts and researchers to make
- 2:57informed trading decisions and they'll
- 2:58give a reasoning and a recommendation
- 3:00for acting in a certain way. And then
- 3:02you've got the risk management and
- 3:04portfolio manager. The risk management
- 3:06continuously evaluates portfolio risk by
- 3:08assessing market volatility, liquidity,
- 3:10and other risk factors. So they will
- 3:11adjust the trading strategies on your
- 3:13behalf, provide assessment reports to
- 3:15the portfolio manager for a final
- 3:16decision, and then the portfolio manager
- 3:18essentially approves or rejects the
- 3:20transaction proposal after going through
- 3:22all of these steps. If the trade is
- 3:24approved then the order will be sent to
- 3:25the exchange and executed. So to install
- 3:27this on the computer you want to go into
- 3:29the GitHub, you want to click copy on
- 3:31each of these commands and then you want
- 3:32to put it into Claude code or Codex you
- 3:35can use either. Or what you can do is
- 3:36you could take the GitHub link and you
- 3:38could get Claude to do it itself. But if
- 3:40you want the most seamless installation
- 3:41experience possible then in my free
- 3:43school community down below I'm going to
- 3:45leave a resource where you can just drag
- 3:47and drop it into Claude code. It'll
- 3:49automatically install and it will
- 3:51automatically be set up with the
- 3:52framework that I'm showing you in
- 3:53today's video. So, it's basically a
- 3:55cheat sheet of sorts that anybody can
- 3:56start. In my school community, you'll
- 3:58also find all of the resources and
- 4:00assets from these videos. So, as you can
- 4:02see here, if you click on the classroom
- 4:04and then free asset library, every
- 4:05single time I upload a video, you can
- 4:07get the full setup guides and all of the
- 4:10MD files that you can use to set this
- 4:11stuff up on your own. And it's good
- 4:13because everything is in one place, so
- 4:14nothing ever gets lost. You don't need
- 4:16to go through a bunch of portals and
- 4:17claim a bunch of stuff. If you ever want
- 4:18anything, you just need to go into my
- 4:20school community and you can access the
- 4:22resources from all of these videos,
- 4:24including the resources from today. And
- 4:26I think that's great because over time
- 4:27we're building the blocks for you guys
- 4:29to go from beginner to a seasoned
- 4:31experienced AI trader. And as new
- 4:33technology comes out, as new models come
- 4:35out, as new features and tools come out,
- 4:37it will only make us better and better
- 4:39and better. We're only just scratching
- 4:40the surface of what you can already do.
- 4:42In 6 months' time, AI trading is going
- 4:44to be even better. So, I think being a
- 4:46part of a community that's at the
- 4:47forefront of that is super valuable. So,
- 4:49I just put in a prompt to kick off a
- 4:51research process on Bitcoin. So, I asked
- 4:53it to run its analysis on Bitcoin for
- 4:55today, and you are now seeing it's going
- 4:57through the process of analyzing Bitcoin
- 5:00in accordance with the initial steps we
- 5:02discussed before. So, the research team
- 5:04is curating information that's going to
- 5:05go through this process. So, I just ran
- 5:07the entire process on Bitcoin, which
- 5:09took about 10 minutes, and it put it
- 5:11through the entire system. So, firstly,
- 5:13we have the market analysts doing their
- 5:15research. So, you can see here price
- 5:16action and trend structure, momentum
- 5:18MACD, momentum RSI, volatility with a
- 5:20takeaway for each section. The synthesis
- 5:23is that Bitcoin is in a confirmed
- 5:24multi-time frame uptrend that recently
- 5:27broke out to a closing high of 81K after
- 5:29a shallow control pullback in early to
- 5:30mid-September that did not violate
- 5:32structure. MACD histogram is recovering
- 5:34sharply from a corrective dip and
- 5:35nearing a bullish crossover. By the way,
- 5:37you could even prompt and get graphs to
- 5:39demonstrate each of these trends. You
- 5:41can actually format a visual research
- 5:43report using this information, which
- 5:45which is really, really cool. You can
- 5:46even use this information to create
- 5:47custom indicators. You can ask Claude,
- 5:49you know, if you connect the TradingView
- 5:50MCP to overlay this information over the
- 5:53chart as well. So, that's a really good
- 5:55way to learn. Price is trading near the
- 5:56upper Bollinger band, which in a strong
- 5:58trend is typically a continuation
- 5:59signal, though it does raise near-term
- 6:01pullback risk towards the 78,400
- 6:04middle band. The combination of a fresh
- 6:06breakout to highs, recovering momentum,
- 6:08and non-overbought RSIs constructively
- 6:10bullish, but traders should watch for a
- 6:12confirmed MACD signal crossover as
- 6:14validation and whether price can hold
- 6:16above the 78,400
- 6:18to 79,800
- 6:20zone, since that would confirm continued
- 6:21trend health rather than a failed
- 6:23breakout. Then you've got the sentiment
- 6:25analyst who dug through all of the news
- 6:28and put together its proposal. Then the
- 6:30fundamentals analyst did its analysis
- 6:33with the entire summarized bull case,
- 6:36entire summarized bear case. I mean,
- 6:38this is really top-level stuff. If you
- 6:40actually read through the information,
- 6:41it's very, very in-depth, and I would
- 6:43imagine it would be particularly useful
- 6:45when it comes to analyzing things like
- 6:46stocks, and I'm going to give you an
- 6:47example of that in a minute here. We
- 6:48have the trader, we have the risk team,
- 6:50we have a bullish, bearish, and neutral
- 6:52analyst giving their opinions. And then
- 6:54finally, after all of that, it comes
- 6:56down to the portfolio manager with the
- 6:58overall rating, which is hold, with the
- 7:00executive summary saying, "It is not a
- 7:02place to add and also not a place to
- 7:04liquidate. Load a conditional upgrade to
- 7:06overweight on a decisive rally close
- 7:08above 83,000, with the first tranche
- 7:10gated on a successful retest of 83K at
- 7:14support." So, what we can do as the next
- 7:15step here is actually start to develop
- 7:17some AI automated triggers, which I'll
- 7:20show you how to do that to actually
- 7:21automate a trade. One thing that's very
- 7:22obvious when you read through this
- 7:24analysis is that it's not AI slop. Like,
- 7:26if you ask a Claude chat for
- 7:27information, it doesn't use the same
- 7:29language, formatting, depth. It doesn't
- 7:31have access to the same data sources
- 7:33that you're obviously getting through
- 7:35the Trading Agent's resource on GitHub.
- 7:37So, when it comes to actually analyzing
- 7:39stocks, Bitcoin, and automated trading,
- 7:41this is like miles better than if you
- 7:42were just using a Claude app. We'll get
- 7:44into the trading in a second, but I find
- 7:46this particularly useful when it comes
- 7:48to stocks because stocks have even more
- 7:50data when it comes to the financial
- 7:52reporting, projections, fundamental,
- 7:54bull case, bear case, etc. So, if I do a
- 7:57prompt like this, could you please run
- 7:59an analysis from the beginning on Meta
- 8:01stock to work out if it's a buy or a
- 8:04sell right now? This is a stock that
- 8:05fundamentally I'm actually bullish on
- 8:07because and obviously not financial
- 8:08advice, but my personal thesis is that
- 8:11distribution in the AI era will become
- 8:13really important, especially if
- 8:15open-source models genuinely threaten
- 8:17the frontier labs. Then the enterprises
- 8:19with baked-in distribution, so Google is
- 8:21one of them due to the amount of people
- 8:23that use the Google Suite, Microsoft is
- 8:24one of them due to the amount of people
- 8:25that use Microsoft, and then Meta is one
- 8:27of them because of the amount of people
- 8:28that use Instagram, Facebook, and
- 8:30WhatsApp. I think given how strong of a
- 8:32position they're in to distribute AI and
- 8:34optimize AI in terms of ad spend, I
- 8:36think they're in a strong position
- 8:37personally, but I'm interested to see
- 8:39what the analyst actually says about the
- 8:41price and whether there's a trade
- 8:42opportunity. What you can also do is you
- 8:44can set loops running overnight. So, if
- 8:46you plug your portfolio into Claude or
- 8:48into Codex, you can actually have an
- 8:50analysis happening overnight. So, every
- 8:52single morning you get a report that
- 8:53notifies you whether there has been a
- 8:55material change in your portfolio. The
- 8:57way to do this is by scheduling a task
- 9:00on Claude, which you can do. But since
- 9:01it's on Claude code, you do need the
- 9:03session to be open overnight. So, either
- 9:05doing it on a separate device, which is
- 9:07always on, or on a VPS, so a virtual
- 9:09private server that you can set up on
- 9:10one of the websites. For example, I use
- 9:12Hostinger. If you want a link, I'll
- 9:13leave it below. I think we have, you
- 9:15know, a discount going. But I
- 9:16essentially have a computer running 24/7
- 9:18for a lot of my AI trading because if
- 9:20you want truly 24/7 autonomous trade
- 9:22execution or even, you know, at the very
- 9:25least analysis, then you're going to
- 9:26need a computer that's on 24/7. Another
- 9:29thing is you got to remember this is the
- 9:31brain because we're interfacing with
- 9:33Claude code as a harness right now. But
- 9:35you could develop a front end that looks
- 9:37a lot nicer than this. For example, you
- 9:39could use an application like Buzz,
- 9:41which is built by Jack Dorsey, which is
- 9:42essentially Slack for agents. You could
- 9:44have research channels that give you
- 9:46alerts that are formatted nicer. You
- 9:47could even create a custom front-end, so
- 9:50you could build your own front-end UI
- 9:51dashboard with updates on your
- 9:53portfolio. So, you just go in the
- 9:54morning and look at a dashboard and
- 9:55everything's formatted really nice. So,
- 9:57this is the raw information cuz I'm
- 9:59showing you the behind-the-scenes
- 10:00process of trading agents, but you can
- 10:02make it look really nice. And of course,
- 10:03once you start actually executing,
- 10:05you'll have a nice dashboard because
- 10:07you'll be able to see your positions.
- 10:08For example, I had an AI agent place a
- 10:10position on Nvidia, which I've already
- 10:12made $40 on, which I'll show you the
- 10:14execution piece once the analysis is
- 10:16finished here. So, you can see here that
- 10:17it's actually breaking down the
- 10:19year-on-year revenue growth, which is up
- 10:2028% for Meta, their gross margin, their
- 10:23forward multiple, the trend, the bear
- 10:26case. So, I think with stocks it's a
- 10:28very, very cool tool to use, and you can
- 10:30actually use this to generate a buy,
- 10:32hold, or sell rating for your stock
- 10:34positions, which I think is really
- 10:36handy. Okay, so there are three levels
- 10:38to using this tool, in my opinion. Level
- 10:40one is the morning read. So, you can run
- 10:42it based on your portfolio. So, you just
- 10:44copy and paste your tickets in. You get
- 10:45it to produce a summary, and then, you
- 10:47know, you can manually then decide if
- 10:48you want to make any material changes to
- 10:50your portfolio. It probably costs around
- 10:52a $1 to $2. It depends on the model, and
- 10:54it depends on the effort of the model
- 10:55per run. So, it will cost some money,
- 10:58but you don't need to run it every day,
- 10:59especially if you're a higher time frame
- 11:00trader. Level two, this is the level up
- 11:02that I was discussing, is it runs itself
- 11:05based on a schedule. So, you'll need a
- 11:06VPS for this, where you have a schedule.
- 11:08So, every day at 9:00 a.m., every 2 days
- 11:10at 9:00 a.m., you run through your
- 11:12entire portfolio, which you you can have
- 11:14your portfolio on Notion or a Google
- 11:15Sheet, you know, wherever you keep it,
- 11:16you can just connect it, and you can
- 11:18have a summary landing in Telegram. You
- 11:20can connect it with Bot Father. You can
- 11:21even use Notice or another tool to get
- 11:23it sent to your WhatsApp. So, you can
- 11:24just literally get a notification. This
- 11:26will cost you maybe $30 to $50 a month.
- 11:28It depends on how often you want the
- 11:30alerts, but that is for the pure
- 11:31analysis side of things. So, those are
- 11:33the first two levels. The third level,
- 11:35which I'll show you now, is essentially
- 11:36putting these trades onto a real
- 11:40execution book. I'll show you a paper
- 11:42trading book in a second, and then you
- 11:44can level it up to, you know, a real
- 11:45money account if you want. The principle
- 11:46is the exact same, where you get the
- 11:48outcome that is then translated into a
- 11:50plan, and then that plan, which is
- 11:52developed by the engine, is then treated
- 11:53as a conditional order which gets placed
- 11:55on a brokerage, for example, Alpaca. And
- 11:57obviously, you can have an MD file with
- 11:59a set of guardrails, for example, max
- 12:0120% per position, no market orders, so
- 12:03limit orders only, cancel stale orders.
- 12:05You can have a kill switch file. You can
- 12:06even have an approval, where just before
- 12:08it sets the order, you need to manually
- 12:10click approve. So, it will line
- 12:11everything up, the buy price, the
- 12:13amount, etc., and you just need to
- 12:14approve and click approve. That's one
- 12:15way that you can reduce, because I think
- 12:17a big thing, you know, with crypto
- 12:18trading, stock trading, you know, people
- 12:20have complacency or they don't act. Um
- 12:22I've been the exact same for a long
- 12:23time. Like, I'll have an idea, I'll have
- 12:24a trade thesis, but when push comes to
- 12:26shove, I don't act on a position, buying
- 12:28or selling. Whereas, this takes away the
- 12:30friction and literally makes it a binary
- 12:32yes or no. So, it takes away all of that
- 12:33grunt work. But, I'll show you right now
- 12:34how to actually conduct level three. So,
- 12:36we just analyzed Bitcoin and Meta. So,
- 12:38I'm going to ask Claude to read those
- 12:40two reports, Bitcoin, Meta, turn each
- 12:42verdict into a concrete order plan for
- 12:45my Alpaca account using paper for the
- 12:47example of this video, but in the top
- 12:48left you can switch to a real account.
- 12:50But, I always recommend when you start
- 12:51learning automation, when you start
- 12:53testing, always test using a paper
- 12:54account, and then, you know, build
- 12:56systems which are robust, and then you
- 12:57can always move to real trading later.
- 12:58Same with algo trading bots. Always
- 13:00start on a paper exchange, and then move
- 13:02to real trading later. But, the process
- 13:04is the exact same. I've given it some
- 13:05rules, so each order, maximum 10% of
- 13:07current cash, no market orders,
- 13:09everything's a limit or a stop limit
- 13:10that only fills if the desk's trigger is
- 13:13hit. If the verdict is hold with a
- 13:14breakout trigger and a pullback zone,
- 13:15place one order for each, a stop limit
- 13:17buy at the breakout level, and a limit
- 13:19buy in the lower half of the pullback
- 13:21zone. Before placing anything, show me a
- 13:22table, tick a verdict, order type,
- 13:24trigger price, limit price, quantity,
- 13:26dollar size, etc. Wait for me to type
- 13:28yes to process the order. After I
- 13:29confirm, place the orders through the
- 13:31Alpaca MCP, then show me the accounts
- 13:33opening order so I can see them on my
- 13:34book. So, you can see here it took my
- 13:36instructions and it developed a real
- 13:38trading plan. So, you can see here we've
- 13:40got the stop limit buy based on the
- 13:43analysis at $83,000.
- 13:45So, that would be the breakout trigger
- 13:47zone. We have the meta stop limit buy at
- 13:49$703. We have the meta limit buy at 620
- 13:52as well. It gives us the justification
- 13:55for the range and it also points out the
- 13:57nuance so we can set a limit order, but
- 13:58if it's not a decisive daily close, then
- 14:01we might cancel the order last minute.
- 14:02That's where the manual approval comes
- 14:04in. And of course, the orders would have
- 14:06to be conditional on a macro check at
- 14:08the time. You could theoretically also
- 14:09run an experiment where you just gave
- 14:12the trading agents full range of your
- 14:14account. And you know, if you use paper
- 14:16trading for example, you can literally
- 14:17get them to make adjustments whenever
- 14:19they want on your positions or a
- 14:22specific set of assets that you asked
- 14:23them to analyze. But in practice, you
- 14:25probably have a portfolio that you're
- 14:26managing. You probably have assets that
- 14:28you're interested in and you're probably
- 14:29still wanting to have some sort of
- 14:32manual discretion over the the entries
- 14:34and exits on those assets. So, a system
- 14:36like this in that case would make more
- 14:37sense. So, you can see it's just placed
- 14:40all of the orders. So, if we go onto my
- 14:41exchange account, you can see we have
- 14:43the meta limit order. We have the
- 14:44Bitcoin limit order and uh these were
- 14:46previous buys that I made on another
- 14:48test. And we also have an expiry date in
- 14:49case the orders don't trigger by those
- 14:51dates. It's quite a cool feeling being
- 14:53able to talk to Claude and then having a
- 14:55brokerage trading on your behalf. As I
- 14:57said before, if you run a VPS, you could
- 14:58literally run an experiment where you
- 15:00just get a model like this to trade on
- 15:02your behalf. I probably wouldn't
- 15:03recommend that though because I think
- 15:05the power of this model is empowering
- 15:07you with the tools to make better
- 15:10decisions and to speed up execution. And
- 15:12I think the concept of speeding up
- 15:14execution is so important because we all
- 15:16have busy lives. So, if you can just get
- 15:17an update on Telegram, be on the way to
- 15:19work on your phone, and then just send
- 15:22it a message like, "Yep, trigger the
- 15:23position, execute the stop loss." And
- 15:25just have that executing. That's so much
- 15:26better than needing to sit down, log
- 15:28into a brokerage account, manually amend
- 15:30a position, set a limit order, check
- 15:32that it's correct. I think the future of
- 15:33trading is people interacting with
- 15:35agents directly. So, I'm going to leave
- 15:37the full setup guide from this video so
- 15:38you can just drag and drop it into
- 15:40Claude. It'll include all of the steps.
- 15:42It'll walk you through the steps on
- 15:43setting up also an Alpaca account. You
- 15:45can also use other MCPs for other
- 15:47brokerages, so you don't need to use
- 15:48Alpaca. I just find it's the best and
- 15:50the most compatible with the majority of
- 15:52the AI models. And in the free school
- 15:54community, we'll have all of the other
- 15:55resources from all of my other videos as
- 15:57well. So, let me know what you guys
- 15:58think of trading agents. I think it's
- 16:00one of the best AI trading free GitHub
- 16:03repos out there. Subscribe to the
- 16:05channel for more content like this, and
- 16:06I will see you in the next video. Have a
- 16:08lovely rest of your day. Peace out.
About this transcript
This page contains the full transcript of Claude + GitHub = The Most OVERPOWERED AI Trader I've Ever Seen by Miles Deutscher Finance, generated from the public captions YouTube serves with the video. The transcript has 3,690 words across 533 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.
What you can do with it
Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to choose a caption track available on the video.
Free YouTube transcript tool
YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, caption language selection, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.