<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Ramon Fontelles — Writing</title>
    <link>https://ramonfontelles.com/articles</link>
    <description>Notes on AI agents, retrieval, backtesting and trading-system research.</description>
    <language>en</language>
    <atom:link href="https://ramonfontelles.com/rss.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>The backtest that lies, and the rules that stop it</title>
      <link>https://ramonfontelles.com/articles/backtest-that-lies</link>
      <guid isPermaLink="true">https://ramonfontelles.com/articles/backtest-that-lies</guid>
      <description>A 98% hit rate fell to ~55% with 300 ms of latency. The rules that keep short-horizon backtests honest: bar order, slippage, payout and leakage audits.</description>
      <pubDate>Fri, 18 Sep 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Teaching a debugging agent where to look first</title>
      <link>https://ramonfontelles.com/articles/debugging-agent-intent-routing</link>
      <guid isPermaLink="true">https://ramonfontelles.com/articles/debugging-agent-intent-routing</guid>
      <description>Building an AI agent for parasitic-extraction debugging without a vector DB: gated phases, hybrid lexical search, benchmarks and intent routing.</description>
      <pubDate>Fri, 18 Sep 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>HFT feature explorer: one recorded 15-minute SOL market</title>
      <link>https://ramonfontelles.com/articles/hft-feature-explorer</link>
      <guid isPermaLink="true">https://ramonfontelles.com/articles/hft-feature-explorer</guid>
      <description>Explore 15 minutes of Polymarket and Binance data from my HFT recorder: quotes, feed freshness and features on one clock, with filters and z-scores.</description>
      <pubDate>Fri, 18 Sep 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>HFT on Polymarket: Rust, timestamps and the 98% hit rate that wasn&apos;t</title>
      <link>https://ramonfontelles.com/articles/hft-rust</link>
      <guid isPermaLink="true">https://ramonfontelles.com/articles/hft-rust</guid>
      <description>Recorder-first HFT research on Polymarket: Rust via PyO3, Parquet datasets on local receipt time, LightGBM, and a 98% hit rate that fell to ~55%.</description>
      <pubDate>Fri, 18 Sep 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>To predict Polymarket outcomes, I first had to build the dataset</title>
      <link>https://ramonfontelles.com/articles/prediction-betting</link>
      <guid isPermaLink="true">https://ramonfontelles.com/articles/prediction-betting</guid>
      <description>Phase 1 of my Polymarket research: a resumable collector over the Gamma, Data and CLOB APIs, holder features, and why collection became the bottleneck.</description>
      <pubDate>Fri, 18 Sep 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>A trading bot is infrastructure, not an edge</title>
      <link>https://ramonfontelles.com/articles/reality-of-bots</link>
      <guid isPermaLink="true">https://ramonfontelles.com/articles/reality-of-bots</guid>
      <description>Lessons from a live Polymarket bot and an HFT stack: explicit states, fills as proof of execution, WebSockets as truth, API calls off the hot loop.</description>
      <pubDate>Fri, 18 Sep 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Trading 15-minute Polymarket markets until the data said stop</title>
      <link>https://ramonfontelles.com/articles/trading-15m</link>
      <guid isPermaLink="true">https://ramonfontelles.com/articles/trading-15m</guid>
      <description>Four entry modes, walk-forward sweeps and a live CLOB bot for 15-minute Polymarket markets, and why I stopped when EV after fees stayed near zero.</description>
      <pubDate>Fri, 18 Sep 2026 08:00:00 GMT</pubDate>
    </item>
  </channel>
</rss>
