<?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: Volamind</title>
    <description>The latest articles on DEV Community by Volamind (@volamind).</description>
    <link>https://dev.to/volamind</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4255690%2Fc91fc1db-5db3-45e4-945b-bfca88c4e320.png</url>
      <title>DEV Community: Volamind</title>
      <link>https://dev.to/volamind</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/volamind"/>
    <language>en</language>
    <item>
      <title>Separating deterministic portfolio math from multi-agent LLM stock research in TypeScript</title>
      <dc:creator>Volamind</dc:creator>
      <pubDate>Thu, 26 Nov 2026 16:43:40 +0000</pubDate>
      <link>https://dev.to/volamind/separating-deterministic-portfolio-math-from-multi-agent-llm-stock-research-in-typescript-5afa</link>
      <guid>https://dev.to/volamind/separating-deterministic-portfolio-math-from-multi-agent-llm-stock-research-in-typescript-5afa</guid>
      <description>&lt;p&gt;When self-directed stock investors paste a brokerage table into a general-purpose chat model and ask "Am I over-concentrated?", two things routinely go wrong:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Tokenized arithmetic drifts across turns.&lt;/strong&gt; Ask a model to trim a 32% position back to a 25% cap while keeping total portfolio capital constant, and prose reasoning frequently confuses the simple excess above cap with the post-sale denominator.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Single-prompt research agrees with the prompt's framing.&lt;/strong&gt; Ask why a stock looks cheap and you get a bull pitch. Ask why it looks dangerous and you get a bear pitch. Neither is anchored to a repeatable position-sizing check.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;While building &lt;a href="https://volamind.com" rel="noopener noreferrer"&gt;Volamind&lt;/a&gt;, we drew a hard line in the TypeScript architecture: &lt;strong&gt;LLMs never compute portfolio weights, concentration thresholds, or rebalance dollar amounts.&lt;/strong&gt; Deterministic functions run the math first, and specialist research agents only read the resulting structured snapshot alongside SEC 10-K and 10-Q filings.&lt;/p&gt;

&lt;p&gt;Today we extracted that deterministic layer into a standalone, zero-login calculator anyone can test in the browser: &lt;strong&gt;&lt;a href="https://volamind.com/concentration-calculator" rel="noopener noreferrer"&gt;Volamind Portfolio Concentration Calculator&lt;/a&gt;&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Here is the math behind the three checks that catch hidden concentration fastest.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Counting effective independent bets with inverse HHI
&lt;/h2&gt;

&lt;p&gt;Owning 10 tickers does not mean owning 10 diversified bets. If one winner has compounded to 48% of your account and nine smaller positions split the remaining 52%, your portfolio behaves closer to three equal-sized positions than ten.&lt;/p&gt;

&lt;p&gt;In industrial organization and portfolio construction, the cleanest way to measure this is the &lt;strong&gt;Herfindahl-Hirschman Index (HHI)&lt;/strong&gt; and its reciprocal, the &lt;strong&gt;effective number of positions&lt;/strong&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;export&lt;/span&gt; &lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;computeEffectiveBets&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;dollarValues&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;number&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="n"&gt;totalValue&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;number&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="n"&gt;weights&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;number&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="n"&gt;hhi&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;number&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="n"&gt;effectivePositionCount&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;number&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;clean&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;dollarValues&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;filter&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;v&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nb"&gt;Number&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;isFinite&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;v&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="n"&gt;v&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;totalValue&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;clean&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;reduce&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;sum&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;v&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;sum&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;v&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;totalValue&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;=&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;totalValue&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;weights&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;hhi&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;effectivePositionCount&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;

  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;weights&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;clean&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;map&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;v&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;v&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="n"&gt;totalValue&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;hhi&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;weights&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;reduce&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;sum&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;w&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;sum&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;w&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;w&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="n"&gt;totalValue&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;weights&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;hhi&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;effectivePositionCount&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;hhi&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="o"&gt;?&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="n"&gt;hhi&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Check the boundary cases:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Equal weights:&lt;/strong&gt; Five $10,000 positions each carry $w_i = 0.20$. Then $\sum w_i^2 = 5 \times 0.04 = 0.20$, and $1 / 0.20 = 5.0$ effective bets.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Top-heavy weights:&lt;/strong&gt; One $32,000 position and four $4,500 positions total $50,000. Weights are $0.64$ and four copies of $0.09$. Then $\sum w_i^2 = 0.4096 + 4(0.0081) = 0.442$, so $1 / 0.442 \approx 2.26$ effective bets out of 5 tickers.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Showing "2.3 effective bets across 5 holdings" communicates concentration risk far faster than a pie chart.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Rebalance shift vs outright sale
&lt;/h2&gt;

