What is a worked example of Decentralised Market?

Explore What is a worked: mechanics, differences, limitations, and practical checks.

Direct answer

A decentralised market is a trading setting where there is no single central place that holds all orders. Instead, trading can occur across many participants and venues, with prices emerging from their interactions. A worked example shows how that “many places” structure affects execution and the final cashflow, using explicit numbers and assumptions.

Mechanism or definition

In a decentralised market, different participants may post prices (or respond to orders) independently. That means:

  • The “market price” is not one fixed number; it is an outcome of interactions across venues.
  • Execution can depend on where your order is matched, the available liquidity at that moment, and the execution rules of the trading provider (for example, how orders are routed or filled).
  • Costs can matter as much as price (spread, commissions, fees, and any difference between expected and executed price).

Key terms for the example below:

  • Mid price: an average of a bid and an ask (conceptually; we will use it as a simplifying input).
  • Spread: the difference between bid and ask.
  • Fill price: the price at which a portion of the order is actually executed.
  • Slippage: the difference between an expected price and the executed price.

Evidence or example

Worked scenario (hypothetical; no real-time data):

Assumptions (state everything)

  1. You want to buy an instrument with a target trade size of 100,000 units.
  2. At the moment you place the order, a simplified “market snapshot” across venues implies a current mid price of 1.1000.
  3. The effective spread near your order is 0.0002, so the displayed ask implied by the mid is 1.1001 (mid + spread/2) and the displayed bid is 1.0999 (mid − spread/2).
  4. Liquidity is fragmented, so your order does not fill in one piece.
  5. Your provider executes by matching with available liquidity in parts (partial fills).
  6. Transaction costs are represented as a commission/fee of 20 (currency units) total for the whole order.
  7. A simplified conversion factor for profit/loss is: P/L = (Sell price − Buy price) × 100,000 (this is only a unit-consistent arithmetic example).
  8. After entry, you later sell at a mid price of 1.1020, using the same mid-and-spread simplification.

Step 1: Entry via partial fills

Because the market is decentralised, different venues respond at slightly different prices.

  • Fill A: 60,000 units at an executed buy price of 1.10015.
  • Fill B: 40,000 units at an executed buy price of 1.10025.

Compute the weighted average entry (buy) price:

  • Total cost = (60,000 × 1.10015) + (40,000 × 1.10025)
  • Weighted average = Total cost / 100,000
  • = [(60,000 × 1.10015) + (40,000 × 1.10025)] / 100,000
  • = (1.10015×0.6) + (1.10025×0.4)
  • = 0.66009 + 0.44010
  • = 1.10019

This illustrates a decentralised-market effect: even if the “mid” is stable in your simplified view, the actual executed prices can differ across fills.

Step 2: Exit

At sell time, assume the mid is 1.1020 and spread/2 is 0.0001, so the implied bid is 1.1019.

  • Use sell price = 1.1019 for arithmetic.

Step 3: Profit/loss calculation (arithmetic only)

  • Gross P/L = (sell − weighted buy) × 100,000
  • = (1.1019 − 1.10019) × 100,000
  • = 0.00171 × 100,000
  • = 171
  • Net P/L = Gross P/L − commission/fee
  • = 171 − 20
  • = 151

What this “worked example” demonstrates

The decentralised structure matters because:

  • Your order can be filled at multiple prices (partial fills).
  • The executed entry price becomes a weighted average.
  • Costs and execution differences can change outcomes even if the mid moves the “same way” you expected.

Limitations and risks

  1. Execution uncertainty: In a decentralised market, fills may occur across different liquidity sources, so executed prices can vary. The weighted average in the example depends on how much liquidity is available at each price. 2. Costs and pricing differences: Spreads, commissions, and any additional fees can turn a small gross move into a smaller net outcome. Even a constant mid move does not guarantee a constant executed outcome. 3. Provider-specific rules: Execution routing and order-handling rules differ by provider. Those rules affect partial fill behavior and how slippage appears. 4.
Trading foreign exchange and CFDs involves substantial risk. Information on FoxiForex is educational and is not personal financial advice. Sponsored placements are labelled clearly.