<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Rallypi</title>
    <description>The latest articles on DEV Community by Rallypi (@rallypi).</description>
    <link>https://dev.to/rallypi</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3862454%2Fcce4bc65-4007-495c-b02a-d8a01dd0e78b.png</url>
      <title>DEV Community: Rallypi</title>
      <link>https://dev.to/rallypi</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/rallypi"/>
    <language>en</language>
    <item>
      <title>I built an AI to analyze stocks after losing money trading</title>
      <dc:creator>Rallypi</dc:creator>
      <pubDate>Sun, 05 Apr 2026 15:36:03 +0000</pubDate>
      <link>https://dev.to/rallypi/i-built-an-ai-to-analyze-stocks-after-losing-money-trading-33cp</link>
      <guid>https://dev.to/rallypi/i-built-an-ai-to-analyze-stocks-after-losing-money-trading-33cp</guid>
      <description>&lt;ol&gt;
&lt;li&gt;Why I built this&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I kept losing money trading U.S. stocks, and realized most of my time was spent reading news and trying to interpret it.&lt;/p&gt;

&lt;p&gt;After a while, it became repetitive and exhausting.&lt;/p&gt;

&lt;p&gt;So I built a small tool for myself.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;What it does&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;It takes in news and SEC filings, and turns them into structured daily summaries.&lt;/p&gt;

&lt;p&gt;Instead of reading dozens of articles, I can quickly see:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;what moved the market&lt;/li&gt;
&lt;li&gt;key takeaways per ticker&lt;/li&gt;
&lt;li&gt;overall market flow after the close&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;3.Key features&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Daily market close reports
&lt;/li&gt;
&lt;li&gt;On-demand per-ticker analysis (cached after first run)
&lt;/li&gt;
&lt;li&gt;ETF composition and trend insights
&lt;/li&gt;
&lt;/ul&gt;

&lt;ol&gt;
&lt;li&gt;Challenges&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;One of the hardest parts was balancing cost vs performance.&lt;/p&gt;

&lt;p&gt;Initially, I wanted real-time generation, but LLM + data API costs were too high.&lt;/p&gt;

&lt;p&gt;So I switched to:&lt;br&gt;
→ generate once after market close&lt;br&gt;&lt;br&gt;
→ cache results for fast access  &lt;/p&gt;

&lt;p&gt;This reduced costs significantly.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;What I learned&lt;/li&gt;
&lt;/ol&gt;

&lt;ul&gt;
&lt;li&gt;AI feels more like amplification than replacement
&lt;/li&gt;
&lt;li&gt;Small problems can take an entire day to solve
&lt;/li&gt;
&lt;li&gt;Infrastructure (AWS, CI/CD) was harder than expected
&lt;/li&gt;
&lt;/ul&gt;

&lt;ol&gt;
&lt;li&gt;Open question&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Even with sufficient ECS + RDS resources, the first request feels slow.&lt;/p&gt;

&lt;p&gt;Subsequent requests are fast (due to caching), but initial load is delayed.&lt;/p&gt;

&lt;p&gt;My guess is:&lt;br&gt;
→ cache miss → generation pipeline → LLM latency  &lt;/p&gt;

&lt;p&gt;Curious if anyone has dealt with similar issues.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Link&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;If you're curious, here's what I built:&lt;br&gt;
&lt;a href="https://rallypi.com" rel="noopener noreferrer"&gt;https://rallypi.com&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>webdev</category>
      <category>startup</category>
      <category>aws</category>
    </item>
  </channel>
</rss>
