GateIO: Split futures into USDTM and CoinM futures (#1786)

* Config: v5 Split GateIO futures into CoinM and USDT

* GateIO: Split asset.Futures into CoinM and USDT

* Fix CancelBatchOrders using wrong endpoint for CoinMarginedFutures
* Fix TestGetActiveOrders expecting currency.ErrCurrencyPairsEmpty

* Config: Add config version continuity step to CI

* GateIO: Pin CoinM futures to just BTC/USD

Right now we only have a /btc endpoint available, and only BTCUSD is
available.
If GateIO offers more, we'll need to add a settlement currencies list
again
This commit is contained in:
Gareth Kirwan
2025-04-30 07:39:39 +02:00
committed by GitHub
parent 977fecab19
commit 88ac5274c9
16 changed files with 1201 additions and 1849 deletions

View File

@@ -0,0 +1,16 @@
name: configs-versions-lint
on: [push, pull_request]
env:
GO_VERSION: 1.24.x
jobs:
lint:
name: config versions lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
- name: Check config versions are continuous
run: go test ./config/versions/ -tags config_versions -run Continuity