&lt;p&gt;Suppose a $100,000 portfolio holds $32,000 in NVDA (32.0%) against a 25.0% single-stock cap ($L = 0.25$):&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Reinvested shift (keeping total portfolio value $V$ constant):&lt;/strong&gt; Moving $V \times (w_i - L) = \$100,000 \times (0.32 - 0.25) = \$7,000$ out of NVDA and into diversified holdings brings NVDA directly to $25,000 / 100,000 = 25.0\%$.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cash withdrawal sale (shrinking total portfolio value):&lt;/strong&gt; If instead you sell $x$ dollars and withdraw the cash from the portfolio, the new weight is $(32,000 - x) / (100,000 - x) = 0.25$, which requires selling $x = \$9,333.33$.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Chat models conflate these two operations constantly. In our calculator we compute the constant-capital shift explicitly and state the assumption right next to the dollar figure:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;limitFraction&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;positionLimitPct&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="mi"&gt;100&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;excessPct&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;Math&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;max&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;weightPct&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;positionLimitPct&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;dollarShiftToCap&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt;
  &lt;span class="n"&gt;excessPct&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;
    &lt;span class="o"&gt;?&lt;/span&gt; &lt;span class="nb"&gt;Math&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;max&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;marketValue&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;totalValue&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;limitFraction&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  3. Catching single-sector clustering (the 40% guardrail)
&lt;/h2&gt;

&lt;p&gt;Individual position caps miss correlated drawdowns. Holding 18% NVDA, 16% AMD, 15% AVGO, and 14% MSFT passes a 25% single-stock rule on every row, yet puts &lt;strong&gt;63% of total equity in Technology&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Aggregating weights by GICS sector and flagging any sector above 40% catches disguised one-theme portfolios before an earnings miss reprices the entire group together.&lt;/p&gt;

&lt;h2&gt;
  
  
  Pairing deterministic risk checks with 12-agent SEC memos
&lt;/h2&gt;

&lt;p&gt;Once the deterministic math computes exact weights, sector totals, and over-limit flags, our research pipeline handles the qualitative work that code formulas cannot: reading SEC 10-K and 10-Q filings, separating fundamentals from sentiment, and running an explicit bull-versus-bear debate before issuing an Overweight, Hold, or Underweight stance.&lt;/p&gt;

&lt;p&gt;If you want to inspect both halves live in the browser (neither requires creating an account):&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Zero-login Concentration Calculator:&lt;/strong&gt; &lt;a href="https://volamind.com/concentration-calculator" rel="noopener noreferrer"&gt;https://volamind.com/concentration-calculator&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Read-only 12-Agent NVDA Demo &amp;amp; Grounded Chat:&lt;/strong&gt; &lt;a href="https://volamind.com/demo" rel="noopener noreferrer"&gt;https://volamind.com/demo&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you build financial or analytics interfaces with LLMs, curious where else you draw the boundary between deterministic TypeScript functions and agentic reasoning.&lt;/p&gt;

</description>
      <category>typescriptnextjsaifintech</category>
    </item>
    <item>
      <title>How I built a 12-agent stock portfolio research desk at $0.03 per report</title>
      <dc:creator>Volamind</dc:creator>
      <pubDate>Fri, 20 Nov 2026 12:24:23 +0000</pubDate>
      <link>https://dev.to/volamind/how-i-built-a-12-agent-stock-portfolio-research-desk-at-003-per-report-3cdg</link>
      <guid>https://dev.to/volamind/how-i-built-a-12-agent-stock-portfolio-research-desk-at-003-per-report-3cdg</guid>
      <description>&lt;p&gt;If you hold a dozen individual stocks and ask a single-prompt LLM chatbot how a company's quarter went, two things usually go wrong. First, the model has no context on your actual portfolio weights, sector exposure, or single-position risk limit. Second, a single prompt tends to mirror the framing of your question and summarize headlines without checking primary SEC filings.&lt;/p&gt;

&lt;p&gt;Open-source multi-agent frameworks like TradingAgents showed a better structure: split equity research into specialist roles and force an explicit debate before anyone writes a conclusion. The catch is that cloning a Python repo, wiring market data keys, and running terminal scripts for one ticker at a time is too much friction when you want daily coverage across an entire portfolio.&lt;/p&gt;

&lt;p&gt;So I built &lt;a href="https://volamind.com?utm_source=devto&amp;amp;utm_medium=article" rel="noopener noreferrer"&gt;Volamind&lt;/a&gt;, a web app that runs a 12-agent research desk on the stocks you own, checks concentration against your own rules, and grounds follow-up chat in SEC EDGAR filings and live quotes.&lt;/p&gt;

&lt;p&gt;You can explore a full Microsoft report, the bull-vs-bear debate, and cited follow-up chat with zero login here:&lt;br&gt;
&lt;a href="https://volamind.com/demo?utm_source=devto&amp;amp;utm_medium=article" rel="noopener noreferrer"&gt;Inspect the live Microsoft report on /demo&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Splitting one prompt into 12 structured agent steps
&lt;/h2&gt;

