> For the complete documentation index, see [llms.txt](https://metascalp-io.gitbook.io/instructions/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://metascalp-io.gitbook.io/instructions/oglavlenie/2.-glavnaya-panel/2.1.-nastroiki/2.1.1.-podklyucheniya/2.1.1.2-podklyucheniya-kinglabcrypto/okx.md).

# OKX

<mark style="background-color:purple;">**Как создать api key биржи OKX в Kinglabcrypto и добавить подключение в терминал Metascalp**</mark>

**1 - Заходим на страницу** [**https://kinglabcrypto.com/okxAPI\_keys**](https://kinglabcrypto.com/okxAPI_keys)\
**2 - Нажимаем кнопку Создать** \
**3 - Убираем галочку&#x20;***<mark style="background-color:yellow;">**API ключи только для чтения**</mark>*\
**4 - Ставим галочку напротив&#x20;***<mark style="background-color:yellow;">**Торговля**</mark>*\
**5 - Пишем название, которое должно содержать только буквы**\
**6 - Пишем Passphrase, которая должна содержать։**\
\&#xNAN;**`-`**` ``Длина 8-32 символов` \
`- 1 строчная буква (a-z)` \
`- 1 прописная буква (A-Z)` \
`- 1 цифра` \
`- 1 специальный символ,` \
\&#xNAN;*например* ***`! @ # $ %`***\
**7. Нажимаете создать и получаете ключи в таком формате։**<br>

<figure><img src="/files/QjL2hWYVRCOFV1zpwjO0" alt=""><figcaption></figcaption></figure>

**8. В терминале добавляете новое подключение OKX**\
**9. "**&#x41;PI ключ" вставляете в в строку "**API key**"\
API secret вставляется в строку "**API secret**"\
Passphrase вставляется в строку "**Пароль**"<br>

<figure><img src="/files/fQjhhSZeHWNa3JvnnKVk" alt=""><figcaption></figcaption></figure>

<mark style="background-color:purple;">**Как изменить режим аккаунта с**</mark>**&#x20;**<mark style="color:red;background-color:purple;">**Одновалютной**</mark>**&#x20;**<mark style="background-color:purple;">**маржи на**</mark>**&#x20;**<mark style="color:red;background-color:purple;">**Мультивалютную**</mark>**&#x20;**<mark style="background-color:purple;">**маржу**</mark>

**1 - Заходите на страницу** [**https://kinglabcrypto.com/profile**](https://kinglabcrypto.com/profile)\
**2 - Переключаете галочку перед "**<mark style="background-color:yellow;">**Multi Asset Mode**</mark>**" в разделе&#x20;**<mark style="background-color:orange;">**OKX**</mark><br>

<figure><img src="/files/Q4oA4QeH7eo5aV1whxRb" alt=""><figcaption></figcaption></figure>

3 - **После этого&#x20;**<mark style="background-color:yellow;">**ОБЯЗАТЕЛЬНО**</mark>**&#x20;нужно перезапустить терминал&#x20;**<mark style="color:purple;">**Metascalp**</mark>**, либо переподключить апи ключи!**


---

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

```
GET https://metascalp-io.gitbook.io/instructions/oglavlenie/2.-glavnaya-panel/2.1.-nastroiki/2.1.1.-podklyucheniya/2.1.1.2-podklyucheniya-kinglabcrypto/okx.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
