<?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: Ab Mughal</title>
    <description>The latest articles on DEV Community by Ab Mughal (@abmughl).</description>
    <link>https://dev.to/abmughl</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%2F4196970%2F52c15926-e6cb-4880-8ca0-0c11c2650cc5.png</url>
      <title>DEV Community: Ab Mughal</title>
      <link>https://dev.to/abmughl</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/abmughl"/>
    <language>en</language>
    <item>
      <title>Confidential Computing Architecture: AMD SEV-SNP Reverse Map Tables vs. Intel TDX DRAM Encryption</title>
      <dc:creator>Ab Mughal</dc:creator>
      <pubDate>Fri, 23 Oct 2026 17:21:30 +0000</pubDate>
      <link>https://dev.to/abmughl/confidential-computing-architecture-amd-sev-snp-reverse-map-tables-vs-intel-tdx-dram-encryption-1d43</link>
      <guid>https://dev.to/abmughl/confidential-computing-architecture-amd-sev-snp-reverse-map-tables-vs-intel-tdx-dram-encryption-1d43</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Canonical Research Note:&lt;/strong&gt; Originally published by the &lt;strong&gt;&lt;a href="https://trendspike.online/post.php?slug=confidential-computing-hardware-memory-encryption-amd-sev-snp-intel-tdx" rel="noopener noreferrer"&gt;TrendSpike Institutional Systems &amp;amp; Quantitative Finance Desk&lt;/a&gt;&lt;/strong&gt;. Full AES-128-XTS physical address tweak equations and RMP/S-EPT architectural comparisons are available in the &lt;a href="https://trendspike.online/post.php?slug=confidential-computing-hardware-memory-encryption-amd-sev-snp-intel-tdx" rel="noopener noreferrer"&gt;primary publication&lt;/a&gt;.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  Eliminating the Hypervisor from the Cloud Trusted Computing Base (TCB)
&lt;/h2&gt;

&lt;p&gt;Modern Confidential VMs rely on inline AES-128-XTS memory controller cryptography and hardware Reverse Map Tables (RMP) to prevent privileged hypervisor memory inspection and page-table remapping attacks.&lt;/p&gt;

&lt;p&gt;Read the complete microprocessor security breakdown at the &lt;a href="https://trendspike.online/post.php?slug=confidential-computing-hardware-memory-encryption-amd-sev-snp-intel-tdx" rel="noopener noreferrer"&gt;TrendSpike Research Desk&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>security</category>
      <category>mojo</category>
      <category>linux</category>
      <category>cloud</category>
    </item>
    <item>
      <title>0DTE Index Options Microstructure: Dealer Gamma Exposure (GEX), Vanna, and Charm Flows in Python</title>
      <dc:creator>Ab Mughal</dc:creator>
      <pubDate>Thu, 22 Oct 2026 19:24:26 +0000</pubDate>
      <link>https://dev.to/abmughl/0dte-index-options-microstructure-dealer-gamma-exposure-gex-vanna-and-charm-flows-in-python-4c91</link>
      <guid>https://dev.to/abmughl/0dte-index-options-microstructure-dealer-gamma-exposure-gex-vanna-and-charm-flows-in-python-4c91</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Canonical Research Note:&lt;/strong&gt; Originally published by the &lt;strong&gt;&lt;a href="https://trendspike.online/post.php?slug=0dte-index-options-microstructure-gamma-scalping-dealer-hedging-volatility" rel="noopener noreferrer"&gt;TrendSpike Institutional Systems &amp;amp; Quantitative Finance Desk&lt;/a&gt;&lt;/strong&gt;. Full Black-Scholes-Merton second-order Greek derivations and dealer hedging matrices are available in the &lt;a href="https://trendspike.online/post.php?slug=0dte-index-options-microstructure-gamma-scalping-dealer-hedging-volatility" rel="noopener noreferrer"&gt;primary publication&lt;/a&gt;.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  Python Implementation: Black-Scholes 0DTE Gamma, Vanna &amp;amp; Charm Engine
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
python
import math

def norm_pdf(x: float) -&amp;gt; float:
    return math.exp(-0.5 * x * x) / math.sqrt(2.0 * math.pi)

