Skip to content

Gate testnet USDT URL has changed #28528

Description

@Canope

'usdt': 'wss://fx-ws-testnet.gateio.ws/v4/ws/usdt',

The Gate Testnet URL for USDT has changed, at least for swap. The current gate.py code is referencing "wss://fx-ws-testnet.gateio.ws/v4/ws/usdt" but it has moved to "wss://ws-testnet.gate.com/v4/ws/futures/usdt".

The others should be checked (future, option for USDT and BTC).

https://www.gate.com/docs/developers/futures/ws/en/#usdt-contract

Running without this change will ultimately give you an exception if you are only watching futures. This is due to get_market_type_by_url() called from handle_positions() not parsing the new URL correctly.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions