Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions en/mix/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1194,7 +1194,7 @@ <h2 id='signature'>Signature</h2>
<p>Get contract depth information, take cmt_btcusdt as an example:</p>

<ul>
<li>Timestamp = 16273667805456</li>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bc1ql2gu0g7ywzm09la7eymrdn8p3zx9m8r2t5z6jz

<li>Timestamp = 1627366780545</li>
<li>Method = &quot;GET&quot;</li>
<li>requestPath = &quot;/api/mix/V1/market/depth&quot;</li>
<li>queryString= &quot;?symbol=BTCUSDT_UMCBL&amp;limit=20&quot;</li>
Expand All @@ -1203,13 +1203,13 @@ <h2 id='signature'>Signature</h2>
<p>Generate the string to be signed:</p>

<p><code>
&#39;16273667805456GET/api/mix/v1/market/depth?symbol=BTCUSDT_UMCBL&amp;limit=20&#39;
&#39;1627366780545GET/api/mix/v1/market/depth?symbol=BTCUSDT_UMCBL&amp;limit=20&#39;
</code></p>

<p>Contract order, take cmt_btcusdt as an example:</p>

<ul>
<li>Timestamp = 16273667805456</li>
<li>Timestamp = 1627366780545</li>
<li>Method = &quot;POST&quot;</li>
<li>requestPath = &quot;/api/mix/v1/order/placeOrder&quot;</li>
<li>body = {&quot;symbol&quot;:&quot;BTCUSDT_UMCBL&quot;,&quot;size&quot;:&quot;8&quot;,&quot;side&quot;:&quot;open_long&quot;,&quot;orderType&quot;:&quot;limit&quot;,&quot;client_oid&quot;:&quot;bitget#123456&quot;}</li>
Expand All @@ -1218,7 +1218,7 @@ <h2 id='signature'>Signature</h2>
<p>Generate the string to be signed:</p>

<p><code>
&#39;16273667805456POST/api/mix/v1/order/placeOrder{&quot;symbol&quot;:&quot;BTCUSDT_UMCBL&quot;,&quot;size&quot;:&quot;8&quot;,&quot;side&quot;:&quot;open_long&quot;,&quot;order_type&quot;:&quot;limit&quot;,&quot;client_oid&quot;:&quot;bitget#123456&quot;}&#39;
&#39;1627366780545POST/api/mix/v1/order/placeOrder{&quot;symbol&quot;:&quot;BTCUSDT_UMCBL&quot;,&quot;size&quot;:&quot;8&quot;,&quot;side&quot;:&quot;open_long&quot;,&quot;order_type&quot;:&quot;limit&quot;,&quot;client_oid&quot;:&quot;bitget#123456&quot;}&#39;
</code></p>

<p><strong>Steps to generate the final signature</strong> </p>
Expand Down
8 changes: 4 additions & 4 deletions includes/en/mix/index
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ timestamp + method.toUpperCase() + requestPath + &quot;?&quot; + queryString + b
<p>Get contract depth information, take cmt_btcusdt as an example:</p>

<ul>
<li>Timestamp = 16273667805456</li>
<li>Timestamp = 1627366780545</li>
<li>Method = &quot;GET&quot;</li>
<li>requestPath = &quot;/api/mix/V1/market/depth&quot;</li>
<li>queryString= &quot;?symbol=BTCUSDT_UMCBL&amp;limit=20&quot;</li>
Expand All @@ -392,13 +392,13 @@ timestamp + method.toUpperCase() + requestPath + &quot;?&quot; + queryString + b
<p>Generate the string to be signed:</p>

<p><code>
&#39;16273667805456GET/api/mix/v1/market/depth?symbol=BTCUSDT_UMCBL&amp;limit=20&#39;
&#39;1627366780545GET/api/mix/v1/market/depth?symbol=BTCUSDT_UMCBL&amp;limit=20&#39;
</code></p>

<p>Contract order, take cmt_btcusdt as an example:</p>

<ul>
<li>Timestamp = 16273667805456</li>
<li>Timestamp = 1627366780545</li>
<li>Method = &quot;POST&quot;</li>
<li>requestPath = &quot;/api/mix/v1/order/placeOrder&quot;</li>
<li>body = {&quot;symbol&quot;:&quot;BTCUSDT_UMCBL&quot;,&quot;size&quot;:&quot;8&quot;,&quot;side&quot;:&quot;open_long&quot;,&quot;orderType&quot;:&quot;limit&quot;,&quot;client_oid&quot;:&quot;bitget#123456&quot;}</li>
Expand All @@ -407,7 +407,7 @@ timestamp + method.toUpperCase() + requestPath + &quot;?&quot; + queryString + b
<p>Generate the string to be signed:</p>

<p><code>
&#39;16273667805456POST/api/mix/v1/order/placeOrder{&quot;symbol&quot;:&quot;BTCUSDT_UMCBL&quot;,&quot;size&quot;:&quot;8&quot;,&quot;side&quot;:&quot;open_long&quot;,&quot;order_type&quot;:&quot;limit&quot;,&quot;client_oid&quot;:&quot;bitget#123456&quot;}&#39;
&#39;1627366780545POST/api/mix/v1/order/placeOrder{&quot;symbol&quot;:&quot;BTCUSDT_UMCBL&quot;,&quot;size&quot;:&quot;8&quot;,&quot;side&quot;:&quot;open_long&quot;,&quot;order_type&quot;:&quot;limit&quot;,&quot;client_oid&quot;:&quot;bitget#123456&quot;}&#39;
</code></p>

<p><strong>Steps to generate the final signature</strong> </p>
Expand Down
8 changes: 4 additions & 4 deletions includes/zh/mix/index
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ timestamp + method.toUpperCase() + requestPath + &quot;?&quot; + queryString + b
<p>获取合约深度信息,以 cmt_btcusdt 为例:</p>

<ul>
<li>Timestamp = 16273667805456</li>
<li>Timestamp = 1627366780545</li>
<li>Method = &quot;GET&quot;</li>
<li>requestPath = &quot;/api/mix/V1/market/depth&quot;</li>
<li>queryString= &quot;?symbol=BTCUSDT_UMCBL&amp;limit=20&quot;</li>
Expand All @@ -392,13 +392,13 @@ timestamp + method.toUpperCase() + requestPath + &quot;?&quot; + queryString + b
<p>生成待签名的字符串:</p>

<p><code>
&#39;16273667805456GET/api/mix/v1/market/depth?symbol=BTCUSDT_UMCBL&amp;limit=20&#39;
&#39;1627366780545GET/api/mix/v1/market/depth?symbol=BTCUSDT_UMCBL&amp;limit=20&#39;
</code></p>

<p>合约下单,以 cmt_btcusdt 为例:</p>

<ul>
<li>Timestamp = 16273667805456</li>
<li>Timestamp = 1627366780545</li>
<li>Method = &quot;POST&quot;</li>
<li>requestPath = &quot;/api/mix/v1/order/placeOrder&quot;</li>
<li>body = {&quot;symbol&quot;:&quot;BTCUSDT_UMCBL&quot;,&quot;size&quot;:&quot;8&quot;,&quot;side&quot;:&quot;open_long&quot;,&quot;orderType&quot;:&quot;limit&quot;,&quot;client_oid&quot;:&quot;bitget#123456&quot;}</li>
Expand All @@ -407,7 +407,7 @@ timestamp + method.toUpperCase() + requestPath + &quot;?&quot; + queryString + b
<p>生成待签名的字符串:</p>

<p><code>
&#39;16273667805456POST/api/mix/v1/order/placeOrder{&quot;symbol&quot;:&quot;BTCUSDT_UMCBL&quot;,&quot;size&quot;:&quot;8&quot;,&quot;side&quot;:&quot;open_long&quot;,&quot;order_type&quot;:&quot;limit&quot;,&quot;client_oid&quot;:&quot;bitget#123456&quot;}&#39;
&#39;1627366780545POST/api/mix/v1/order/placeOrder{&quot;symbol&quot;:&quot;BTCUSDT_UMCBL&quot;,&quot;size&quot;:&quot;8&quot;,&quot;side&quot;:&quot;open_long&quot;,&quot;order_type&quot;:&quot;limit&quot;,&quot;client_oid&quot;:&quot;bitget#123456&quot;}&#39;
</code></p>

<p><strong>生成最终签名的步骤</strong> </p>
Expand Down
8 changes: 4 additions & 4 deletions zh/mix/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1201,7 +1201,7 @@ <h2 id='8ba46c43fe'>签名</h2>
<p>获取合约深度信息,以 cmt_btcusdt 为例:</p>

<ul>
<li>Timestamp = 16273667805456</li>
<li>Timestamp = 1627366780545</li>
<li>Method = &quot;GET&quot;</li>
<li>requestPath = &quot;/api/mix/V1/market/depth&quot;</li>
<li>queryString= &quot;?symbol=BTCUSDT_UMCBL&amp;limit=20&quot;</li>
Expand All @@ -1210,13 +1210,13 @@ <h2 id='8ba46c43fe'>签名</h2>
<p>生成待签名的字符串:</p>

<p><code>
&#39;16273667805456GET/api/mix/v1/market/depth?symbol=BTCUSDT_UMCBL&amp;limit=20&#39;
&#39;1627366780545GET/api/mix/v1/market/depth?symbol=BTCUSDT_UMCBL&amp;limit=20&#39;
</code></p>

<p>合约下单,以 cmt_btcusdt 为例:</p>

<ul>
<li>Timestamp = 16273667805456</li>
<li>Timestamp = 1627366780545</li>
<li>Method = &quot;POST&quot;</li>
<li>requestPath = &quot;/api/mix/v1/order/placeOrder&quot;</li>
<li>body = {&quot;symbol&quot;:&quot;BTCUSDT_UMCBL&quot;,&quot;size&quot;:&quot;8&quot;,&quot;side&quot;:&quot;open_long&quot;,&quot;orderType&quot;:&quot;limit&quot;,&quot;client_oid&quot;:&quot;bitget#123456&quot;}</li>
Expand All @@ -1225,7 +1225,7 @@ <h2 id='8ba46c43fe'>签名</h2>
<p>生成待签名的字符串:</p>

<p><code>
&#39;16273667805456POST/api/mix/v1/order/placeOrder{&quot;symbol&quot;:&quot;BTCUSDT_UMCBL&quot;,&quot;size&quot;:&quot;8&quot;,&quot;side&quot;:&quot;open_long&quot;,&quot;order_type&quot;:&quot;limit&quot;,&quot;client_oid&quot;:&quot;bitget#123456&quot;}&#39;
&#39;1627366780545POST/api/mix/v1/order/placeOrder{&quot;symbol&quot;:&quot;BTCUSDT_UMCBL&quot;,&quot;size&quot;:&quot;8&quot;,&quot;side&quot;:&quot;open_long&quot;,&quot;order_type&quot;:&quot;limit&quot;,&quot;client_oid&quot;:&quot;bitget#123456&quot;}&#39;
</code></p>

<p><strong>生成最终签名的步骤</strong> </p>
Expand Down