From e472ac4bb40f64c0c5a55d1108a146859aff087d Mon Sep 17 00:00:00 2001 From: Kate Hu Date: Thu, 16 Feb 2023 14:44:07 +0800 Subject: [PATCH] modified readme --- README.md | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index cd7e53e..bae9a2b 100644 --- a/README.md +++ b/README.md @@ -53,21 +53,8 @@ passphrase = "" - Run test/WsPrivateTest.py for private websocket channels - Run test/WsPublicTest.py for public websocket channels - Use different URLs for different environment - -```python -# WebSocket public channel -# live trading -url = "wss://ws.okx.com:8443/ws/v5/public?brokerId=9999" -# demo trading -url = "wss://wspap.okx.com:8443/ws/v5/public?brokerId=9999" - -# WebSocket private channel -# live trading -url = "wss://ws.okx.com:8443/ws/v5/private?brokerId=9999" -# demo trading -url = "wss://wspap.okx.com:8443/ws/v5/private?brokerId=9999" - -``` + - Production URLs: https://www.okx.com/docs-v5/en/#overview-production-trading-services + - Demo trading URLs: https://www.okx.com/docs-v5/en/#overview-demo-trading-services Note