> 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.md).

# MyTemplates (pre-match)

<figure><img src="/files/90U82w3wINtTJzslwIr5" alt=""><figcaption></figcaption></figure>

In this section, you can define the settings used for both pre-match and live betting offers, using a template system. Templates allow the user to ‘overlay’ a bespoke set of configurations for matches, including the definition of dynamic margins that can be applied uniquely to every market in every tournament within a sport.

An unlimited number of templates can be created in advance, ready to be deployed at the right time, which could even be a specific match. From the ‘My templates’ section of the Config, the user can edit any templates already in existence or create a new template.

A template can be configured to:

* Define dynamic margins
* Switch any market off or on
* Define the accepted odds values and rounding rules through the ladders
* Adjust how the defined margin for that market is spread across the outcomes
* Define on a bespoke basis how markets with multiple lines operate


---

# 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.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.
