Trade Lifecycle

How a trade becomes a position and evolves over time inside the system

Core Reading Path ยท Step 3 of 5

Stage goal: Stop when you can explain how a trade moves from order to position and how that position changes over time.

Intro

TL;DR

  • A trade is not a sequence of steps, but a continuous transition of system state
  • Orders, positions, and outcomes are all part of the same lifecycle

With the system structure in mind, the next step is to see how a trade actually unfolds.

From the interface, trading appears as a series of actions: you place an order, it gets filled, and a position appears. But inside the system, these are not separate stages handled by different components.

A trade is a continuous process where each step directly transforms the system's state, and the next step follows from it automatically.

Understanding this lifecycle connects everything discussed so far into a single flow.

From order to execution

When you submit an order, it immediately becomes part of the system's state. It is not queued for processing or passed to another layer. Instead, it enters the order book directly and exists as part of the shared environment.

If a matching order is available, the trade is executed. This execution does not trigger a separate settlement phase. The result is applied immediately, and the system reflects the new state without delay.

At this point, what was an action becomes a state change, and that state becomes the starting point for what follows.

From execution to position

Once executed, the trade becomes a position. This is where the nature of interaction changes.

An order is temporary, it exists only until it is filled or canceled. A position, on the other hand, persists. It represents an ongoing state defined by entry price, size, direction, and collateral.

From this moment on, the system no longer deals with a single action. It continuously evaluates the position as part of its state.

Continuous updates

As market conditions change, the system continuously updates the position.

Profit and loss, account equity, and margin requirements are recalculated in real time. This is not triggered by user input or periodic checks, it is continuous by design.

The position is always current, always reflecting the latest state of both the market and the account.

Closing the position

A position can be closed by submitting another order. When that order is matched, the system updates its state again, reducing or removing the position.

From the system's perspective, this follows the same process as opening a position. There is no separate mechanism for closing, only state transitions driven by actions.

How a trade evolves

Order โ†’ Match โ†’ Execute โ†’ Position โ†’ Update โ†’ Close / Liquidate

State vs action

Order
Action
Execution
Action
Position
State
PnL updates
State
Closing
Action

What this changes

Seeing trading as a lifecycle changes how you interpret the system.

You are not interacting with a platform that handles isolated actions. You are interacting with a system where actions create states, and those states continue to evolve.

There is no separation between before and after execution, everything is part of the same continuous process.

Reinforcement

A trade extends beyond execution, it continues as long as the position exists and evolves with every change in the system.

From the moment an order is submitted to the moment a position is closed, the same rules apply. Each step follows directly from the previous one, without interruption or reinterpretation.

This is what makes the lifecycle consistent and predictable.

You can move on when

  • You can describe how an order becomes a position
  • You understand that positions are continuously updated
  • You can explain why opening and closing follow the same process

Next step

If trades continuously evolve as system state, the next step is to understand who controls that state and why actions cannot be undone.

Continue -> Custody & Irreversibility
ยฉ 2025 Tokenoversity. All rights reserved.