> For the complete documentation index, see [llms.txt](https://docs.sportradar.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sportradar.com/ctrl/guide/configuration/mytemplates-pre-match/margin-adjustment.md).

# Margin Adjustment

For model-driven markets only, once a key value has been entered, additional options are available, such as the margin adjustment tool and multiple-line configuration settings, when applicable.&#x20;

The margin adjustment tool allows the user to decide how the margin will be distributed across the different market outcomes (marked in **red** in the screenshot below).

<figure><img src="/files/EuolLAN622Xx0Pz30OGX" alt=""><figcaption></figcaption></figure>

In the same 3-way market shown below, the margin adjustment tools have been expanded (the black box in the screenshot), and the user can begin making changes. The **red** box can be used to manually adjust the actual key value while observing the impact on the margin adjusted representative final odds.

The user can choose to directly adjust the margin for each of the selections (**Home / Draw / Away**) below, even though a direct change on one selection will create an indirect change on inverse outcomes. Once the margin adjustment is saved, the text “MA” will appear next to the oddskey value (in the **purple** box below).

<figure><img src="/files/qsz9Y0sl1SgHAPMEfPFP" alt=""><figcaption></figcaption></figure>

By dragging the slider sideways, the user can adjust how much of their margin is allocated to the selected outcome. Moving towards left twill reduce the margin applied against that selection while dragging the slider to the right will increase the margin applied against that selection. The 3 lines of cells will reflect the impact of any potential margin adjustment. The first two lines represent the fair odds and then normal odds (margin applied but not adjusted) values, both of which will never change. The third line shows what the odds would be after the margin has been adjusted or skewed.

Although such margin adjustment will impact the final odds of the effected market, if the market being modified is a model driver, this modification will not create subsequent change in derived markets, as the probabilities are not affected by the margin adjustment.

*The 3 graphs below demonstrate the margin being adjusted for the outcome ‘Home’ team to win; the first is a baseline with no margin adjustment, then the ‘Home’ to win margin has been reduced, and finally ‘Home’ to win margin increased. Notice that the probabilities are never modified via the margin adjustment tool, only the distribution of the prescribed margin is skewed, affecting the final odds.*

<figure><img src="/files/LzxS686gKlleK9zc3x0R" alt=""><figcaption></figcaption></figure>

*These examples represent extreme adjustments, for the sake of demonstration, in reality, more subtle adjustments are likely to be much more useful, however, the functionality operates in the exact same way.*

&#x20;

It is important to note that the user can only make direct adjustments to the margin on one selection of a market, the outcome of which is additional indirect adjustments on inverse selections of that market. If a user makes adjustments to the margin for the ‘Home’ selection, then clicks on Draw and makes further adjustments, the previous adjustments will be ignored, and only adjustments made directly on the Draw outcome will be used. Additionally, although such margin adjustment will impact the final odds of the effected model driving market, this modification will not create subsequent change in derived markets.

The values used in the margin adjustment configuration on a template are arbitrary numbers, to represent ‘typical’ fair odds and how the normal odds would be modified by adjustments to the margin. These numbers do not represent the actual odds for any market. The arrows either side of the representative ‘fair’ odds values (green below) can be used to scroll between different arbitrary representative starting odds positions, to observe how the margin adjustment settings would impact final odds, given multiple different starting odds scenarios.

<figure><img src="/files/dWfwLDu5DjphE6ZrCnRP" alt=""><figcaption></figcaption></figure>

Finally, as well as being able to adjust the margin directly against a specific outcome, the user can adjust the margin against the ‘Favorite’ selection (in red above), meaning those adjustment settings will be applied against either Home, Draw or Away (in the 3 way example), depending on which one of the 3 is the favorite in that market of the event using this template at that time. In this situation, if there is no clear favorite in the market the margin adjustment will not be used.

The user can also quickly copy a previous margin adjustment setting from any other point along that market’s timeline that an adjustment has been defined using the ‘copy adjustment from’ option. Each time the user configures an individual margin adjustment, on any point on the timeline on any market they must press save each time, multiple margin adjustments cannot be saved at once.


---

# 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://docs.sportradar.com/ctrl/guide/configuration/mytemplates-pre-match/margin-adjustment.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.
