> For the complete documentation index, see [llms.txt](https://guide.moontrader.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://guide.moontrader.com/torgovlya/algoritmicheskii-treiding/obshie-nastroiki-algoritmov/filtr-markirovochnoi-ceny.md).

# Фильтр маркировочной цены

Фильтр «Маркировочная цена» позволяет указать диапазон отклонения маркировочной цены от текущей цены. Если отклонение превышает указанный диапазон, алгоритм не выставляет ордера.

**Доступность:** Только на рынках USDT-M и COIN-M.

***

### Как использовать

Укажите диапазон отклонения в процентах от минимального до максимального значения.

**Как работает:** Алгоритм проверяет отклонение маркировочной цены от текущей. Если отклонение входит в диапазон — ордера размещаются, если выходит — пара исключается.

**Примеры:**

* **Положительные значения:** отклонения маркировочной цены выше текущей
* **Отрицательные значения (без знака "плюс"):** отклонения маркировочной цены ниже текущей
* **Диапазон от меньшего к большему:** например, от -1 до 0,5

***

### Что такое маркировочная цена (Mark Price)

**Mark Price** — это цена, которая отражает спотовую цену на крупных биржах в реальном времени.

**Для чего используется:**

* Триггер ликвидации позиций
* Измерение нереализованных прибылей и убытков

**Важно:** Mark Price не влияет на фактическую прибыль и убыток трейдера. Позиция ликвидируется только когда цена маркировки достигает цены ликвидации.

**Связь с направлением позиции:**

* **Отрицательное отклонение Mark Price** (ниже текущей цены) — ближе к линии ликвидации для позиций buy (покупка)
* **Положительное отклонение Mark Price** (выше текущей цены) — ближе к линии ликвидации для позиций sell (продажа)

***

### Зачем это нужно

Фильтр помогает избежать торговли на рынках с большим расхождением между текущей ценой и справедливой оценкой актива.

**Применение:** Включите фильтр и задайте приемлемый диапазон отклонений. Алгоритм будет работать только с парами, где маркировочная цена находится в безопасных пределах относительно текущей цены.


---

# 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://guide.moontrader.com/torgovlya/algoritmicheskii-treiding/obshie-nastroiki-algoritmov/filtr-markirovochnoi-ceny.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.
