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

# Дневник

Дневник хранит сделки, статистику и живые данные по открытым позициям.

## Сделки

Для каждой сделки сохраняйте инструмент, направление, Entry, TP, SL, риск, размер позиции, комиссию и результат. Закрытые сделки показывают первоначальные TP/SL и фактические значения закрытия.

## Живой PnL

Открытая сделка обновляет Mark Price и текущий PnL через поток рыночных данных. График открытой сделки должен использовать тот же таймфрейм, который выбран в настройках, и позволяет переключить его отдельно.

## Статистика

Используйте кривую капитала, Win Rate, Profit Factor, средний результат, комиссии и разбивку по Long/Short. Смотрите статистику вместе с графиками сделок, а не только по итоговому проценту.

## Как вносить сделку

Запишите причину входа, контекст старшего таймфрейма, риск и план выхода сразу после открытия. После закрытия добавьте фактическое исполнение и короткий вывод. Это превращает дневник в инструмент обратной связи, а не просто список операций.

<figure><img src="https://2655355719-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUYEtiNLE6oJg86ZWWkX5%2Fuploads%2FsdMQ7JOWDDessSOPt5X8%2F07-diary-real.png?alt=media&amp;token=9008c435-35d3-48a6-9aea-6eaeeea6ada2" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2655355719-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUYEtiNLE6oJg86ZWWkX5%2Fuploads%2F0dBEc9WZlkprA7moF5Sa%2F07-diary-trade-real.png?alt=media&amp;token=b986e54e-e764-4fae-922b-2a5a003dd3b8" alt=""><figcaption></figcaption></figure>


---

# 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://timenest.gitbook.io/timenest-docs/dnevnik.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.
