Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
LABS
Glossary

Mark-to-Market (MTM)

Mark-to-Market (MTM) is the accounting practice of valuing an open financial position, such as a derivative contract, at its current market price to determine unrealized profit or loss.
Chainscore © 2026
definition
ACCOUNTING & FINANCE

What is Mark-to-Market (MTM)?

Mark-to-Market (MTM) is a core valuation and accounting method for measuring the fair value of assets and liabilities based on their current market price.

Mark-to-Market (MTM), also known as fair value accounting, is the practice of periodically revaluing an asset or portfolio to reflect its current market value rather than its historical purchase price. This method provides a real-time snapshot of financial health by acknowledging gains or losses as they occur, a concept known as unrealized P&L. It is mandated for many financial institutions and is fundamental to the daily settlement of derivatives and futures markets, ensuring transparency and reflecting true economic reality.

The MTM process is critical for managing risk, particularly for entities holding volatile assets like securities, commodities, or cryptocurrency positions. For example, a trading firm's daily profit and loss statement is generated by marking all open positions to the day's closing prices. This allows for accurate collateral management, as margin requirements on exchanges like the CME are calculated using MTM values. Failure to meet these margin calls can trigger the automatic liquidation of positions to cover losses.

In blockchain and decentralized finance (DeFi), MTM is inherently enforced by smart contract logic. Lending protocols such as Aave or Compound use oracles to fetch real-time asset prices and continuously compute the collateralization ratio of user positions. If the MTM value of a user's collateral falls below a required threshold, the position becomes eligible for liquidation. This automated, transparent process eliminates the latency and discretion found in traditional finance, though it introduces oracle risk.

While MTM increases transparency, it can also contribute to volatility during market stress, a phenomenon known as procyclicality. In a downturn, falling asset prices force MTM write-downs, which can trigger widespread liquidations and margin calls, potentially exacerbating the sell-off. This systemic risk was evident during the 2008 financial crisis with mortgage-backed securities and is a considered risk in highly leveraged crypto markets. Accounting standards like IFRS 13 and ASC 820 provide the framework for MTM implementation in traditional finance.

how-it-works
VALUATION MECHANISM

How Mark-to-Market Works in DeFi

Mark-to-Market (MTM) is a critical accounting and risk management practice that determines the current, real-time value of an asset or liability based on its present market price, not its historical cost.

In traditional finance, Mark-to-Market is a standard accounting rule that requires assets to be valued at their current market price on a company's balance sheet. This provides a transparent and realistic view of a firm's financial health. In DeFi (Decentralized Finance), MTM is a foundational mechanism for lending protocols, derivatives platforms, and automated market makers (AMMs). It is the process by which these protocols continuously assess the value of collateral, loans, and trading positions to ensure solvency and manage systemic risk. The primary goal is to prevent situations where the value of a loan exceeds the value of the collateral securing it, which is known as being under-collateralized.

The core function of MTM in DeFi is to trigger liquidations. When a user deposits collateral (e.g., ETH) to borrow another asset (e.g., USDC), the protocol uses price oracles—trusted external data feeds—to constantly mark the value of that collateral to the live market price. If the market price of ETH falls, causing the collateral's value to drop below a predefined liquidation threshold (e.g., 110% of the loan value), the protocol will automatically liquidate part or all of the position. This process repays the debt by selling the collateral, protecting the protocol and its lenders from losses. Without accurate and frequent MTM, protocols would accumulate bad debt and become insolvent.

Implementing MTM in a decentralized environment presents unique challenges, primarily centered on oracle security and price manipulation. Since smart contracts cannot access external data directly, they rely on oracles like Chainlink. An oracle providing stale or manipulated prices can cause faulty liquidations or, worse, allow under-collateralized positions to go unnoticed. Therefore, DeFi protocols employ various safeguards: using multiple oracle sources, time-weighted average prices (TWAPs) to smooth volatility, and circuit breakers. The frequency of marking—whether block-by-block or at specific intervals—also balances between precision and gas cost efficiency on the blockchain.

