Skip to content

Commit

Permalink
change to internal url
Browse files Browse the repository at this point in the history
  • Loading branch information
willshi-Silot committed Mar 28, 2022
1 parent fc3f803 commit b263368
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion v2/delivery/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ type UserDataEventReasonType string

// Endpoints
const (
baseApiMainUrl = "https://dapi.binance.com"
baseApiMainUrl = "https://dapi8.binance.com"
baseApiTestnetUrl = "https://testnet.binancefuture.com"
)

Expand Down
2 changes: 1 addition & 1 deletion v2/delivery/websocket_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (

// Endpoints
const (
baseWsMainUrl = "wss://dstream.binance.com/ws"
baseWsMainUrl = "wss://dstream-c.binance.com/ws"
baseWsTestnetUrl = "wss://dstream.binancefuture.com/ws"
)

Expand Down
2 changes: 1 addition & 1 deletion v2/futures/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ type ForceOrderCloseType string

// Endpoints
const (
baseApiMainUrl = "https://fapi.binance.com"
baseApiMainUrl = "https://api8.binance.com"
baseApiTestnetUrl = "https://testnet.binancefuture.com"
)

Expand Down
2 changes: 1 addition & 1 deletion v2/futures/websocket_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (

// Endpoints
const (
baseWsMainUrl = "wss://fstream.binance.com/ws"
baseWsMainUrl = "wss://fstream-c.binance.com/ws"
baseWsTestnetUrl = "wss://stream.binancefuture.com/ws"
baseCombinedMainURL = "wss://fstream.binance.com/stream?streams="
baseCombinedTestnetURL = "wss://stream.binancefuture.com/stream?streams="
Expand Down

0 comments on commit b263368

Please sign in to comment.