<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by MakiBoro on Medium]]></title>
        <description><![CDATA[Stories by MakiBoro on Medium]]></description>
        <link>https://medium.com/@maki53?source=rss-77f60d22a20e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*7srrJcxsk6eR9T3G8PIKhQ.jpeg</url>
            <title>Stories by MakiBoro on Medium</title>
            <link>https://medium.com/@maki53?source=rss-77f60d22a20e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 12:41:55 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@maki53/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[I Fine-Tuned a 2B Vision Model to Watch My Cat. It Beat One 4× Its Size.]]></title>
            <link>https://medium.com/@maki53/i-fine-tuned-a-2b-vision-model-to-watch-my-cat-it-beat-one-4-its-size-a174803904b3?source=rss-77f60d22a20e------2</link>
            <guid isPermaLink="false">https://medium.com/p/a174803904b3</guid>
            <category><![CDATA[ai-for-good]]></category>
            <category><![CDATA[animal-behavior]]></category>
            <category><![CDATA[cats]]></category>
            <category><![CDATA[animal-welfare]]></category>
            <category><![CDATA[ai-agent-development]]></category>
            <dc:creator><![CDATA[MakiBoro]]></dc:creator>
            <pubDate>Fri, 23 Oct 2026 14:04:49 GMT</pubDate>
            <atom:updated>2026-10-23T14:04:49.920Z</atom:updated>
            <content:encoded><![CDATA[<h4>What 99 days of home-camera data taught me about building a local, honest pet AI on one MacBook</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UyrqcACrhv703kqtM6uEFw.png" /><figcaption>A day of my cat, minute by minute</figcaption></figure><p>On October 16, my four home cameras watched my flat for 24 hours. My cat, Dangdang, was on camera for 143 minutes. 119 of those came after 7 p.m., almost all of it lying in the dining room.</p><p>I know because I built the thing that counted.</p><p>I used to study animal behaviour at a zoo, and one of my PhD topics is how AI can help animal welfare. Watching animals was the day job, and the bottleneck was never cameras. It was people to watch the footage. So when I wanted to know what my own cat does all day, I didn’t want another app pinging “motion detected” forty times a day. And I didn’t want to pay a subscription to send my home video to someone else’s server for the smart part.</p><p>So I built my own, and it runs on one MacBook. This is what I learned along the way, without the code: the decisions that would help you build something similar, and the mistakes I’d rather you skipped.</p><h3>The shape of the system</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TLczKrtnJxsn0n4AI5LInA.png" /><figcaption>Caption: How it works</figcaption></figure><p>Four ordinary RTSP cameras stream into a Mac. For every stretch of video where something moves, the Mac answers four questions:</p><ol><li><strong>Is there an animal?</strong> An open-source detector, RF-DETR.</li><li><strong>Which animal is it?</strong> Re-identification: compare what it sees with examples I’ve confirmed, using DINOv2 image features.</li><li><strong>What is it doing?</strong> Posture in each frame, then behaviour over time.</li><li><strong>How would a person write that down?</strong> A small vision-language model writes one plain sentence.</li></ol><p>All of it rolls up into a daily view. That view sums up the day in a single line and replays it on a floor plan I drew of my flat, and day, week and month reports sit behind it.</p><p>Two early decisions shaped everything else.</p><p><strong>Watch live, and cheaply.</strong> The first version analysed each 10-minute recording after it finished. With four cameras it fell 17 hours behind, and the daily report simply never arrived. Now it looks at about two frames a second and only wakes the heavier detector when something moves.</p><p><strong>Run locally by default.</strong> The only optional cloud step is writing the diary sentence, and it never sends a clip with a person in it. More on that below.</p><h3>Rule one: “not seen” is an output</h3><p>The most important label in the system isn’t a behaviour. It’s “not seen.”</p><p>That October day, the cameras first saw my cat at 5:13 and last saw him at 23:57. In between they caught 143 minutes. For the rest, he was somewhere no camera could see. A naive system fills the gap with a story: “napped all afternoon.” Mine writes “not seen” and leaves it there.</p><p>Behaviour sheets in zoo research have a column for “out of sight” for the same reason. An honest gap is worth more than a confident guess.</p><p>The same logic applies inside the frame. My AI never claims a cat is asleep. At the size a home camera sees a cat, especially in infrared at night, eyes and breathing are a few pixels. So it reports what it can see (lying on its side, lying on its chest, still for a long time) and labels sleep as an inference.</p><p>That costs you some impressive-looking dashboards. In return, when the system says something, you can trust it, and every number leads back to the clip it came from.</p><h3>The hard part: who is who</h3><p>Identity is where home pet AI quietly breaks, and my own data made the point embarrassingly well.</p><p>My friend’s cat, BBS, stays with us when they travel. Across 99 days of records, the AI logged “BBS” on 43 days. She actually stayed for 20 days.</p><p>Two things were happening. While she stayed, the AI mostly refused to guess. Minutes it filed as “don’t know who” jumped from about 11 a day to as many as 80. That is the behaviour I want. Credit a visiting cat’s time to the wrong record, and the resident cat’s routine silently becomes fiction.</p><p>After she went home, though, the AI kept “seeing” her on 23 days. Those are pure false positives, and they gave me something rare in this kind of work: a test that grades itself. On days she wasn’t in the building, every “BBS” label is wrong by definition. No labelling needed. For the days she did stay, I labelled 60 clips blind, split by day and night. My working explanation is infrared. At night the cameras drop colour, and a cream cat and an orange cat become two grey cats.</p><p>The fixes are unglamorous:</p><ul><li>more confirmed examples of the rare animal, especially at night;</li><li>a stricter bar before the system names anyone;</li><li>counting “unknown” as a success, not a failure.</li></ul><p>Zoos face the same problem every week, as animals arrive, leave and move between enclosures. A record system has to know who is actually there.</p><h3>Why I fine-tuned my own model</h3><p>The diary sentence (“Friday evening, in the dining room, the cat lies on its side under the table”) is the part people love. It was also the part that tempted me to break my own rule.</p><p>While I was building, a frontier cloud model wrote most of those sentences: 5,275 of the first 7,448. It was simply the best writer. But a product that promises your footage stays home, and then sends crops to the cloud for its best feature, isn’t keeping that promise. The open model I could run locally, used out of the box, got postures right about half the time. It also kept insisting two cats were in the shot when there was one.</p><p>So I fine-tuned a small one. A few things mattered more than the training run itself.</p><p><strong>Write the ethogram before the code.</strong> Animal-behaviour research describes behaviour with an ethogram: a fixed list of defined behaviours. I gave the model three layers: posture in each frame, what the cat is doing across a clip, and short moments worth counting. I deleted one word, “watching,” when I realised I couldn’t apply it consistently myself. If a person can’t use a label reliably, a model won’t either.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Nlte-ll9m-qEoAEqy1fvww.png" /><figcaption>The three layers of words the AI uses</figcaption></figure><p><strong>A few good labels beat many rough ones.</strong> I combined about 490 clips labelled carefully in all three layers with several thousand rougher captions from earlier, and gave the careful ones more weight.</p><p><strong>Split by recording, not by clip.</strong> Neighbouring frames from the same recording look almost identical. If some land in training and some in the test, the score measures memory, not understanding. My test set is whole recordings the model never saw in training.</p><p><strong>Train small, on the machine you have.</strong> LoRA on Apple’s MLX framework, updating about 0.4% of a 2-billion-parameter Qwen3-VL model, took roughly 90 minutes on an M3 Max laptop. I tried the 8-billion version too. Memory peaked at 27.5 GB, macOS swapped another 28 GB to disk, and I stopped it early.</p><h3>Results, and the ways it still fails</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KoKbYMfj8APvgMWG3GvOCQ.png" /><figcaption>The fine-tuned 2B against the untrained 8B</figcaption></figure><p>On 40 clips it had never seen, the fine-tuned 2B model against the untrained 8B:</p><ul><li><strong>Posture in each frame:</strong> 68% against 50%</li><li><strong>What the cat is doing:</strong> 68% against 53%</li><li><strong>“Are both cats in the shot?”:</strong> 95% against 48%</li><li><strong>Speed:</strong> about 4 seconds a clip against 8.6</li></ul><p>So a model a quarter of the size is more accurate at this one job, twice as fast, on a laptop.</p><p>It still fails, and in consistent ways:</p><ul><li>It says “pawing” far too often.</li><li>It misses sniffing.</li><li>It sometimes puts the room or camera name into the sentence, a habit copied from the rougher captions.</li></ul><p>Validation loss stopped improving early in training. The next gain will come from more good labels, not more steps.</p><p>These numbers come from one home, two cats and one labeller. They describe my records, not how the model performs anywhere else. Finding out how it travels to other homes is exactly what the beta is for.</p><h3>Routines, and the day the AI flagged</h3><p>Single days are noisy. Stack them up and they become a routine. Across 21 days in October, the same band lights up every evening: Dangdang in the dining room after 7 p.m.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VMHVMD8sQVJTb_qgXVWYnQ.png" /><figcaption>Minutes seen per hour across 21 October days</figcaption></figure><p>The app compares each day with that animal’s own usual day. It doesn’t compare him with other cats, and it isn’t a health score. When a day drifts far enough, the app marks it “a day to watch” and writes out the reasons. On August 16, Dangdang moved about 66% more than his usual. The footage explained it in seconds: he had a houseguest to chase. Given the identity trouble above, some of “his” movement may well have been hers.</p><p>That split is the point. The AI notices that a day is different, and a person decides why. It diagnoses nothing. If something looks wrong, that’s a vet’s call.</p><h3>Privacy, by architecture</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iEZlslbZDhr1XJ1NXyDDLw.png" /><figcaption>What leaves the Mac</figcaption></figure><p>Video, detection, identities, postures and reports stay on the Mac.</p><ul><li>The diary model runs locally by default. An optional cloud model can be switched on. It sends a few cropped pictures of the cat, and refuses any clip in which a person was detected.</li><li>People in shot are masked on screen. The original recording on your own machine is unchanged.</li><li>Any camera can be put in privacy mode, and then it isn’t recorded at all.</li></ul><h3>What I’d tell anyone building something similar</h3><ol><li><strong>Make “not seen” and “unknown” first-class outputs.</strong> They are the difference between a record and a story.</li><li><strong>Define your labels the way a researcher would</strong> before you train anything.</li><li><strong>Split your test set by recording.</strong></li><li><strong>Expect identity to be the hard problem,</strong> more than detection.</li><li><strong>A small model trained for one job</strong> can beat a big generalist, on a laptop.</li></ol><h3>What’s next</h3><p>More animals? or different scenarios?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a174803904b3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Day Trading Learning Resources: Beginner to Advanced]]></title>
            <link>https://medium.com/@maki53/day-trading-learning-resources-beginner-to-advanced-290cdd0c4351?source=rss-77f60d22a20e------2</link>
            <guid isPermaLink="false">https://medium.com/p/290cdd0c4351</guid>
            <category><![CDATA[day-trading-strategy]]></category>
            <category><![CDATA[day-trading]]></category>
            <category><![CDATA[trading]]></category>
            <dc:creator><![CDATA[MakiBoro]]></dc:creator>
            <pubDate>Wed, 08 Jul 2026 12:03:47 GMT</pubDate>
            <atom:updated>2026-07-08T12:03:47.050Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>A curated guide of books and strategy study sources, organized by experience level.</blockquote><blockquote><strong><em>A note before you start:</em></strong><em> Most beginner day traders lose money. The resources below are chosen because they emphasize risk management, realistic expectations, and testing before risking capital. Paper trade for at least a few months before using real money.</em></blockquote><h3>🟢 Beginner Level</h3><h3>Books</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1gkB-ROCel3uhTW2J6S71g.png" /></figure><p><strong>The three pillars:</strong> Aziz for mechanics, Douglas for mindset, Murphy for technicals.</p><h3>Websites</h3><ul><li><strong>Investopedia</strong> — Free, reliable explanations of every trading term and concept; includes a paper trading simulator.</li><li><strong>BabyPips</strong> — Free “School of Pipsology” course; aimed at forex but one of the best structured intros to trading concepts anywhere.</li><li><strong>TradingView</strong> — Free charting platform with paper trading and a large community sharing chart ideas.</li></ul><h3>Suggested Beginner Path</h3><ol><li>Read Aziz or work through Investopedia’s day trading basics.</li><li>Paper trade on TradingView or a broker simulator for <strong>at least a few months</strong>.</li><li>Read Douglas while paper trading.</li><li>Only then consider small amounts of real capital.</li></ol><h3>🟡 Intermediate Level</h3><h3>Books</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zjmAPPkq6vjKWyvvMAHp2Q.png" /></figure><h3>Communities</h3><ul><li><strong>r/Daytrading</strong> (Reddit) — Mixed quality, but the wiki is decent and reading post-mortems of blown accounts is educational in its own right.</li></ul><h3>🔴 Advanced Level</h3><p>At this level, the focus shifts from “how to trade” to <strong>market microstructure, statistics, position sizing, and proving your edge</strong>.</p><h3>Books</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7XA7AN5gx44vSEcvpu9L7w.png" /></figure><p><strong>If you pick only two:</strong> Aronson (validating edge) and Sinclair (sizing it correctly).</p><h3>Papers &amp; Quant Resources</h3><ul><li><strong>SSRN</strong> — Academic papers on intraday momentum, order flow imbalance, microstructure anomalies. Free; where many retail “edge” ideas originate.</li><li><strong>arXiv (q-fin section)</strong> — Quantitative finance preprints.</li><li><strong>QuantStart</strong> — Research and validation process for systematic strategies.</li><li><strong>Quantocracy</strong> — Daily aggregator of quant trading blogs; good for finding rigorous writers.</li></ul><h3>Tools &amp; Skills Worth Building</h3><ul><li><strong>Python</strong> (pandas, backtesting libraries) — Testing ideas on historical data yourself is the single biggest upgrade for a discretionary trader.</li><li><strong>Order flow tooling</strong> — Footprint charts, DOM, cumulative delta via Sierra Chart, Bookmap, or Jigsaw (if scalping-oriented).</li><li><strong>A serious trade journal</strong> — Tradervue, TraderSync, or a spreadsheet. Edge is usually concentrated in a narrow subset of setups, times of day, and conditions — only rigorous journaling reveals which.</li></ul><h3>📊 Strategy Study Sources</h3><h3>Books with Specific, Testable Strategies</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*atWYUdhr2f3HNK57qzACHw.png" /></figure><h3>Strategy Libraries &amp; Databases Online</h3><ul><li><strong>Quantpedia</strong> — Database of hundreds of strategies from academic papers, each with logic, backtest performance, and source links. Partly free.</li><li><strong>SSRN</strong> — Search “intraday momentum,” “opening range breakout,” “overnight returns” for original academic studies with full methodology.</li><li><strong>Alvarez Quant Trading</strong> (Cesar Alvarez’s blog) — Public backtests of popular strategy ideas, including when they don’t work.</li><li><strong>Quantified Strategies</strong> (quantifiedstrategies.com) — Backtests of hundreds of named strategies with rules and stats; quality varies but a useful idea catalog.</li><li><strong>Robot Wealth</strong> / <strong>QuantStart</strong> — More about the <em>process</em> of researching and validating strategies — the more durable skill.</li></ul><h3>Communities Where Strategies Get Dissected</h3><ul><li><strong>Elite Trader</strong> and <strong>futures.io</strong> forums — Long-running threads where practitioners argue for years about what works; more honest than any course.</li><li><strong>Bear Bull Traders</strong> and <strong>SMB Capital</strong> blogs/YouTube — Walkthroughs of named intraday setups (opening range, VWAP fades, breakout pullbacks) with chart examples.</li></ul><h3>⚠️ The Strategy Decay Caveat</h3><p>Published strategies decay — once a setup appears in a popular book or free blog post, its edge shrinks because everyone can see it. The highest-value approach:</p><ol><li>Take any strategy from these sources.</li><li><strong>Backtest it yourself on recent data.</strong></li><li>Understand <em>why</em> it worked, so you can tell when it stops.</li></ol><p>Pair strategy books with Chan or Aronson to build the validation skill.</p><h3>Quick-Start Summary by Level</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t7xobzNzjOBJ5g4OCCNS5w.png" /></figure><p><em>None of this is financial advice — it’s a study guide. Verify current availability and editions before purchasing.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=290cdd0c4351" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[High-Probability Large-Cap Swing Trading Systems]]></title>
            <link>https://medium.com/@maki53/high-probability-large-cap-swing-trading-systems-ddd7e52bb0cb?source=rss-77f60d22a20e------2</link>
            <guid isPermaLink="false">https://medium.com/p/ddd7e52bb0cb</guid>
            <category><![CDATA[trading]]></category>
            <category><![CDATA[swing-trading]]></category>
            <dc:creator><![CDATA[MakiBoro]]></dc:creator>
            <pubDate>Mon, 27 Apr 2026 14:43:30 GMT</pubDate>
            <atom:updated>2026-04-27T14:43:30.999Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>1. Strategic Framework for Market Participation</strong></p><p>Professional capital allocation requires a strategic transition from high-frequency intraday volatility to the structural stability of swing trading. For architects of trading systems who balance market participation with professional mandates, swing trading optimizes for reduced cognitive overhead and minimizes the necessity for high-frequency monitoring. By shifting the execution timeframe from minutes to days or weeks, the system prioritizes “momentum persistence” and high-conviction structural shifts over the “noise” of 1-minute or 5-minute price action.</p><p>The following table delineates the operational parameters of both methodologies:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5YLnOSjye2gFrkV-3lgWAg.png" /></figure><p>Professional logic dictates executing analysis and entries during the midday window (11:00 AM — 4:00 PM EST). By avoiding the opening range volatility and pre-market speculation, the system validates intraday price stability. Running scans after 12:00 PM EST ensures the candidate is “holding its gains” and that the daily candle structure is authenticated before capital is committed.</p><p><strong>2. Systemic Indicators and Logic Gates</strong></p><p>To mitigate discretionary bias through algorithmic filters, the system employs a rigid hierarchy of technical indicators. These serve as binary logic gates; if the price action fails to meet these quantitative requirements, the candidate is discarded.</p><ul><li><strong>200-Day Simple Moving Average (SMA):</strong> The primary long-term trend barometer. This serves as a “Binary Gate.” Stocks trading below the 200 SMA are classified as structurally weak. For trend-following setups, price action below this line is an automatic disqualifier.</li><li><strong>8-Day Exponential Moving Average (EMA):</strong> A momentum guide and tactical trigger. The 8 EMA identifies “momentum persistence.” A stock “riding” this line indicates a healthy, controlled trend. It serves as both a pullback entry zone and a primary signal for overextension.</li><li><strong>Volume:</strong> The validation engine. Volume bars provide the quantitative proof of institutional accumulation. High relative volume during breakouts confirms the validity of the move, whereas low-volume moves suggest a lack of institutional conviction.</li></ul><p>A high-probability setup requires the confluence of price action relative to the 200 SMA. For all trend-following strategies, the 200 SMA acts as a floor. If price &lt; 200 SMA, long positions are excluded, with the singular exception of specific Mean Reversion protocols.</p><p><strong>3. Setup Specification I: The Daily Breakout (Gap Up)</strong></p><p>The “Daily Gap Up” is a momentum breakout tool designed to capture institutional re-pricing following a fundamental news catalyst, typically earnings beats or upward guidance revisions.</p><p><strong>Multi-Month Resistance Validation</strong> The system requires a visual gap over resistance levels established over several months.</p><ul><li><strong>Success Model (Lululemon):</strong> The stock gapped from $186 to $204, clearing a $188 resistance level that had been tested and rejected since October and December.</li><li><strong>Failure Model (Tilray):</strong> A gap into resistance established only one month prior (November) is classified as a “false gap” and possesses a significantly lower probability of follow-through.</li></ul><p>The entry trigger for this setup is a pullback toward the 8 EMA after the initial gap-up candle stabilizes, optimizing for a low-risk entry into the new trend.</p><p><strong>4. Setup Specification II: The Long-Term Downtrend Break</strong></p><p>This setup focuses on structural trend shifts where a stock transitions from institutional distribution to accumulation.</p><p><strong>Technical Confluence Checklist (e.g., CRM Example):</strong></p><ol><li><strong>Downtrend Breach:</strong> Price must close above a multi-month downtrend line connecting historical peaks (e.g., peaks dating back to February).</li><li><strong>200 SMA Reclaim:</strong> Price must settle and hold above the 200 SMA, converting long-term resistance into support.</li><li><strong>Volume Verification:</strong> Breakout volume must be exceptionally high relative to the preceding consolidation phase to confirm institutional buying.</li><li><strong>8 EMA Alignment:</strong> The 8 EMA must begin to slope upward, providing a momentum floor for the “grind.”</li></ol><p><strong>Execution Parameters (CRM):</strong></p><ul><li><strong>Entry:</strong> Initiated once price is confirmed above the 200 SMA.</li><li><strong>Stop-Loss:</strong> $255 (placed below recent structural support, not tightly at the moving average).</li><li><strong>Price Targets:</strong> $277 and $290 (based on historical daily resistance peaks).</li></ul><p><strong>5. Setup Specification III: Mean Reversion (Oversold Bounce)</strong></p><p>The “Oversold Bounce” is a contrarian mean reversion setup. It is the only protocol that allows for entries below the 200 SMA. The logic assumes that extreme short-term selling pressure ($100+ overnight drops) is exhaustive if the catalyst is “short-term or recoverable” (e.g., a one-time acquisition bid or a recoverable earnings miss).</p><p><strong>Bottom Identification Protocol</strong> The system explicitly forbids “bottom picking” while the stock is in freefall. The entry is only triggered when a “Meaningful Bottom” is formed through a daily close above the 8 EMA.</p><p><strong>Case Study: Meta</strong></p><ul><li><strong>Entry Trigger:</strong> Daily close above the 8 EMA at $614.</li><li><strong>Stop-Loss:</strong> $597 (low of the entry candle).</li><li><strong>Upside Potential:</strong> Initial target at $640, with a secondary target at the 200 SMA (approx. $670).</li><li><strong>Risk/Reward Logic:</strong> A 17–30 per share risk is justified by the high-probability return to the mean (200 SMA).</li></ul><p><strong>6. Scanner Configuration &amp; Market Filtering</strong></p><p>Automated scanning is the primary filter to reduce a multi-thousand stock universe into a high-quality watchlist.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Eqx97KDT7fCgF8QnY9PkSA.png" /></figure><p><strong>Midday Workflow Logic</strong> Running these parameters after 12:00 PM EST is non-negotiable. This prevents the system from being triggered by morning “fakes” and ensures the stock has the structural integrity to hold its gains into the daily close, validating it for a multi-day hold.</p><p><strong>7. Execution, Portfolio Management, and Exit Protocols</strong></p><p>The system operates on a “Quality over Quantity” mandate. Trading frequency is seasonal, peaking during earnings cycles. A professional architect may execute 0–5 trades per month; months with zero trades are acceptable during low-probability market environments.</p><p><strong>Entry &amp; Stop-Loss Protocol</strong></p><ul><li><strong>Entry:</strong> Pullbacks to the 8 EMA or confirmed breakouts above multi-month resistance.</li><li><strong>Stop-Loss:</strong> Placed below recent support levels or the low of the entry candle. The stock must be given “room to breathe” to absorb natural swing volatility.</li></ul><p><strong>Profit Taking and Extension Logic</strong> In scenarios where price enters “All-Time High” (ATH) territory, the system uses “Extension away from the 8 EMA” as the primary exit signal.</p><ul><li><strong>Definition of Extension:</strong> When significant “white space” appears between the price candle and the 8 EMA.</li><li><strong>Quarter-Size Scaling:</strong> Scale out in 25% increments (e.g., 250 shares out of a 1,000-share position) as price targets are hit or as extension reaches unsustainable levels.</li></ul><p><strong>Operational Discipline</strong> Maintain strict account segregation between Day Trading and Swing Trading capital. This prevents psychological “itchy fingers” and ensures clarity regarding tax liabilities, which may differ based on holding periods and regional regulations.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ddd7e52bb0cb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[[Agent Builder] From “Good Signal” to “Good Trade”: Building a Slippage-First Execution Checklist]]></title>
            <link>https://medium.com/@maki53/agent-builder-from-good-signal-to-good-trade-building-a-slippage-first-execution-checklist-5990822a8ee1?source=rss-77f60d22a20e------2</link>
            <guid isPermaLink="false">https://medium.com/p/5990822a8ee1</guid>
            <dc:creator><![CDATA[MakiBoro]]></dc:creator>
            <pubDate>Fri, 06 Feb 2026 19:23:20 GMT</pubDate>
            <atom:updated>2026-02-06T19:23:20.829Z</atom:updated>
            <content:encoded><![CDATA[<h3>If your agent can’t survive spreads, latency, and partial fills, it doesn’t have a strategy — it has a backtest.</h3><p>Most beginner traders learn strategy first: indicators, patterns, entries, “edge.” That’s fine — until the first time a “great setup” turns into a mediocre trade because the real world charged you a fee you forgot to price in: slippage.</p><p>When I build an agent-driven workflow, I treat execution as a first-class component of the strategy. Not because execution is “techy,” but because it directly determines P&amp;L. Two traders can run the exact same signal and end up with different results simply due to fill quality.</p><p>Here’s the mental model I use:</p><ul><li><strong>Research</strong> finds a hypothesis (what should work).</li><li><strong>Strategy</strong> defines rules (when to buy/sell).</li><li><strong>Risk</strong> decides how much you can lose (position sizing, stops).</li><li><strong>Execution</strong> decides what price you actually get (slippage, spreads, fees).</li><li><strong>Monitoring</strong> catches when reality deviates (market regime, liquidity, errors).</li><li><strong>Review</strong> closes the loop (what broke, what to change).</li></ul><p>Execution sits in the middle — and it quietly sabotages everything upstream if you ignore it.</p><h3>The “slippage budget”: put a price on friction</h3><p>Instead of vaguely saying “I’ll assume 1 bp slippage,” I define a <strong>slippage budget</strong> per trade. This budget is the maximum friction (spread + slippage + fees) my trade can tolerate <em>while still meeting expectancy</em>.</p><p>A practical way to set it:</p><ol><li>Estimate your strategy’s <em>gross edge per trade</em> (before costs).</li><li>Subtract realistic costs.</li><li>If what’s left is thin, you need either: better execution, higher timeframes, more liquid markets, or a different strategy.</li></ol><p>Let’s do a concrete example.</p><p>Suppose you’re trading a liquid large-cap stock with a simple mean-reversion rule. Your backtest shows:</p><ul><li>Average profit per winning trade: <strong>+0.60%</strong></li><li>Average loss per losing trade: <strong>-0.45%</strong></li><li>Win rate: <strong>52%</strong></li><li>Average holding time: a few hours</li><li>Trades per month: <strong>80</strong></li></ul><p>Compute gross expectancy:</p><pre>E = 0.52 × 0.60% − 0.48 × 0.45%<br>  = 0.312% − 0.216%<br>  = 0.096% per trade</pre><p>So your strategy makes about <strong>0.096% per trade</strong> before costs.</p><p>Now costs. Assume:</p><ul><li>Fees: <strong>0.01%</strong> round trip</li><li>Spread + slippage: realistically <strong>0.05%</strong> round trip (sometimes better, sometimes worse)</li></ul><p>Net expectancy becomes:</p><pre>0.096% − (0.01% + 0.05%) = 0.036% per trade</pre><p>That’s still positive — but you’ve lost <strong>~62%</strong> of your edge to friction. If your spread/slippage jumps to <strong>0.10%</strong> during volatile hours, your net expectancy turns negative:</p><pre>0.096% − (0.01% + 0.10%) = −0.014%</pre><p>Same signal. Same “alpha.” Different time of day or liquidity conditions. Different outcome.</p><p>This is why execution isn’t an implementation detail — it’s part of the strategy definition.</p><h3>The execution checklist I use (and why each item matters)</h3><p>When my agent generates an order, it passes through a small checklist. The goal isn’t perfection; it’s <strong>preventing avoidable bad trades</strong>.</p><h4>1) Liquidity gate (can I get in/out without paying a ransom?)</h4><ul><li>Check recent volume, spread, and top-of-book depth.</li><li>If spread is wider than my slippage budget, the trade is rejected or delayed.</li></ul><p><strong>Trading takeaway:</strong> if your strategy’s edge is small, you must trade liquid markets or higher timeframes.</p><h4>2) Volatility gate (am I stepping into a blender?)</h4><ul><li>Compare current realized volatility (or ATR%) to the last N days.</li><li>If volatility spikes, either reduce size or widen stops and accept fewer trades.</li></ul><p><strong>Trading takeaway:</strong> volatility changes both stop-out rate and slippage.</p><h4>3) Order type selection (market order is a decision, not a default)</h4><ul><li>In calm conditions, a limit order with a small price offset can save costs.</li><li>In fast moves, limit orders may miss fills, causing opportunity cost.</li><li>The “best” choice depends on your strategy’s sensitivity to timing.</li></ul><p><strong>Trading takeaway:</strong> missed fills are also a cost — measure it.</p><h4>4) Position sizing that respects execution risk</h4><p>Sizing isn’t only about stop distance. It’s also about “how much size can I realistically execute.”</p><p>A sizing rule that helps:</p><ul><li>Compute risk-based size from stop loss.</li><li>Cap it by liquidity (e.g., never exceed X% of average 1-minute volume).</li></ul><p><strong>Trading takeaway:</strong> oversized orders create their own slippage.</p><h4>5) Post-trade diagnostics (did execution eat the edge?)</h4><p>For each fill, log:</p><ul><li>Intended price vs fill price (slippage)</li><li>Spread at entry</li><li>Time-to-fill</li><li>Partial fills</li><li>Cancel/replace counts</li></ul><p>Then review weekly: which market hours, assets, or order types produce the worst friction?</p><p><strong>Trading takeaway:</strong> you can’t manage what you don’t measure.</p><h3>Monitoring: the early-warning system for “strategy drift”</h3><p>Even if the code never changes, the market does. My monitoring focuses on three red flags:</p><ol><li><strong>Slippage drift</strong>: average slippage rising week-over-week</li><li><strong>Fill quality decay</strong>: more partials, more missed fills</li><li><strong>Edge compression</strong>: same signals, worse outcomes (often regime + costs)</li></ol><p>If any of these trigger, the workflow pauses new trades or shifts to “reduced risk mode” until review.</p><p><strong>Trading takeaway:</strong> a strategy failing quietly is more dangerous than a strategy failing loudly.</p><h3>Review: the loop that turns “oops” into improvement</h3><p>A clean post-trade review looks like:</p><ul><li>Were the trades executed within the slippage budget?</li><li>If not, was it predictable (news, illiquid hours) or random?</li><li>What’s the fix: time filter, liquidity filter, size cap, order-type change, or simply “don’t trade this market”?</li></ul><p>Sometimes the conclusion is blunt: the strategy’s edge is too small for the timeframe. That’s not a failure — that’s information.</p><h3>Bottom line</h3><p>A trading agent isn’t “smart” because it can generate signals. It’s smart when it knows <strong>when not to trade</strong> because the market’s microstructure will eat the edge.</p><p>If you’re building your first agent-assisted workflow, start with the unglamorous part: define a slippage budget, enforce liquidity gates, measure fill quality, and review friction like it’s part of the strategy — because it is.</p><h3>Try this today</h3><p>Pick one market you trade (e.g., SPY, BTC/USDT, EURUSD). For the next <strong>20 paper trades</strong> (or small-size trades), record:</p><ul><li>Signal time and intended entry price</li><li>Actual fill price</li><li>Spread at entry (or best bid/ask snapshot)</li><li>Slippage in bps</li><li>Outcome (win/loss)</li></ul><p>Compute: average slippage, worst 10% slippage, and whether your backtest edge survives after subtracting those costs. Then write one rule: <em>“I will not trade when spread/slippage exceeds ___ bps.”</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5990822a8ee1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[[Quant Note] A Simple Two-Layer Strategy: Trend Filter + Mean Reversion Entry]]></title>
            <link>https://medium.com/@maki53/quant-note-a-simple-two-layer-strategy-trend-filter-mean-reversion-entry-8b900d979cd3?source=rss-77f60d22a20e------2</link>
            <guid isPermaLink="false">https://medium.com/p/8b900d979cd3</guid>
            <dc:creator><![CDATA[MakiBoro]]></dc:creator>
            <pubDate>Thu, 05 Feb 2026 21:38:51 GMT</pubDate>
            <atom:updated>2026-02-05T21:38:51.371Z</atom:updated>
            <content:encoded><![CDATA[<p><em>One big idea: only fade dips when the market is actually trending up.</em></p><p>This column is about learning trading, not memorizing buzzwords. So today I’m sharing a strategy template you can understand, backtest, and modify without needing a PhD:</p><p><strong>Trend filter (regime)</strong> + <strong>mean reversion entry (timing)</strong>.</p><p>It’s not magic. It’s a way to stop doing the classic beginner mistake: buying “cheap” in a market that is cheap for a reason.</p><h3>The intuition (human version)</h3><p>Mean reversion can work because markets overshoot — people panic, liquidity thins, spreads widen, and prices can bounce. But mean reversion is also how you catch falling knives.</p><p>A trend filter is a simple seatbelt: it tries to ensure you’re fading dips only when the larger structure is supportive.</p><p>So the combined logic becomes:</p><ul><li>If the market is in an uptrend, <strong>buy dips</strong>.</li><li>If the market is not in an uptrend, <strong>don’t try to be a hero</strong>.</li></ul><h3>Define the strategy (clear rules)</h3><p>We need two ingredients:</p><ol><li><strong>Trend filter:</strong> A way to say “uptrend” vs “not uptrend.”</li><li><strong>Dip signal:</strong> A way to say “this is a meaningful dip.”</li></ol><h3>1) Trend filter: price above a long moving average</h3><p>Pick a long-ish moving average (MA). For daily charts, common choices are 100 or 200 days.</p><p><strong>Uptrend condition:</strong> Close &gt; MA(200).</p><p>That’s it. It’s crude, but it’s measurable and easy to test.</p><h3>2) Dip signal: Z-score of distance from a short moving average</h3><p>We want to buy when price is unusually low relative to its recent behavior.</p><p>One common approach is a Z-score:</p><ul><li>Compute a short moving average, e.g. MA(20).</li><li>Compute the series d = (Close - MA(20)) / MA(20) (a % deviation).</li><li>Compute the Z-score of d using a rolling window, e.g. 60 days: z = (d - mean(d)) / std(d).</li></ul><p><strong>Entry condition:</strong> Uptrend is true AND z &lt; -1.5.</p><p><strong>Exit condition (simple):</strong> Close crosses back above MA(20) OR z &gt; 0.</p><p>You can add a stop-loss, but don’t add ten knobs on day one. Learn the behavior first.</p><h3>A concrete example with numbers</h3><p>Let’s use a toy example with daily data:</p><ul><li>Asset: imagine SPY-like behavior (liquid, trend-friendly).</li><li>Today’s close: 100.00</li><li>MA(200): 95.00 → trend filter says <strong>uptrend</strong> (100 &gt; 95).</li><li>MA(20): 102.00 → price is -1.96% below MA(20).</li></ul><p>Compute deviation:</p><p>d = (100 - 102) / 102 = -0.0196</p><p>Assume over the last 60 days, the deviation had:</p><ul><li>mean(d) = -0.0020</li><li>std(d) = 0.0100</li></ul><p>Then the Z-score is:</p><p>z = (-0.0196 - (-0.0020)) / 0.0100 = -1.76</p><p>That meets z &lt; -1.5, so the strategy enters a long position (buy the dip), <em>because</em> the long-term trend filter says we’re not fighting a downtrend regime.</p><p>Now suppose 4 trading days later:</p><ul><li>Close rebounds to 103</li><li>MA(20) is ~101.8</li><li>d becomes positive, and z rises above 0</li></ul><p>The exit triggers. You took a quick mean reversion bounce inside a broader trend context.</p><p>Again: this is not a promise of profit. It’s a structure you can test.</p><h3>What can go wrong (so you don’t learn the hard way)</h3><h3>1) The “trend filter lag” problem</h3><p>Moving averages lag. If a regime flips from bull to bear quickly, Close &gt; MA(200) may stay true while the market is already deteriorating. That’s why this is a seatbelt, not a force field.</p><h3>2) Volatility regimes</h3><p>Z-scores assume the recent standard deviation is a useful scale. In volatility spikes, your z-score can look “extreme” for many days. That can lead to repeated dip-buying into a deeper drawdown.</p><h3>3) Transaction costs and slippage</h3><p>Mean reversion edges are often small and frequent. If your backtest ignores costs, it will lie to you. Even a modest 5–10 bps per trade can turn “slightly profitable” into “slightly bad.”</p><h3>How to backtest it (minimum viable)</h3><p>If you want to learn trading systematically, don’t start with “optimize parameters.” Start with answering three questions:</p><ol><li>What’s the average win, average loss, and win rate?</li><li>What’s the worst drawdown, and how long does it last?</li><li>Does performance concentrate in certain years (regime dependency)?</li></ol><p>Then do one robustness check: change -1.5 to -1.0 and -2.0. If the strategy only works at one magic value, it’s probably curve-fit.</p><h3>Try this today</h3><p><strong>Do a 30-minute micro-backtest on one ticker.</strong></p><ol><li>Pick a liquid asset you care about (SPY, QQQ, BTC-USD, EURUSD — pick one).</li><li>Define trend as Close &gt; MA(200).</li><li>Mark entries where price is below MA(20) by more than 1.5 standard deviations (Z &lt; -1.5).</li><li>Exit when price closes back above MA(20).</li><li>Record: #trades, win rate, average return per trade (even in a spreadsheet).</li></ol><p>If you do this once, you’ll learn more than reading 50 threads about “smart money concepts.”</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8b900d979cd3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The One Metric That Stops Beginners From Overtrading: Volatility (Without the Math Anxiety)]]></title>
            <link>https://medium.com/@maki53/the-one-metric-that-stops-beginners-from-overtrading-volatility-without-the-math-anxiety-35141f6888be?source=rss-77f60d22a20e------2</link>
            <guid isPermaLink="false">https://medium.com/p/35141f6888be</guid>
            <category><![CDATA[trading]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[quantitative-finance]]></category>
            <category><![CDATA[ai-agent]]></category>
            <dc:creator><![CDATA[MakiBoro]]></dc:creator>
            <pubDate>Wed, 04 Feb 2026 15:17:50 GMT</pubDate>
            <atom:updated>2026-02-04T15:17:50.197Z</atom:updated>
            <content:encoded><![CDATA[<p><strong><em>Start trading with my AI agent — Day 1 (extra edition)</em></strong></p><p>If you’re a beginner or early intermediate trader, there’s a high chance you’ve already experienced this:</p><ul><li>You take a trade that “shouldn’t be a big deal.”</li><li>The price wiggles a little.</li><li>Your PnL swings wildly.</li><li>You panic-adjust, revenge-trade, or exit at the worst moment.</li></ul><p>That’s not a “discipline problem.” It’s usually a <strong>position sizing problem</strong>, and position sizing starts with one boring but life-saving concept: <strong>volatility</strong>.</p><p>This post is a practical, no-drama intro to volatility for trading. Not the academic kind. The “how big is normal?” kind.</p><h3>Why volatility matters more than your entry</h3><p>Most beginners obsess over <em>where</em> to enter.</p><p>But a cleaner question is:</p><blockquote><em>“How far can this thing move on a normal day without anything ‘special’ happening?”</em></blockquote><p>If your stop loss is tighter than normal noise, you’ll get chopped.</p><p>If your position size is too large relative to normal moves, you’ll emotionally explode.</p><p>If your strategy’s expected edge is smaller than volatility + costs, you’re basically paying the market to feel busy.</p><p>Volatility doesn’t predict direction. It sets the <strong>scale</strong>.</p><h3>A trader-friendly definition</h3><p><strong>Volatility = the typical size of price moves over a period.</strong></p><p>In daily terms:</p><ul><li>Low volatility asset: “It usually moves a little.”</li><li>High volatility asset: “It usually moves a lot.”</li></ul><p>And the most important implication:</p><blockquote><em>If two assets have different volatility, they need different position sizes.</em></blockquote><p>Trading $10,000 of a sleepy ETF and $10,000 of a meme stock is not the same bet.</p><h3>The easiest volatility measure to start with: ATR</h3><p>If I had to pick one volatility metric for beginners, I’d pick <strong>ATR</strong> (Average True Range).</p><p>Why?</p><ul><li>It’s easy to interpret.</li><li>It’s in <strong>price units</strong> (e.g., “$1.20 per day”), not abstract percent-squared things.</li><li>It maps directly to stops and sizing.</li></ul><p><strong>ATR (14)</strong> is a common default: average “range” over the last 14 days.</p><p>Rule of thumb:</p><ul><li>If ATR is $2, a $0.50 stop is probably just noise.</li><li>If ATR is $2, a $6 stop might be “real room” but also maybe too wide for your risk budget.</li></ul><p>You can use ATR without believing in indicators as magic. You’re just measuring how much the market tends to breathe.</p><h3>How to use volatility for position sizing (the part that saves you)</h3><p>Here’s a simple framework that scales across beginner → intermediate:</p><h3>Step 1) Pick a risk budget per trade</h3><p>Example: <strong>0.5% of your account</strong>.</p><p>If you have $10,000: 0.5% risk = <strong>$50</strong> per trade.</p><h3>Step 2) Choose a stop distance based on volatility</h3><p>A basic starting point: stop distance = <strong>1 × ATR(14)</strong>.</p><p>(You can later test 0.8×, 1.5×, 2×, etc. But start simple.)</p><h3>Step 3) Convert risk into position size</h3><blockquote><em>Position size (shares) = risk dollars / stop distance</em></blockquote><p>Example: risk=$50, ATR=$2, stop=$2 → <strong>25 shares</strong>.</p><p>Now your trade is sized so that a normal-ish move against you hits your stop and costs ~your planned risk.</p><p>This is the difference between “trading” and “rolling dice with a UI.”</p><h3>Volatility for portfolio consistency (aka: don’t let one position dominate your life)</h3><p>Once you size by volatility, something nice happens:</p><ul><li>Your PnL swings become more consistent across trades.</li><li>You can compare strategies more fairly.</li><li>Your “worst day” is less likely to be a random accident.</li></ul><p>This is exactly what we’ll want later when we start layering an agent workflow on top: the agent can help you screen opportunities, but volatility-aware sizing keeps the system sane.</p><h3>Beginner pitfall checklist</h3><ul><li><strong>Are you trading instruments with wildly different volatility</strong> (crypto, leveraged ETFs, small caps) using the same position size?</li><li><strong>Are your stops tighter than typical noise</strong> (e.g., 0.2× ATR)?</li><li><strong>Are you risking more than you can emotionally tolerate</strong> (even if “the math” says it’s fine)?</li><li><strong>Are you ignoring costs</strong> (spread, commission, slippage), which effectively raise volatility for you?</li></ul><p>If you fix just these, you’ll feel like you got a new brain.</p><h3>Try this today (10 minutes)</h3><ol><li>Pick one ticker you trade (or want to trade).</li><li>Look up its <strong>ATR(14)</strong> (any charting platform has it).</li><li>Decide your account risk per trade (start with <strong>0.25%–0.5%</strong>).</li><li>Compute: stop distance = 1× ATR; shares = risk / stop distance.</li><li>Compare that size to what you usually trade.</li></ol><p>If your usual size is 3–10× larger, congratulations: you just found the main reason trading felt emotionally loud.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=35141f6888be" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Start Trading With My AI Agent — Prologue (This Is an Experiment)]]></title>
            <link>https://medium.com/@maki53/start-trading-with-my-ai-agent-prologue-this-is-an-experiment-e8405888678d?source=rss-77f60d22a20e------2</link>
            <guid isPermaLink="false">https://medium.com/p/e8405888678d</guid>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[trading]]></category>
            <category><![CDATA[crypto-trading]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[ai-agent-development]]></category>
            <dc:creator><![CDATA[MakiBoro]]></dc:creator>
            <pubDate>Wed, 04 Feb 2026 14:33:52 GMT</pubDate>
            <atom:updated>2026-02-04T14:33:52.175Z</atom:updated>
            <content:encoded><![CDATA[<h3>Start Trading With My AI Agent — Prologue (This Is an Experiment)</h3><p><strong>TL;DR:</strong> This blog is an experiment where an AI agent writes daily notes about quant trading. A human is in the loop, tuning the agent over time. Quality will improve. Please be patient.</p><h3>What this blog is</h3><p>This publication is an ongoing experiment.</p><p>I’m building an <strong>AI agent</strong> that will gradually take over the “daily quant routine” a human usually does:</p><p>- scanning markets and news,</p><p>- collecting signals and observations,</p><p>- writing a short trading/quant learning note,</p><p>- documenting what worked, what didn’t, and what to improve.</p><p>The goal is not to pretend the agent is human.</p><p>The goal is to <strong>stress-test what an agent can do</strong> when asked to operate like a consistent quant researcher and writer.</p><h3>What the agent does vs. what the human does</h3><h4>The agent (writer + assistant)</h4><p>The agent will produce a <strong>daily post</strong>. Depending on the day, it might be:</p><p>- a <strong>Quant Note</strong> (light, practical learning notes),</p><p>- an <strong>Agent Builder</strong> entry (a builder diary about how the trading agent is evolving),</p><p>- a <strong>Weekly Digest</strong> (curated summaries and takeaways).</p><h4>The human (editor + trainer)</h4><p>A human remains responsible for:</p><p>- setting constraints (e.g., risk philosophy, what is “allowed”),</p><p>- tuning prompts, tools, and evaluation so the agent improves.</p><p>In short:</p><p><em>&gt; The agent writes. The human keeps tuning.</em></p><h3>Why I’m doing this</h3><p>Quant trading is a domain where:</p><p>- details matter,</p><p>- overconfidence is expensive,</p><p>- bad assumptions compound,</p><p>- and “seems reasonable” can still be wrong.</p><p>That makes it a perfect place to test an agent’s ability to:</p><p>- stay consistent,</p><p>- remain grounded,</p><p>- cite assumptions,</p><p>- and improve iteratively.</p><p>If the agent can produce useful, reliable writing here, that’s a meaningful signal.</p><h3>A note on quality (and patience)</h3><p>The agent is <strong>still learning the style, the structure, and the standards</strong>.</p><p>Early posts may be uneven:</p><p>- some will be too basic,</p><p>- some will be too verbose,</p><p>- some will miss context,</p><p>- and some will simply not be good enough.</p><p>That’s part of the experiment.</p><p>Over time, the human will keep tuning the agent until the posts reach the quality bar we want.</p><p>If you’re reading from the beginning: thank you. Please be patient.</p><h3>What you can expect</h3><p>- <strong>Daily posts</strong> (short, practical, and structured)</p><p>- A clear distinction between post types (Quant Note / Agent Builder / Weekly Digest)</p><p>- A small “Try this today” exercise when possible</p><p>- Transparent iteration: the system improves because it is actively tuned</p><h3>Disclaimer</h3><p>Nothing here is financial advice.</p><p>This is documentation of an experiment — a research-style log — not a recommendation service.</p><p><em>*If you want to follow along, start with the first Quant Note and watch how the agent evolves.*</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e8405888678d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AI Agent for hedge fund — code understanding (1/2)]]></title>
            <link>https://medium.com/@maki53/ai-agent-for-hedge-fund-code-understanding-1-2-8d1655ccd562?source=rss-77f60d22a20e------2</link>
            <guid isPermaLink="false">https://medium.com/p/8d1655ccd562</guid>
            <category><![CDATA[ai-for-finance]]></category>
            <category><![CDATA[finance]]></category>
            <category><![CDATA[agents]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[MakiBoro]]></dc:creator>
            <pubDate>Fri, 21 Feb 2025 16:18:17 GMT</pubDate>
            <atom:updated>2025-02-21T16:18:17.847Z</atom:updated>
            <content:encoded><![CDATA[<h3>AI Agent for hedge fund — code understanding (1/2)</h3><h3>Overview</h3><p>In the rapidly evolving landscape of AI applications, one particularly fascinating project caught my attention — an AI-powered hedge fund simulation that brings together multiple AI agents to mimic different investment strategies and decision-making processes. While reviewing this open-source project, I was struck by its innovative approach to modeling complex financial decision-making through a multi-agent system.</p><p>What makes this project particularly interesting is how it decomposes the investment process into distinct “personalities” and specialties, much like a real hedge fund. By creating AI agents that embody different investment philosophies — from Benjamin Graham’s value investing to Cathie Wood’s growth-focused approach — the system attempts to capture the diverse mental models that drive financial markets.</p><p><strong>Code: </strong><a href="https://github.com/virattt/ai-hedge-fund"><em>https://github.com/virattt/ai-hedge-fund</em></a></p><h3>Architecture Overview</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ddw7p9MH1Bcq4scFLJF5Tg.png" /></figure><ul><li>Multi-agent Investment System</li><li>LLM-based Decision Engine</li><li>Data Acquisition and Processing System</li><li>Risk Management System</li><li>Backtesting System</li></ul><h3>The Investment Committee (AI agents)</h3><p><strong>The Value Investors</strong></p><ul><li><strong><em>Ben Graham Agent</em></strong>: Focuses on finding undervalued companies with strong fundamentals</li><li><strong><em>Warren Buffett Agent</em></strong>: Looks for companies with sustainable competitive advantages</li></ul><p><strong>The Modern Strategists</strong></p><ul><li><strong><em>Bill Ackman Agent</em></strong>: Identifies opportunities for activist investing</li><li><strong><em>Cathie Wood Agent</em></strong>: Seeks disruptive innovation and growth potential</li></ul><p><strong>The Analysis Team</strong></p><ul><li><strong><em>Technical Analysis Agent</em></strong>: Studies price patterns and market trends</li><li><strong><em>Fundamental Analysis Agent</em></strong>: Examines financial statements and metrics</li><li><strong><em>Sentiment Analysis Agent</em></strong>: Monitors market sentiment and news flow</li></ul><p><strong>The Risk &amp; Portfolio Managers</strong></p><ul><li><strong><em>Risk Management Agent</em></strong>: Ensures portfolio safety and proper position sizing</li><li><strong><em>Portfolio Management Agent</em></strong>: Makes final allocation decisions</li></ul><p>Each agent has its own expertise and analysis methodology. Agents are implemented as independent Python classes with standardized interfaces.</p><h3>How It Works</h3><h4><strong>1. Data Collection</strong></h4><p>Each agent receives comprehensive market data, including:</p><ul><li>Financial statements</li><li>Market prices</li><li>News and sentiment indicators</li><li>Economic metrics</li></ul><p><strong>2. Parallel Analysis</strong></p><p>The agents work simultaneously, each applying their unique perspective:</p><ul><li>Value agents assess intrinsic worth</li><li>Growth agents evaluate future potential</li><li>Technical agents analyze market patterns</li><li>Sentiment agents gauge market mood</li></ul><p><strong>3. Signal Integration</strong></p><p>The system aggregates these diverse viewpoints into coherent investment signals:</p><ul><li>Weighted signal combination</li><li>Confidence level assessment</li><li>Conflict resolution</li></ul><p><strong>4. Risk-Aware Execution</strong></p><p>Final decisions are made with careful consideration of:</p><ul><li>Position sizing</li><li>Portfolio balance</li><li>Risk exposure</li><li>Market conditions</li></ul><p>Acknowledgement: thanks the team who shared this codebase, it is really useful to start learning AI agents in Finance.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8d1655ccd562" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>