> For the complete documentation index, see [llms.txt](https://docs.lsports.eu/u/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.lsports.eu/u/trade/settlements-rulebook.md).

# Settlements Rulebook

Sport-specific settlement rules for TRADE markets

This section documents the settlement rules, principles, and result handling for betting markets across different sports. Each page explains how LSports processes and resolves specific market types.

***

## Settlement Principles

All settlements follow these core principles:

1. **Official Results** — Settlements are based on official results from governing bodies
2. **Timing** — Settlements are triggered when fixture status changes to Finished (ID 3)
3. **Dead Heat Rules** — When applicable, stakes are divided equally among tied selections
4. **Void/Refund** — Bets are refunded when events are cancelled, abandoned, or results are unavailable

***

## Settlement Rules by Sport

| Sport                                                         | Coverage                                          |
| ------------------------------------------------------------- | ------------------------------------------------- |
| [Football](/u/trade/settlements-rulebook/football.md)         | Match result, goals, corners, cards, player props |
| [Basketball](/u/trade/settlements-rulebook/basketball.md)     | Match winner, totals, quarters, player props      |
| [Horse Racing](/u/trade/settlements-rulebook/horse-racing.md) | Race winner, place markets, position markets      |

***

## Settlement Status Codes

| Code | Status       | Description                    |
| ---- | ------------ | ------------------------------ |
| -1   | **Canceled** | The bet settlement is canceled |
| 1    | **Loser**    | The bet has lost               |
| 2    | **Winner**   | The bet has won                |
| 3    | **Refund**   | There should be a refund       |
| 4    | **HalfLost** | Half of the bet has lost       |
| 5    | **HalfWon**  | Half of the bet has won        |

For complete enumeration details, see [Bet Settlements & Statuses](/u/trade/enumerations/bet-settlements-and-statuses.md).

***

## Related Documentation

* [Settlements Concept](/u/trade/concepts/settlements.md) — General settlement process
* [Fixture Lifecycle](/u/trade/concepts/fixture-lifecycle.md) — When settlements are triggered
* [Message Structure](/u/trade/integration/message-structure/settlement.md) — Settlement message format


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.lsports.eu/u/trade/settlements-rulebook.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
