From 6d7fcb6c40b862855eaae5cf0e56b258c43cd0d1 Mon Sep 17 00:00:00 2001 From: "ross.H" Date: Wed, 31 Jan 2024 10:58:37 +0800 Subject: [PATCH 1/7] Update index.html.md --- source/index.html.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/index.html.md b/source/index.html.md index d89a56e..04d7d3d 100644 --- a/source/index.html.md +++ b/source/index.html.md @@ -24,6 +24,8 @@ meta: |2021-03-30|*|adjust | the following endpoints to access the paths and the data return format (the original paths still supported, but will gradually abandoned) : get the user’s all history orders, get the user’s ongoing orders, get the user’s history position information, get the stop-limit orders list, get the trigger orders list, get the user’s all transaction details | |2022-07-07|/contract/detail|Add|Get the contract information endpoint add a new field: apiAllowed(true or false),means Whether support API| |2022-07-25|*|maintenance|place order endpoints and cancel orders endpoints will be closed temporarily. The query endpoints can still be used| +|2024-01-31|*|adjust|ws base url update:wss://contract.mexc.com/edge| + # Integration guide @@ -2962,7 +2964,7 @@ Developers are strongly advised to use the WebSocket API for market trends and b ## Native WS connection address -- wss://contract.mexc.com/ws +- wss://contract.mexc.com/edge ## Detailed data interaction commands From 6beb4037378c1798f4f6415dcee1862ee9595dfd Mon Sep 17 00:00:00 2001 From: "ross.H" Date: Wed, 31 Jan 2024 11:01:36 +0800 Subject: [PATCH 2/7] Update build.yml --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a9282d8..99beff8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: - ruby-version: [2.6, 2.7, 3.0] + ruby-version: [3.0] steps: - uses: actions/checkout@v2 From 584aa0ced542954ba2ac53a188c778f8a164c996 Mon Sep 17 00:00:00 2001 From: "ross.H" Date: Wed, 31 Jan 2024 11:15:41 +0800 Subject: [PATCH 3/7] Update build.yml --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 99beff8..ba682bd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: - ruby-version: [3.0] + ruby-version: [3.1] steps: - uses: actions/checkout@v2 From aebd36695894ca387fceb3c481c113f4f59ab36d Mon Sep 17 00:00:00 2001 From: "ross.H" Date: Thu, 9 Jan 2025 02:24:09 +0800 Subject: [PATCH 4/7] Update layout.erb --- source/layouts/layout.erb | 1 - 1 file changed, 1 deletion(-) diff --git a/source/layouts/layout.erb b/source/layouts/layout.erb index c49b29d..8e286d6 100644 --- a/source/layouts/layout.erb +++ b/source/layouts/layout.erb @@ -149,7 +149,6 @@ under the License. $(function(){ const menuObj = [ ['spot_v3', 'SpotV3', 'spot_v3_en', '现货V3' ,'spot_v3_cn'], - ['spot_v2', 'SpotV2', 'spot_v2_en', '现货V2' ,'spot_v2_cn'], ['contract_v1', 'Futures', 'contract_v1_en', '合约' ,'contract_v1_cn'], ['broker','Broker','broker_en','经纪商','broker_cn'] ]; From 5f246d2d10cfcd3d82d57bbbd3cb3182b048d370 Mon Sep 17 00:00:00 2001 From: "ross.H" Date: Thu, 10 Apr 2025 07:56:38 +0800 Subject: [PATCH 5/7] Update index.html.md --- source/index.html.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/index.html.md b/source/index.html.md index 04d7d3d..cda1ab6 100644 --- a/source/index.html.md +++ b/source/index.html.md @@ -25,6 +25,8 @@ meta: |2022-07-07|/contract/detail|Add|Get the contract information endpoint add a new field: apiAllowed(true or false),means Whether support API| |2022-07-25|*|maintenance|place order endpoints and cancel orders endpoints will be closed temporarily. The query endpoints can still be used| |2024-01-31|*|adjust|ws base url update:wss://contract.mexc.com/edge| +|2025-04-09|*|adjust|Subscribe to ws incremental depth data, with merge enabled by default: `compress` is set to `true`| + # Integration guide @@ -3419,6 +3421,7 @@ subscribe , unsubscribe, example is shown on the right. ``` subscribe , unsubscribe, example is shown on the right. +Incremental depth subscription has merging enabled by default. If you do not want to enable it, please set `compress` to `false` when subscribing. **Response Parameter:** From 639cc785b3a0e473f9af3c375ae8430383b616fe Mon Sep 17 00:00:00 2001 From: "ross.H" Date: Thu, 10 Apr 2025 08:00:59 +0800 Subject: [PATCH 6/7] Update build.yml --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ba682bd..c109a8b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,7 +21,7 @@ jobs: with: ruby-version: ${{ matrix.ruby-version }} - - uses: actions/cache@v2 + - uses: actions/cache@v3 with: path: vendor/bundle key: gems-${{ runner.os }}-${{ matrix.ruby-version }}-${{ hashFiles('**/Gemfile.lock') }} From dc4e5233f41942db165fd083b448100953d8ee64 Mon Sep 17 00:00:00 2001 From: "ross.H" Date: Thu, 17 Apr 2025 23:32:24 +0800 Subject: [PATCH 7/7] Update index.html.md --- source/index.html.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/index.html.md b/source/index.html.md index cda1ab6..d0ec767 100644 --- a/source/index.html.md +++ b/source/index.html.md @@ -1200,7 +1200,7 @@ Rate limit:20 times/2 seconds | ------------ | ------------ | ------------ | ------------ | | symbol | string | true | the name of the contract | | page_num | int | true | current page number, default is 1 | -| page_size | int | true | the page size, default 20, maximum 100 | +| page_size | int | true | the page size, default 20, maximum 1000 | **Response parameters:**