> For the complete documentation index, see [llms.txt](https://exliquid.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://exliquid.gitbook.io/docs/architecture/why-native-trading-appchain.md).

# Why native trading?

Exliquid treats order-book trading as a first-class network capability rather than as a private matching service that settles somewhere else later.

The reason is product consistency: an order-book exchange must keep **ordering, matching, balances, positions, prices, margin and liquidation** aligned around the same trading result.

## One trading state

For a user or integration, the useful outcome is simple:

```
signed trading action
      ↓
network ordering and finality
      ↓
native trading execution
      ↓
shared market and account state
      ↓
REST / WebSocket / User App
```

An order fill is therefore not an isolated matching event. It is connected to the corresponding balance, position, fee and risk changes.

## Why this matters for order-book markets

Native execution gives the product explicit rules for:

* price-time priority;
* fixed numeric precision and rounding;
* order and cancellation semantics;
* position and PnL accounting;
* funding and margin checks;
* mark-price based risk evaluation;
* liquidation ordering and loss handling.

These are visible product behaviors, not optional reconciliation steps.

## What developers need to know

Integration developers do not need to reproduce the network's internal execution software.

They need stable external contracts for:

* constructing and signing actions;
* submitting transactions;
* confirming final results;
* querying markets and accounts;
* consuming ordered WebSocket updates;
* handling version changes and errors.

See [Developer overview](/docs/developers/overview.md).

## Current boundary

The current network line uses simulated assets and permissioned validators. Native execution describes the trading model; it is not a claim that the network is already a production mainnet or a real-asset exchange.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://exliquid.gitbook.io/docs/architecture/why-native-trading-appchain.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
