Skip to content

Commit

Permalink
Merge pull request #1591 from c9s/edwin/okx/update-endpoint
Browse files Browse the repository at this point in the history
FIX: [okx] update okx url
  • Loading branch information
bailantaotao authored Mar 18, 2024
2 parents cbf957c + 98d565c commit 22221a8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/exchange/okex/okexapi/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 22221a8

Please sign in to comment.