Beyond lending, MTM principles are essential for perpetual futures contracts and options protocols in DeFi. These platforms use MTM to calculate unrealized profit and loss (PnL) for every open position in real-time. This ongoing valuation determines a trader's margin balance and triggers margin calls or liquidations if their maintenance margin is breached. Similarly, in yield farming and liquidity provision, a user's position value is marked-to-market based on the fluctuating prices of the underlying tokens in the liquidity pool, affecting their impermanent loss calculations and overall portfolio valuation.

While MTM enhances transparency and risk management, it also introduces volatility risks for users. In highly volatile markets, small price dips can trigger cascading liquidations, exacerbating price swings—a phenomenon seen during market crashes. Furthermore, the reliance on oracles creates a centralization point of failure. For developers and protocol designers, the key is to design robust MTM systems that are resilient to manipulation, use economically secure oracle networks, and have clear, fair liquidation mechanisms to maintain the integrity of the DeFi ecosystem.

key-features
ACCOUNTING METHOD

Key Features of Mark-to-Market

Mark-to-Market (MTM) is an accounting method that values an asset, liability, or portfolio at its current fair market price rather than its historical cost. This section details its core mechanisms and applications.

01

Real-Time Valuation

MTM provides a real-time snapshot of financial health by valuing positions at their current market price. This contrasts with historical cost accounting, which records the price at acquisition.

  • Key Benefit: Offers transparency and reflects the immediate economic reality of a position.
  • Example: A crypto exchange uses MTM to display the live value of a user's portfolio, which fluctuates with every market tick.
02

Profit & Loss (P&L) Recognition

Unrealized gains and losses are recognized in the income statement as they occur, not just when a position is closed. This creates paper profits/losses that impact reported earnings.

  • Mechanism: Daily revaluation triggers P&L entries, affecting metrics like Net Income.
  • Consequence: Can increase earnings volatility as market prices fluctuate.
03

Collateral & Margin Calls

In DeFi and traditional finance, MTM is the foundation for collateral management. Lending protocols and exchanges constantly revalue collateral assets to determine loan health.

  • Process: If the MTM value of collateral falls below a required threshold (the maintenance margin), a margin call is triggered, requiring the borrower to add more collateral.
  • Purpose: Mitigates counterparty risk for the lender.
04

Risk Management Tool

By providing current valuations, MTM enables proactive risk management. Traders and portfolio managers can monitor exposure and volatility in real time.

  • Applications:
    • Calculating Value at Risk (VaR).
    • Setting and enforcing risk limits.
    • Triggering automatic liquidation engines in leveraged trading.
05

Regulatory & Accounting Standards

MTM is mandated by key accounting standards for certain financial instruments. FAS 157 (US GAAP) and IFRS 13 define the fair value hierarchy used in MTM valuations.

  • Fair Value Levels:
    • Level 1: Quoted prices in active markets (e.g., BTC/USD on Coinbase).
    • Level 2: Observable inputs other than quoted prices.
    • Level 3: Unobservable inputs (model-based).
06

Contrast with Historical Cost

This card highlights the fundamental difference between MTM and historical cost accounting.

  • Mark-to-Market: Value = Current Market Price. Reflects present reality, creates volatility.
  • Historical Cost: Value = Original Purchase Price. Provides stability, but can obscure current losses or gains.

MTM is preferred for liquid, traded assets (stocks, crypto), while historical cost is used for illiquid assets like property.

VALUATION COMPARISON

Mark-to-Market vs. Other Valuation Methods

A comparison of key characteristics between mark-to-market and other common accounting and valuation methodologies.

Feature / MetricMark-to-Market (MTM)Mark-to-ModelHistorical CostHeld-to-Maturity

Valuation Basis

Current market price

Internal model / assumptions

Original purchase price

Amortized cost

Frequency

Daily or real-time

