From 98d565c46f1909fe29361d51171b5b47f9e185bf Mon Sep 17 00:00:00 2001 From: edwin Date: Mon, 18 Mar 2024 18:56:37 +0800 Subject: [PATCH] pkg/exchange: update okx url --- pkg/exchange/okex/okexapi/client.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/exchange/okex/okexapi/client.go b/pkg/exchange/okex/okexapi/client.go index b56babf69e..8adafd0c9a 100644 --- a/pkg/exchange/okex/okexapi/client.go +++ b/pkg/exchange/okex/okexapi/client.go @@ -19,9 +19,9 @@ import ( ) const defaultHTTPTimeout = time.Second * 15 -const RestBaseURL = "https://www.okex.com/" -const PublicWebSocketURL = "wss://ws.okex.com:8443/ws/v5/public" -const PrivateWebSocketURL = "wss://ws.okex.com:8443/ws/v5/private" +const RestBaseURL = "https://aws.okx.com/" +const PublicWebSocketURL = "wss://wsaws.okx.com:8443/ws/v5/public" +const PrivateWebSocketURL = "wss://wsaws.okx.com:8443/ws/v5/private" const PublicBusinessWebSocketURL = "wss://wsaws.okx.com:8443/ws/v5/business" type SideType string