&lt;p&gt;Rather than asking one model to do everything in one pass, each stock report runs as a directed graph of specialized steps:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Four specialist analysts execute in parallel: a fundamentals analyst reading financial statements and SEC EDGAR filings, a technicals analyst reading price action and momentum, a news analyst scanning recent company and macro events, and a sentiment analyst.&lt;/li&gt;
&lt;li&gt;A bull researcher and a bear researcher take those four briefs and argue both sides of the thesis over multiple rounds. Having a dedicated bear agent prevents the sunny consensus tone you normally get from chat models.&lt;/li&gt;
&lt;li&gt;A research manager synthesizes the debate, a trader agent translates it into an actionable stance, and three risk analysts (seeking, neutral, and conservative) challenge the downside before the desk issues one dated card (&lt;code&gt;Overweight&lt;/code&gt;, &lt;code&gt;Equal-weight&lt;/code&gt;, or &lt;code&gt;Underweight&lt;/code&gt;) with explicit key risks.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;For follow-up questions, the companion chat calls structured tools (&lt;code&gt;get_quote&lt;/code&gt;, &lt;code&gt;get_market_backdrop&lt;/code&gt;, &lt;code&gt;get_recent_filings&lt;/code&gt; against SEC EDGAR, and grounded web search) so factual numbers link directly to the underlying filing or quote rather than relying on model memory.&lt;/p&gt;

&lt;h2&gt;
  
  
  Solving the unit-economics trap before opening a no-card trial
&lt;/h2&gt;

&lt;p&gt;Running 12 LLM steps per stock sounds expensive if you run it naively per user request. As a solo founder, my biggest constraint was making sure a traffic spike could never turn into a surprise cloud bill, while also avoiding token credit meters that make users hesitate before clicking anything.&lt;/p&gt;

&lt;p&gt;Three architectural choices made the math work:&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Shared ticker-day report cache
&lt;/h3&gt;

&lt;p&gt;An equity research report on &lt;code&gt;MSFT&lt;/code&gt; or &lt;code&gt;NVDA&lt;/code&gt; for &lt;code&gt;2026-11-20&lt;/code&gt; depends on the instrument and the market data as of that UTC date, not on who asked for it. Reports are keyed by &lt;code&gt;(instrument_id, as_of_date)&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;When our nightly coverage job runs &lt;code&gt;MSFT&lt;/code&gt; once, it costs roughly &lt;code&gt;$0.03&lt;/code&gt; in tokens. Whether 1 investor or 500 investors hold &lt;code&gt;MSFT&lt;/code&gt; in their portfolios that day, everyone reads that dated report from PostgreSQL at zero marginal LLM cost. Portfolio-specific checks (like flagging that &lt;code&gt;MSFT&lt;/code&gt; is 28% of your portfolio when your personal concentration limit is 20%) are computed deterministically on top of your holdings.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Global daily uncached-ticker budget
&lt;/h3&gt;

&lt;p&gt;What if someone imports 40 obscure micro-cap tickers that nobody else on the platform holds? We enforce a global daily budget cap (&lt;code&gt;60&lt;/code&gt; brand-new on-demand ticker reports per day and &lt;code&gt;40&lt;/code&gt; nightly scheduled reports prioritized by how many portfolios hold each ticker). Cached tickers remain instant and unlimited, while worst-case daily report token spend stays capped around &lt;code&gt;$3/day&lt;/code&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Feature tiers instead of credit anxiety
&lt;/h3&gt;

&lt;p&gt;Because report generation is shared and bounded, we keep pricing simple instead of charging per prompt:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Free (&lt;code&gt;$0&lt;/code&gt; forever) includes the portfolio tracker, watchlists, sector and currency exposure breakdown, concentration check against your own position limit, side-by-side stock comparison (1-year return, annualized volatility, max drawdown), and an earnings, dividend, and macro calendar filtered to your holdings.&lt;/li&gt;
&lt;li&gt;Every new sign-up gets a 7-day full Pro trial with no credit card required, unlocking full bull-vs-bear reports, daily Signals across all holdings, and cited SEC filing chat.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Honest trade-offs I am still refining
&lt;/h2&gt;

&lt;p&gt;Two real edge cases showed up quickly in production:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Daily rating sensitivity on borderline names: when a stock sits right on the boundary between &lt;code&gt;Equal-weight&lt;/code&gt; and &lt;code&gt;Overweight&lt;/code&gt;, a noisy news day can flip the badge more frequently than a human analyst would. Adding thesis hysteresis (requiring conviction to cross a wider band before changing a prior rating) is next on my roadmap.&lt;/li&gt;
&lt;li&gt;Financial-sector ratios: standard free-cash-flow margin comparisons work cleanly for software and industrials, whereas banks and insurers need book-value and net-interest-margin templates.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Try it on your own holdings
&lt;/h2&gt;

&lt;p&gt;Volamind is for research and education only, not financial advice, and it never asks for brokerage credentials (you enter tickers and cost basis directly).&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;No-login interactive demo: &lt;a href="https://volamind.com/demo?utm_source=devto&amp;amp;utm_medium=article" rel="noopener noreferrer"&gt;https://volamind.com/demo&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Create a free account (includes 7-day Pro trial, no card): &lt;a href="https://volamind.com/sign-up?utm_source=devto&amp;amp;utm_medium=article" rel="noopener noreferrer"&gt;https://volamind.com/sign-up&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you hold individual stocks or build multi-agent workflows, I would love your feedback on the bull-vs-bear debate structure and what data sources or screening checks you would want next!&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>fintech</category>
      <category>webdev</category>
      <category>ai</category>
    </item>
  </channel>
</rss>
