diff --git a/v2/delivery/client.go b/v2/delivery/client.go index f5ed306f..f46258c2 100644 --- a/v2/delivery/client.go +++ b/v2/delivery/client.go @@ -65,7 +65,7 @@ type UserDataEventReasonType string // Endpoints const ( - baseApiMainUrl = "https://dapi.binance.com" + baseApiMainUrl = "https://dapi8.binance.com" baseApiTestnetUrl = "https://testnet.binancefuture.com" ) diff --git a/v2/delivery/websocket_service.go b/v2/delivery/websocket_service.go index 2cd214b0..dbde3b28 100644 --- a/v2/delivery/websocket_service.go +++ b/v2/delivery/websocket_service.go @@ -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" ) diff --git a/v2/futures/client.go b/v2/futures/client.go index 20bfb7b3..94a15554 100644 --- a/v2/futures/client.go +++ b/v2/futures/client.go @@ -71,7 +71,7 @@ type ForceOrderCloseType string // Endpoints const ( - baseApiMainUrl = "https://fapi.binance.com" + baseApiMainUrl = "https://api8.binance.com" baseApiTestnetUrl = "https://testnet.binancefuture.com" ) diff --git a/v2/futures/websocket_service.go b/v2/futures/websocket_service.go index 0652bc99..ebcafba3 100644 --- a/v2/futures/websocket_service.go +++ b/v2/futures/websocket_service.go @@ -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="