def compute_0dte_greeks(spot: float, strike: float, iv: float, minutes_left: float, rate: float = 0.05) -&amp;gt; dict:
    tau = max(minutes_left / (252.0 * 390.0), 1e-6)
    sqrt_tau = math.sqrt(tau)
    d1 = (math.log(spot / strike) + (rate + 0.5 * iv * iv) * tau) / (iv * sqrt_tau)
    d2 = d1 - iv * sqrt_tau
    pdf_d1 = norm_pdf(d1)

    gamma = pdf_d1 / (spot * iv * sqrt_tau)
    vanna = -pdf_d1 * (d2 / iv)
    charm = pdf_d1 * ((2.0 * rate * tau - d2 * iv * sqrt_tau) / (2.0 * tau * iv * sqrt_tau))

    return {
        "gamma": round(gamma, 6),
        "vanna": round(vanna, 6),
        "charm_daily": round(charm / 252.0, 6),
    }
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
      <category>algorithms</category>
      <category>python</category>
      <category>fullstack</category>
      <category>jellyfin</category>
    </item>
    <item>
      <title>Equity Index Futures Microstructure: Cost-of-Carry Arbitrage, Implied Repo Bounds, and CME SPAN 2 VaR</title>
      <dc:creator>Ab Mughal</dc:creator>
      <pubDate>Tue, 20 Oct 2026 22:38:27 +0000</pubDate>
      <link>https://dev.to/abmughl/equity-index-futures-microstructure-cost-of-carry-arbitrage-implied-repo-bounds-and-cme-span-2-1khb</link>
      <guid>https://dev.to/abmughl/equity-index-futures-microstructure-cost-of-carry-arbitrage-implied-repo-bounds-and-cme-span-2-1khb</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Canonical Research Note:&lt;/strong&gt; Originally published by the &lt;strong&gt;&lt;a href="https://trendspike.online/post.php?slug=what-are-stock-market-futures-how-they-work" rel="noopener noreferrer"&gt;TrendSpike Institutional Systems &amp;amp; Quantitative Finance Desk&lt;/a&gt;&lt;/strong&gt;. Full mathematical proofs, CME SPAN 2 clearing tables, and statutory 26 U.S.C. § 1256 tax accounting breakdowns are available in the &lt;a href="https://trendspike.online/post.php?slug=what-are-stock-market-futures-how-they-work" rel="noopener noreferrer"&gt;primary publication&lt;/a&gt;.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  1. Continuous-Time Cost-of-Carry Fair Value Pricing
&lt;/h2&gt;

&lt;p&gt;Exchange-traded equity index futures (&lt;code&gt;/ES&lt;/code&gt;, &lt;code&gt;/NQ&lt;/code&gt;, &lt;code&gt;/RTY&lt;/code&gt;) cleared on electronic central limit order books (CLOBs) are tethered to the underlying spot index ($S_t$) via continuous-time financing ($r_{\text{SOFR}}$) and constituent dividend yield ($q$) arbitrage bounds:&lt;/p&gt;

&lt;p&gt;$$F_{t,T}^{*} = S_t \cdot e^{(r_{\text{SOFR}} - q)\tau}$$&lt;/p&gt;

&lt;p&gt;Whenever pre-market macroeconomic releases drive the live futures price ($F_{\text{mkt}}$) outside the transaction-cost no-arbitrage band ($C_{\text{arb}}$), quantitative index arbitrage desks execute simultaneous &lt;strong&gt;Cash-and-Carry&lt;/strong&gt; baskets at the 9:30 AM ET opening cross.&lt;/p&gt;




&lt;h2&gt;
  
  
  2. Python Reference Implementation: Implied Repo Rate &amp;amp; Basis Engine
&lt;/h2&gt;

&lt;p&gt;From our open-source repository (&lt;a href="https://abmughl.github.io/institutional-systems-and-quant-research/" rel="noopener noreferrer"&gt;&lt;code&gt;abmughl/institutional-systems-and-quant-research&lt;/code&gt;&lt;/a&gt;):&lt;/p&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
python
import math
from dataclasses import dataclass

@dataclass
class IndexFuturesContract:
    symbol: str
    spot_index: float
    sofr_rate: float
    dividend_yield: float
    days_to_expiry: int
    market_futures_price: float

def compute_futures_fair_value(contract: IndexFuturesContract) -&amp;gt; dict:
    tau = contract.days_to_expiry / 360.0
    fair_value = contract.spot_index * math.exp(
        (contract.sofr_rate - contract.dividend_yield) * tau
    )
    basis_spread = contract.market_futures_price - fair_value
    forward_dividends = contract.spot_index * contract.dividend_yield * tau
    implied_repo = (
        (contract.market_futures_price + forward_dividends - contract.spot_index)
        / contract.spot_index
    ) * (360.0 / contract.days_to_expiry)

    return {
        "symbol": contract.symbol,
        "theoretical_fair_value": round(fair_value, 2),
        "basis_spread_pts": round(basis_spread, 2),
        "implied_repo_rate_pct": round(implied_repo * 100, 4),
        "irc_1256_blended_tax_rate_pct": round((0.60 * 20.0) + (0.40 * 37.0), 2),
    }
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
      <category>jellyfin</category>
      <category>python</category>
      <category>algorithms</category>
      <category>fullstack</category>
    </item>
  </channel>
</rss>
