> For the complete documentation index, see [llms.txt](https://support.tiger.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.tiger.com/podklyucheniya/kriptobirzhi/okx.md).

# OKX

В данной статье представлена пошаговая инструкция. Следуйте ей для успешной установки подключения.

1. Зарегистрируйтесь на сайте [OKX](https://www.okx.com/ru/join/80095456) (если ещё не зарегистрированы) и войдите в свою учётную запись. Зарегистрировавшись [по нашей реферальной ссылке](https://www.okx.com/ru/join/80095456) вы получаете 20% от биржи OKX и более выгодные условия в будущем.

2. Включите двухфакторную авторизацию Google Authentication в разделе **Безопасность**.&#x20;

3. Нажмите на иконку профиля и перейдите в раздел **API:**\
   ![](https://1274720096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhzNfRGfbNL2dtrsyOTEL%2Fuploads%2FPPCnWvcp32e4ORoQYUfH%2Fimage.png?alt=media\&token=3c928da8-66c5-441b-a60e-e349ef2c12f4)

4. Нажмите на кнопку **Создать API**:<br>

   <figure><img src="https://1274720096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhzNfRGfbNL2dtrsyOTEL%2Fuploads%2FXxl5C1WmA2d0OloVAdaj%2Fimage.png?alt=media&amp;token=dbb94a91-a868-4454-b87f-1cec19cce055" alt=""><figcaption></figcaption></figure>

5. Введите произвольное название ключа, укажите Цель - **Торговля API,** доступы - **Чтение и Торговля**:<br>

   <figure><img src="https://1274720096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhzNfRGfbNL2dtrsyOTEL%2Fuploads%2FifJvyBBQ9MXJrIv1WJpH%2Fimage.png?alt=media&amp;token=cd738cc1-19dc-40c3-98dc-5dffcb079292" alt=""><figcaption></figcaption></figure>

6. Придумайте пасс-фразу (кодовое слово) и укажите его в соответствующем поле:<br>

   <figure><img src="https://1274720096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhzNfRGfbNL2dtrsyOTEL%2Fuploads%2F3nGr1gSLFI24izK4haDd%2Fimage.png?alt=media&amp;token=77336756-593b-492d-b07c-de12605ed190" alt=""><figcaption></figcaption></figure>

7. Нажмите на кнопку "Отправить всё":<br>

   <figure><img src="https://1274720096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhzNfRGfbNL2dtrsyOTEL%2Fuploads%2Fs8Gu2rdKBcKWCrVQLuY1%2Fimage.png?alt=media&amp;token=c74ea1b2-c0fe-4835-80ef-aaa18c2c713d" alt=""><figcaption></figcaption></figure>

8. Введите коды для двухфакторной аутентификации и нажмите **Подтвердить:**<br>

   <figure><img src="https://1274720096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhzNfRGfbNL2dtrsyOTEL%2Fuploads%2Fj4GcgvY4wS2ArKtnfZJc%2Fimage.png?alt=media&amp;token=79981bf1-c04a-4b51-92c6-0d3dc09bb893" alt=""><figcaption></figcaption></figure>

9. Нажмите на кнопку **Показать сведения**:\
   ![](https://1274720096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhzNfRGfbNL2dtrsyOTEL%2Fuploads%2F3w0E3NUHEh60z0zL3vau%2Fimage.png?alt=media\&token=82b0fcfe-242d-499c-8d86-213f441d2120)

10. На открывшейся странице отобразятся API ключи, сохраните их.

11. Запустите Tiger.com и в главном меню выберите **Файл → Подключения → Настроить**.

12. В открывшемся окне нажмите кнопку **+ Создать новое подключение** и в появившемся списке выберите OKX.

13. В открывшемся окне введите API ключи и кодовое слово (пасс-фразу), полученные на сайте OKX:<br>

    <figure><img src="https://1274720096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhzNfRGfbNL2dtrsyOTEL%2Fuploads%2F8lqhTRw01NFy6236kPfM%2Fimage.png?alt=media&amp;token=6b77417e-ce62-46f1-8a3a-16c719c612e0" alt=""><figcaption></figcaption></figure>

14. В выпадающем списке выберите тип маржи (поддерживается **Кросс** и **Изолированная** маржа):<br>

    <figure><img src="https://1274720096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhzNfRGfbNL2dtrsyOTEL%2Fuploads%2FDszEZRSOJLCk4htYUwXu%2Fimage.png?alt=media&amp;token=619d0288-bce2-4104-b482-aee71232a8ae" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
В терминале есть возможность создать несколько подключений с разными видами маржи
{% endhint %}

Настройка подключения завершена.  Для установки подключения в главном меню Tiger.com выберите **Файл → Подключения → OKX** .


---

# 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://support.tiger.com/podklyucheniya/kriptobirzhi/okx.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.
