# OKX 帳戶程式化交易返傭接入教程

**注意：** 此方式僅限擁有自主開發能力（量化團隊），直接調用交易所 API 進行下單的客戶。

&#x20;

1. 點擊「接入交易帳戶」按鈕進入接入頁面

<figure><img src="/files/9m0XgujUyDwDDbhbYfF9" alt="" width="375"><figcaption></figcaption></figure>

2.選擇要接入的交易平台

* 幣安量化
* OKX 量化

**提示：** 當前量化帳戶接入不支援幣安現貨返傭，如有需要請聯繫客服：tietouqincai

<figure><img src="/files/gaPn1RdDUkLaEbCZQbaB" alt="" width="375"><figcaption></figcaption></figure>

4.接入成功後獲取 BitFrog Code 碼

接入成功後即可獲得 BitFrog Code 碼，並修改您的程式。

在調用 OKX 下單介面時，將 **tag** 欄位的值設定為 BitFrog 提供的對應值即可。

<figure><img src="/files/BfFe99HEmHIdeOXHjC9U" alt="" width="375"><figcaption></figcaption></figure>

OKX 相關交易文件：[OKX API 文件](https://www.okx.com/docs-v5/zh/#order-book-trading-trade-post-place-order)


---

# Agent Instructions: 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://docs.bitfrog.io/zh-tw/jiao-yi-zhi-nan/jiao-yi-fan-yong/okx-zhang-hu-cheng-shi-hua-jiao-yi-fan-yong-jie-ru-jiao-cheng.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.
