Skip to content

Commit

Permalink
Merge pull request #4 from yubing744/owen/update_okexapi_base_url
Browse files Browse the repository at this point in the history
feat: update base url
  • Loading branch information
yubing744 authored Mar 19, 2024
2 parents ec09256 + 6ab12ce commit e7cfb6a
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 @@ -24,9 +24,9 @@ var log = logrus.WithFields(logrus.Fields{
})

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://www.okx.com/"
const PublicWebSocketURL = "wss://ws.okx.com:8443/ws/v5/public"
const PrivateWebSocketURL = "wss://ws.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 e7cfb6a

Please sign in to comment.