Periodic or event-driven

At transaction

Periodic amortization

Primary Use Case

Trading portfolios, derivatives

Illiquid / complex assets

Long-term non-financial assets

Debt securities held to term

Reflects Market Volatility

Regulatory Framework

FAS 157, IFRS 13

Model governance standards

GAAP / IFRS cost principle

Accounting standards for debt

P&L Impact Timing

Immediate recognition

Deferred or smoothed

Realized upon sale

Recognized at maturity

Susceptibility to Manipulation

Low (external data)

High (model inputs)

Low

Low

Liquidity Requirement

Requires active market

No market required

No market required

No market required

ecosystem-usage
IMPLEMENTATIONS

Protocols Using Mark-to-Market

Mark-to-Market (MTM) accounting is a critical risk management mechanism adopted by several major DeFi lending protocols to ensure solvency and accurate collateral valuation in volatile markets.

06

Key Mechanism: Price Oracles

MTM is impossible without reliable, real-time price data. Protocols rely on decentralized oracle networks (e.g., Chainlink, Pyth) to provide trust-minimized price feeds. The oracle price is the definitive mark used for all collateral and debt valuations. Oracle manipulation or failure is a critical systemic risk, making oracle design a core security consideration for any MTM protocol.

security-considerations
MARK-TO-MARKET (MTM)

Security & Risk Considerations

Mark-to-Market (MTM) is the process of valuing an asset at its current market price rather than its book value. In DeFi, this real-time accounting is critical for managing risk in lending, derivatives, and leveraged positions.

01

Liquidation Triggers

MTM is the core mechanism for collateralized debt positions (CDPs) and lending protocols. A user's health factor or collateral ratio is calculated using the real-time MTM value of their assets. If this value falls below a protocol-defined threshold due to market volatility, the position is subject to liquidation to protect lenders.

02

Oracle Dependency & Manipulation

MTM valuations are entirely dependent on price oracles. This creates a critical security dependency:

  • Oracle Manipulation: Attackers may attempt to manipulate the oracle's price feed (e.g., via flash loan attacks) to trigger false liquidations or artificially inflate collateral value.
  • Oracle Failure: A stale or incorrect price can cause systemic mispricing, leading to unjust liquidations or undercollateralized loans.
03

Volatility & Margin Calls

In perpetual futures and margin trading, MTM creates margin requirements. High volatility can lead to rapid funding rate adjustments and forced margin calls. Users must maintain sufficient margin; if the MTM loss depletes it, their position is liquidated. This creates liquidation cascades where many positions are liquidated simultaneously, exacerbating price moves.

04

Accounting for Impermanent Loss

For liquidity providers (LPs), the MTM value of their LP tokens reflects impermanent loss. This is the loss compared to simply holding the assets, caused by divergence in the prices of the paired tokens. While not a realized loss until withdrawal, MTM accounting makes this risk visible and impacts the perceived health of a liquidity position.

05

Protocol Solvency & Reserve Audits

Protocols use MTM to audit their own solvency in real-time. For lending protocols, it ensures total borrows do not exceed the value of collateral. For algorithmic stablecoins, it's used to manage the collateral backing ratio. Transparent, frequent MTM reporting is a key trust signal for users and auditors.

06

Risk Management Tools

To mitigate MTM risks, protocols and users employ several strategies:

  • Circuit Breakers: Pausing liquidations during extreme volatility.
  • Time-Weighted Average Price (TWAP) Oracles: Using price averages to smooth out manipulation attempts.
  • Overcollateralization: Requiring more collateral than the loan value to create a safety buffer.
  • Liquidation Incentives: Designing efficient liquidation engines to ensure bad debt is minimized.
visual-explainer
MECHANICS

Visualizing the MTM Process

Mark-to-Market (MTM) is a core accounting and risk management mechanism that provides a real-time, objective snapshot of financial value.

