Skip to content

Change in Okex Testnet/Sandbox #8532

@drixie

Description

@drixie

Language: Javascript (Node)
Version number: 12.20.1
CCXT lib version number: ccxt@1.42.45
Exchange: Okex

When you do okex.setSandboxMode(true), an error message comes up indicating the library is trying to connect to https://testnet.okex.com/api...

That URL however is not available any longer. Okex has a different system for setting up a sandbox account now (which they are calling "Demo Trading"). The API for Demo trading is v5 and can be found here - https://www.okex.com/docs-v5/en/#rest-api-account-set-position-mode (shared with me by their customer support)

For reference, the live API is v3

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions