Merge pull request #1591 from c9s/edwin/okx/update-endpoint

FIX: [okx] update okx url
This commit is contained in:
bailantaotao 2024-03-18 19:07:53 +08:00 committed by GitHub
commit 22221a8ba9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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