The Mark-to-Market (MTM) process is the systematic revaluation of an asset, liability, or portfolio to its current fair market price, rather than its historical purchase cost. This continuous valuation is fundamental to transparency and risk management in modern finance and decentralized finance (DeFi), as it reflects the true economic reality of a position at any given moment. In blockchain contexts, this process is often automated via oracles that feed real-time price data from external markets directly into smart contracts.

A typical MTM cycle involves several key steps. First, a reliable price feed—often from a decentralized oracle network like Chainlink—is queried to obtain the current market price of the underlying asset. Next, this price is applied to the quantity of the asset held, calculating the total current market value. This value is then compared to the book value or the value of the collateral posted, triggering events such as margin calls or liquidations if predefined thresholds are breached. This automated, objective process removes subjective valuation and ensures all parties operate with the same financial facts.

In DeFi lending protocols like Aave or Compound, MTM is visualized through user dashboards showing the Health Factor or Collateral Ratio. As the market value of a user's supplied collateral fluctuates, this ratio updates in real-time. If the value falls below the required minimum due to market volatility, the protocol's smart contracts can automatically initiate a liquidation to repay the undercollateralized loan. This entire lifecycle—from price feed update to potential liquidation—is a direct, transparent visualization of the MTM process in action, providing a clear audit trail on the blockchain.

MARK-TO-MARKET CLARIFIED

Common Misconceptions About MTM

Mark-to-Market (MTM) is a core accounting principle in DeFi, yet it is often misunderstood. This section debunks prevalent myths, clarifying its mechanics, purpose, and implications for lending protocols and risk management.

No, Mark-to-Market (MTM) is an accounting methodology, while an oracle provides the price data that feeds into it. MTM is the process of revaluing an asset or liability to its current fair market value. In DeFi, this is typically done by querying a decentralized oracle network (like Chainlink or Pyth) for the latest price of a collateral asset. The oracle price is the input; the resulting updated value on the balance sheet is the MTM valuation. They are complementary but distinct components of a financial system.

MARK-TO-MARKET (MTM)

Technical Implementation Details

Mark-to-Market (MTM) is an accounting and risk management method that values an asset, liability, or portfolio at its current market price rather than its historical cost. In blockchain, it is critical for real-time collateral valuation in DeFi lending and derivatives protocols.

Mark-to-Market (MTM) is an accounting practice that values an asset or liability at its current fair market price, providing a real-time snapshot of its worth. In blockchain and DeFi, it works by continuously querying price oracles (like Chainlink or Pyth Network) to fetch the latest market price for collateral assets. This real-time valuation is then compared against the outstanding loan value to determine the collateralization ratio. If this ratio falls below a protocol's liquidation threshold, the position is flagged for automatic liquidation to protect lenders from undercollateralized debt. This mechanism is fundamental to the solvency of overcollateralized lending protocols like Aave and MakerDAO.

MARK-TO-MARKET (MTM)

Frequently Asked Questions (FAQ)

Mark-to-Market (MTM) is a core accounting and risk management practice for valuing assets at their current market price. These questions address its critical role in DeFi, particularly for lending protocols and liquidations.

Mark-to-Market (MTM) in DeFi is the real-time valuation of a collateral asset based on its current market price, as reported by a price oracle, to determine a user's borrowing power and liquidation risk. Unlike traditional finance's periodic assessments, DeFi protocols perform continuous MTM calculations. This is fundamental to overcollateralized lending protocols like Aave and MakerDAO, where the Loan-to-Value (LTV) ratio is constantly updated. If the MTM value of the collateral falls, the LTV rises, triggering a liquidation if it breaches a predefined threshold. This mechanism ensures the protocol remains solvent by aligning debt positions with volatile market conditions.

ENQUIRY

Get In Touch
today.

Our experts will offer a free quote and a 30min call to discuss your project.

NDA Protected
24h Response
Directly to Engineering Team
10+
Protocols Shipped
$20M+
TVL Overall
NDA Protected Directly to Engineering Team