@mostlydata·7 charts
General Parameter Descriptions
n_days: Loockback period. If set to 0, start_date and end_date are used.
start_date: Data collection start date. If n_days is not 0, start_date and end_date are not used.
end_date: Data collection end date. If n_days is not 0, start_date and end_date are not used.
Numéraire: Is the less volatile token used to price the volatile Asset.
Asset: Is the volatile asset for which we want to measure DeFi impact
granularity: Is the granularity used to compute metrics.
On-Chain Execution Spread measures the volume-weighted average price difference between buy and sell executions occurring on the same venue within the same Solana slot. It reflects how dispersed the realized execution prices are around the local mid-price, providing an estimate of on-chain trading costs and market tightness. Lower spreads indicate deeper liquidity and tighter pricing, while higher spreads suggest wider markets or thinner depth.
Because the estimator relies on realized trades rather than posted quotes, it can be affected by microstructural effects:
- porp AMMs: market makers may adjust the price curve between a buy and a sell within the same slot, artificially widening or narrowing the measured spread.
- Unidirectional AMM flow: multiple trades in the same direction before any opposite-side trade can bias the spread estimate, since the average buy and sell prices are no longer simultaneous.
To mitigate these effects, we restrict the computation to buy and sell executions occurring within a short transaction-index window inside the same block. This ensures that only near-synchronous opposite-side trades are used, reducing the impact of price drift and improving the accuracy of the spread as a proxy for instantaneous market tightness.
Adjust bin_size to aggregate prices on the x-axis.
DCED (DEX–CEX Execution Deviation) measures the price difference between the execution price on Solana DEXs and the contemporaneous reference price from centralized exchanges (CEXs). Positive values indicate trades executed on DEXs at better prices than CEXs (price improvement), while negative values indicate trades occurring at a discount or premium relative to the CEX benchmark. The metric reflects short-term execution quality across venues rather than liquidity-provider performance.
This query measures price leadership dynamics across decentralized exchanges. It identifies which venues are most frequently responsible for initiating significant price moves — so-called “leadership regimes” — and how these price changes propagate through other markets.
This is done by decomposing Solana DEX trades into temporally ordered price regimes, detects leading venues that trigger meaningful price changes — defined by min_rel_jump.