> For the complete documentation index, see [llms.txt](https://broker-docs.tiger.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://broker-docs.tiger.com/sozdanie-api-klyuchei/sozdanie-api-klyuchei-dlya-bybit.md).

# Создание API-ключей для Bybit

{% hint style="warning" %}
Перед созданием API, пожалуйста, убедитесь в том, что вы [переключились на нужную вам биржу](/sozdanie-api-klyuchei/kak-pereklyuchatsya-mezhdu-birzhami.md) в аккаунте Tiger.com Broker:
{% endhint %}

<figure><img src="https://3469589777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtfzSNVb8dR6Q2AudvfkN%2Fuploads%2FCNOIL7WKAB4K75wfC86K%2FScreenshot%202024-04-13%20at%2023.56.55.png?alt=media&amp;token=d4713d00-9da4-402d-886d-a1e185f3b0da" alt="" width="486"><figcaption><p>Биржа будет указана в левом верхнем углу вашего аккаунта</p></figcaption></figure>

1\) Для создания API-ключей нажмите на кнопку "[Создайте API-ключ](https://account.tiger.com/api)" на главной странице личного кабинета:

<figure><img src="https://3469589777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtfzSNVb8dR6Q2AudvfkN%2Fuploads%2Frz3ThgpL2mJuJeTUqAum%2FScreenshot%202024-04-13%20at%2023.58.41.png?alt=media&amp;token=732fd7a5-db85-40c1-9912-8adba0e500c5" alt=""><figcaption><p>Создание API-ключей с главной страницы аккаунта</p></figcaption></figure>

Либо перейдите на [страницу **API** ](https://account.tiger.com/api)и нажмите на кнопку **Новый API-ключ +**. Всего можно создать до 19 API ключей:

<figure><img src="https://3469589777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtfzSNVb8dR6Q2AudvfkN%2Fuploads%2FrLMFB9MnIF5vHQzkMrPi%2FScreenshot%202024-04-14%20at%2000.00.01.png?alt=media&amp;token=8f039072-7271-44ef-8fbc-d6c61e73d3da" alt=""><figcaption></figcaption></figure>

2\) Укажите название ключа и выберите необходимые права доступа

<figure><img src="https://3469589777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtfzSNVb8dR6Q2AudvfkN%2Fuploads%2FMD2r74CBR5fH15YIpp1k%2Fimage.png?alt=media&amp;token=5fcb04f8-84eb-476a-8026-2c0b8f73f496" alt=""><figcaption></figcaption></figure>

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

**Права на торговлю** - разрешения для торговли. Эту настройку нужно активировать, чтобы иметь возможность торговать через данный API-ключ.

3\) В поле **IP адреса** вы можете указать IP адреса, которые будут добавлены в белый список, т.е. осуществлять торговлю, используя созданные API-ключи, можно будет только с указанных IP-адресов. Торговые операции с иных IP адресов будут отклоняться биржей.&#x20;

4\) Введите шестизначный **код** из приложения Google Authenticator для прохождения двухфакторной аутентификации.&#x20;

{% hint style="warning" %}
Секретный ключ будет показан только единожды в момент создания API-ключа. Если вы забыли секретный ключ, будет необходимо создать новый API-ключ.
{% endhint %}

<figure><img src="https://3469589777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtfzSNVb8dR6Q2AudvfkN%2Fuploads%2F9ksEVfGoQh4cneYVwEr0%2Fimage.png?alt=media&amp;token=ddcfcf0f-acd3-423c-9012-13ac05c86b55" alt=""><figcaption></figcaption></figure>

5\) Скопируйте API ключ и секретный ключ и сохраните их в надёжном месте. Затем нажмите кнопку **Готово**, после чего произойдет автоматический переход на страницу API, на которой будет расположена информация о созданном ключе:

<figure><img src="https://3469589777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtfzSNVb8dR6Q2AudvfkN%2Fuploads%2FjUskjcmItkF0PmklSBWs%2FScreenshot%202024-04-14%20at%2000.04.09.png?alt=media&amp;token=4dbcf8c5-49ac-4ad3-9750-f0c32fc0d9d1" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
В Tiger.com Broker используется Единый торговый аккаунт (UTA Pro) Bybit. Созданные API-ключи можно использовать в [Tiger.com Windows](https://www.tiger.com/terminal) или в любом другом терминале, который поддерживает подключение к Bybit с UTA-аккаунтом.&#x20;
{% endhint %}

Для настройки подключения в терминале Tiger.com Windows, необходимо:

1. Открыть в терминале раздел Файл -> Подключения -> Настроить
2. Нажать на кнопку "Новое подключение" и выбрать в списке биржу Bybit via TIGER.COM Broker

<figure><img src="https://3469589777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtfzSNVb8dR6Q2AudvfkN%2Fuploads%2F4VztxOJhdhy8DDtwCwjE%2FScreenshot%202024-04-14%20at%2000.08.32%201.png?alt=media&amp;token=d4b2f644-9bfb-4ae7-a764-19fe36ea9eae" alt="" width="375"><figcaption></figcaption></figure>

3. Ввести API ключ и Секретный ключ (полученные на 5 этапе данной инструкции) в соответствующие поля.
4. Нажать на кнопку "Подключение к TIGER.COM Broker ":

<figure><img src="https://3469589777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtfzSNVb8dR6Q2AudvfkN%2Fuploads%2FgFy5kveDFFbpfBcIU7zk%2FScreenshot%202024-04-14%20at%2000.12.51.png?alt=media&amp;token=144a2aac-3ecf-4e9b-b18d-fc68156e9ff0" alt="" width="375"><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://broker-docs.tiger.com/sozdanie-api-klyuchei/sozdanie-api-klyuchei-dlya-bybit.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.
