← All Collections
⛓️ 9 parts

Onchain & DeFi Quant

Quantitative DeFi from first principles — MEV and sandwich attacks, atomic arbitrage, liquidation cascades on lending protocols, and LP profitability on Uniswap v3.

  1. 01
    กายวิภาคของ MEV: sandwich, frontrunning และป่ามืดแห่ง mempool
    Jul 17, 2026 #mev

    กายวิภาคของ MEV: sandwich, frontrunning และป่ามืดแห่ง mempool

    ทุก swap ที่คุณส่งไปยัง public RPC คือ limit order ที่มองเห็นได้ซึ่งไม่มีใครจำเป็นต้องเคารพ บทวิเคราะห์เชิงเทคนิคว่า MEV extraction ทำงานอย่างไร: การจัดลำดับใน mempool, คณิตศาสตร์ของ sandwich บน Uniswap v2, PGA, Flashbots และแนวทางป้องกันสำหรับเทรดเดอร์

  2. 02
    The MEV supply chain: PBS, MEV-Boost, and who actually captures the value
    Jul 27, 2026 #mev

    The MEV supply chain: PBS, MEV-Boost, and who actually captures the value

    MEV stopped being a lone bot and became an assembly line: searcher, builder, relay, proposer. A technical walk through proposer-builder separation, MEV-Boost's sealed-bid block auction, why the searcher's margin gets bid away, order-flow auctions as the new moat, and how Solana's Jito model differs.

  3. 03
    การเก็งกำไรบนเชน: วงจรอะตอม, แฟลชโลน, และการประมูลที่คุณต้องชนะ
    Jul 26, 2026 #arbitrage

    การเก็งกำไรบนเชน: วงจรอะตอม, แฟลชโลน, และการประมูลที่คุณต้องชนะ

    การค้นหาวงจรการเก็งกำไรบนเชนเป็นส่วนที่ง่าย ส่วนที่ยากคือการชนะการประมูลแบบปิดผนึกเพื่อจัดลำดับความสำคัญกับผู้ค้นหาคนอื่น ๆ ที่พบวงจรเดียวกัน การวิเคราะห์เชิงเทคนิคของความเป็นอะตอม, แฟลชโลน, การแบ็ครันนิ่ง, และที่ที่กำไรจากการเก็งกำไรยังคงอยู่จริง - รวมถึง CEX-DEX ที่ไม่ใช่อะตอม

  4. 04
    การชำระบัญชีแบบ on-chain: กลไกของ Aave และ Compound และธุรกิจบอทที่อยู่รอบตัวมัน
    Jul 19, 2026 #defi

    การชำระบัญชีแบบ on-chain: กลไกของ Aave และ Compound และธุรกิจบอทที่อยู่รอบตัวมัน

    การชำระบัญชี (liquidation) ของ Aave v3 และ Compound ทำงานอย่างไรจริงๆ: สูตรคำนวณ health factor, close factor, liquidation bonus, ตัวกระตุ้นจาก Chainlink oracle และสิ่งที่ต้องมีเพื่อรันบอทชำระบัญชีด้วย flash loan ในปี 2026

  5. 05
    Liquidation cascades as a trading signal: reading forced, pre-announced flow
    Jul 29, 2026 #liquidations

    Liquidation cascades as a trading signal: reading forced, pre-announced flow

    Every leveraged position advertises the price at which it must be sold. How to build the on-chain liquidation depth chart and the CEX liquidation heatmap, model cascade dynamics as a reproduction number, and trade forced flow as a signal instead of only fearing it as a risk.

  6. 06
    Impermanent Loss และ LVR: คณิตศาสตร์ที่แท้จริงของความสามารถในการทำกำไรของ LP
    Jul 25, 2026 #defi

    Impermanent Loss และ LVR: คณิตศาสตร์ที่แท้จริงของความสามารถในการทำกำไรของ LP

    Impermanent loss, concentrated-liquidity leverage, และ loss-versus-rebalancing ที่ได้มาจากหลักการแรก รูปแบบปิด, ผลลัพธ์ σ²/8, per-block markout, และเงื่อนไขค่าธรรมเนียมเทียบกับความผันผวนที่แน่นอนซึ่ง LP สามารถเอาชนะการถือครองได้จริง

  7. 07
    Uniswap v3 สำหรับ Quant: Concentrated Liquidity และคณิตศาสตร์ของ Tick จากหลักการพื้นฐาน
    Jul 18, 2026 #Uniswap

    Uniswap v3 สำหรับ Quant: Concentrated Liquidity และคณิตศาสตร์ของ Tick จากหลักการพื้นฐาน

    Uniswap v3 ทำงานอย่างไรจริง ๆ เบื้องหลัง: virtual reserves, ค่า liquidity L, sqrtPriceX96, คณิตศาสตร์ของ tick, feeGrowthInside และเหตุผลที่ตำแหน่ง LP คือ payoff แบบ short-volatility พร้อมสูตรที่แน่นอนและตัวอย่างเชิงตัวเลข

  8. 08
    Active Uniswap v3 LPing as Market Making: Range Selection, Rebalancing, and Delta Hedging
    Jul 28, 2026 #uniswap

    Active Uniswap v3 LPing as Market Making: Range Selection, Rebalancing, and Delta Hedging

    An active v3 LP is running a market-making book with gas costs and no cancel button. Size ranges from a GARCH vol forecast, frame rebalancing as fee-gain vs realized-cost, derive the position delta from tick math and hedge it with perps, and understand JIT liquidity and the honest pitfalls of backtesting LP from on-chain data.

  9. 09
    การวิเคราะห์ความสามารถในการทำนายพฤติกรรมของเทรดเดอร์บน DEX โดยอาศัยการระบุตัวตนและการสร้างแบบจำลอง
    May 18, 2025 #DEX

    การวิเคราะห์ความสามารถในการทำนายพฤติกรรมของเทรดเดอร์บน DEX โดยอาศัยการระบุตัวตนและการสร้างแบบจำลอง

    ความโปร่งใสของ DEX และวิธีการระบุตัวตนสมัยใหม่ช่วยให้ทำนายพฤติกรรมเทรดเดอร์ ตรวจจับการปั่นตลาด และสร้าง Desire Orderbook ได้อย่างไร