Temporal Function Market Making (TFMM)
- Temporal Function Market Making (TFMM) is a framework where market mechanisms use time-indexed functions to dynamically adjust pricing rules and liquidity incentives.
- TFMM encompasses implementations like time-dependent CFMM invariants, dynamic-weight AMMs, propagator-based dealer models, and prediction market constructs to tailor price responses.
- TFMM enhances market efficiency by mitigating arbitrage leakage, replicating option payoffs, synchronizing external data, and stabilizing evolving liquidity conditions.
Searching arXiv for the cited TFMM-related papers and terminology to ground the article in current arXiv records. Temporal Function Market Making (TFMM) denotes market-making mechanisms in which the pricing rule, invariant, or cost function is explicitly indexed by time or by information arriving over time. In the cited literature, TFMM includes time-dependent CFMM invariants, dynamic-weight AMM rebalancing, propagator-based dealer models under transient impact, and cost-function prediction markets with decreasing utility for information. The shared structural feature is temporal adaptation of prices, incentives, and loss geometry, rather than a single implementation template (Jepsen et al., 2023, Dudík et al., 2014, Willetts, 5 Mar 2026, Barzykin, 19 Jan 2026).
1. Formal definitions and scope
In the CFMM formulation, a market maker is specified by a trading function , with pool state given by a reserves vector and invariant level set . Valid trades with fee satisfy
where are the tendered and received baskets. The instantaneous price is obtained from the gradient: if and token is the numeraire, then
For a 2-asset pool with reserves and numeraire asset 0, a general time-dependent invariant can be written as 1, with instantaneous exchange rate
2
and invariant slope
3
This is the basic invariant-based definition of TFMM in the AMM setting (Jepsen et al., 2023).
A second formalization treats TFMM as a time-indexed family of convex cost functions. In cost-function-based markets, the market maker maintains a state 4 and a closed, proper, convex cost function 5. A trade 6 costs 7, and prices are 8 when 9 is differentiable, or more generally 0. The TFMM abstraction is the tuple 1, where 2 is time-indexed and 3 is a state-transition operator satisfying price preservation. Utility for information is represented by the mixed Bregman divergence
4
where 5 is the convex conjugate of 6 (Dudík et al., 2014).
A common misconception is that TFMM refers only to clock-time-dependent AMM curves. In the cited literature, the temporal function may instead be an impact kernel 7, a family of convex costs 8, or an oracle-synchronized effective curve derived from external liquidity and inventory state (Barzykin, 19 Jan 2026, Abgaryan et al., 2023).
2. Time-dependent CFMM invariants and option replication
The paper "Analysis of the RMM-01 Market Maker" gives a concrete TFMM instantiation in a 2-asset CFMM whose invariant depends on time-to-maturity 9 (Jepsen et al., 2023). With reserves per LP token 0, strike price 1, implied volatility 2, and 3 in the paper’s analysis, the trading function is
4
where 5 is the standard normal CDF and 6 its quantile. The time dependence enters through 7, so 8. As 9, 0 collapses to a constant-sum market. The paper identifies this as the hallmark of TFMM: a CFMM whose invariant explicitly depends on time, thereby shaping path-dependent price dynamics and payoffs (Jepsen et al., 2023).
RMM-01 is designed so that LP tokens replicate a Black–Scholes priced covered call. With
1
the Black–Scholes call price is
2
and the covered call value is
3
The paper shows that when the CFMM’s reported price equals the external market price 4,
5
Perfect replication occurs at 6, where
7
The RMM-01 marginal price is
8
At fixed reserves, the time derivative is
9
Thus, even with no swaps, the internal price drifts deterministically with 0. Arbitrageurs continuously adjust reserves so that 1, coupling the TFMM’s time drift to external market prices. Profitable arbitrage exists when the CFMM-reported price lies outside
2
A central analytical result concerns price stability relative to Uniswap’s constant product market. For Uniswap V2, 3 and 4, whereas RMM-01 has infinitesimal price impact
5
At equal prices, RMM-01 has strictly smaller infinitesimal price impact when
6
The bound is easiest to satisfy near at-the-money and as 7 decreases. Near expiration,
8
so price manipulation is impossible because 9 does not depend on reserves when 0. The same construction is composable with lending: shorting the LP token and holding one unit of the underlying gives a synthetic call,
1
and put–call parity yields a synthetic put via
2
3. Dynamic-weight TFMM and the geometry of rebalancing
A second TFMM line studies dynamic-weight AMMs, especially geometric mean market makers with invariant
3
where 4 lies on the simplex, 5, 6. At equilibrium, with exogenous market prices 7 and pool value 8, the value fraction in asset 9 equals the weight:
0
In TFMM, a pool manager prescribes a weight trajectory over time. At each block boundary, weights are updated from 1 to 2, arbitrageurs trade, and the pool returns to equilibrium at the new weights and current prices (Willetts, 5 Mar 2026).
When weights jump from 3 to 4 at fixed prices, the pool’s value shrinks by the retention ratio
5
so the log-loss is exactly
6
Thus the per-step arbitrage loss is the KL divergence between the new and old weight vectors. For a small change 7 with 8,
9
which identifies the Fisher–Rao metric
0
as the natural Riemannian metric on the weight simplex (Willetts, 5 Mar 2026).
Under the Hellinger embedding
1
the simplex maps to the positive orthant of the unit sphere, 2, and the metric becomes
3
The leading-order loss-minimizing interpolation is therefore SLERP, the great-circle geodesic on the sphere traversed at constant speed. If
4
then
5
For 6 steps, each quadratic-loss increment is
7
and total quadratic loss is 8.
The midpoint of SLERP is exactly the "(AM+GM)/normalize" heuristic:
9
where
0
This identity holds for any number of tokens and any magnitude of weight change. It implies that all dyadic SLERP points can be generated by recursive AM–GM bisection without trigonometric functions. On the full KL cost, if weights are bounded away from zero and 1, the paper proves
2
so relative sub-optimality is 3 (Willetts, 5 Mar 2026).
4. Propagator-based TFMM and endogenous price impact
In dealer markets, TFMM can be formulated through a temporal impact kernel rather than an AMM invariant. In "Market Making and Transient Impact in Spot FX", the midprice is
4
where 5 is cumulative interbank execution and 6 is a causal, nonincreasing, integrable propagator. The paper uses the exponential kernel
7
with resilience rate 8 and half-life
9
In the equivalent Markovian embedding,
00
where 01. Dealer inventory evolves as
02
and interbank hedging cost is
03
The HJB with state 04 yields approximate optimal quotes
05
with
06
and optimal hedging speed
07
where
08
The boundary 09 defines the pure internalization zone. In this formulation, the TFMM “temporal function” is the impact kernel 10 and its resilience parameter 11 (Barzykin, 19 Jan 2026).
A related perspective is given by the dynamic-auction model in "A Model of Market Making and Price Impact", where the market-making function arises endogenously from a stochastic differential game among symmetric market makers (Singh, 2021). In linear-symmetric Nash equilibrium,
12
and individual trading rates satisfy
13
Writing 14 and identifying 15, the equilibrium price takes Almgren–Chriss form
16
Here the temporal pricing rule is inventory-dependent and rate-dependent: a persistent component enters through the state 17, while temporary impact enters through 18. This literature suggests that a temporal market-making function need not be explicitly imposed; it can emerge from equilibrium quoting under inventory risk and competition (Singh, 2021).
5. Information-sensitive TFMM in prediction markets
In prediction markets, TFMM is built from a time-indexed family of convex cost functions whose utility for information decreases over time. In the cost-function framework, with outcome space 19, payoff vectors 20, state 21, cost 22, and conjugate
23
trade payoff is
24
The mixed Bregman divergence
25
has the identities
26
where 27 (Dudík et al., 2014).
For sudden revelation, a random variable 28 becomes publicly revealed at a known time 29. The market maker leaves the state unchanged, 30, and replaces 31 by a new cost function 32 constructed from offsets
33
the piecewise-shifted dual
34
and the convex roof 35. In primal form,
36
Under the consistency condition in the paper’s "Implicit submarket closing" theorem, the post-switch market simultaneously satisfies CondPrice, Ex, and Ze: conditional prices are preserved, excess utility is preserved within each conditional submarket, and the guaranteed profit from knowing only the revealed information is zero. The worst-case loss is preserved (Dudík et al., 2014).
For gradual decrease, the structured market is represented as an LCMM with submarkets 37 and non-increasing schedules 38, 39. The direct-sum cost at time 40 is
41
and the constrained market is
42
If 43 minimizes 44, the price-preserving state update to time 45 is
46
The divergence evolution is
47
This construction preserves prices while making utility for targeted information nonincreasing in time, and the worst-case loss over time never exceeds the initial one (Dudík et al., 2014).
6. Oracle-synchronized architectures, composability, and design tensions
The paper "Dynamic Function Market Maker" presents a protocol architecture that implements a TFMM-like mechanism through a virtual order book, an external liquidity density function (ELDF), rebalancing premiums, non-linear buffers, and an algorithmic accounting-asset 48 (Abgaryan et al., 2023). In the notation of the paper, 49 are reserves, 50 is the consolidated external price, 51 is the external liquidity density function, 52 is the internal liquidity density function, 53 are nominal open inventories expressed in 54, 55 is the rebalancing premium function, 56 is its aggressiveness parameter, 57 is the sLP cover coefficient, 58 is utilization, 59 is Treasury Reserve, and 60 is the rebalancing fee fraction of the AMM fee. The protocol’s solvency invariant is
61
with
62
and
63
The one-price principle is expressed through the synchronization error
64
with enforcement band
65
The internal effective curve is synchronized to the external curve by
66
where 67 is the fitted external curve. Rebalancing premiums and sLP buffers modify the effective price schedule through
68
and
69
The deterministic settlement flow includes data aggregation, pricing update, order routing, buffer adjustment, fee allocation, and auction updates of 70 subject to Treasury bounds (Abgaryan et al., 2023).
Across these constructions, TFMM is not a single invariant family but a design principle for embedding time, information, or resilience directly into the market-making rule. In RMM-01, the temporal parameter is 71 and the invariant flattens toward constant-sum near expiry (Jepsen et al., 2023). In dynamic-weight AMMs, the temporal object is the weight trajectory, and arbitrage leakage is measured by KL divergence on the simplex (Willetts, 5 Mar 2026). In propagator models, the temporal object is the impact kernel 72 and its resilience scale 73 (Barzykin, 19 Jan 2026). In prediction markets, it is the schedule of convex costs 74 and the state update operator 75 that preserve prices while attenuating utility for selected information (Dudík et al., 2014).
The main design tensions are also explicit in the cited papers. RMM-01 assumes continuous trading and frictionless markets for replication, with real-world fees and lending interest introducing small deviations (Jepsen et al., 2023). The dynamic-weight geometry assumes zero fees and perfect, immediate arbitrage within each block step, exogenous prices constant within each step, and a positive weight floor (Willetts, 5 Mar 2026). DFMM requires sufficient external liquidity and bounded latency for its contraction argument, and it specifies fallback modes for oracle failures and collateral shortfall (Abgaryan et al., 2023). The transient-impact HJB requires progressively measurable controls together with integrability and boundedness sufficient for existence of the solution (Barzykin, 19 Jan 2026). The prediction-market constructions require consistency or tightness conditions to achieve the full combination of CondPrice, Ex, Ze, and DecUtil guarantees (Dudík et al., 2014). These conditions do not negate the TFMM framework; they delineate the regimes in which its temporal adaptations are analytically tractable and economically interpretable.