diff --git a/v2/delivery/websocket_service.go b/v2/delivery/websocket_service.go index 3aa7e786..5d1be403 100644 --- a/v2/delivery/websocket_service.go +++ b/v2/delivery/websocket_service.go @@ -10,7 +10,7 @@ import ( // Endpoints const ( - baseWsMainUrl = "wss://dstream-c.binance.com/ws" + baseWsMainUrl = "wss://dstream.binance.com/ws" baseWsTestnetUrl = "wss://dstream.binancefuture.com/ws" ) diff --git a/v2/futures/client.go b/v2/futures/client.go index 711f7afb..0e1244b6 100644 --- a/v2/futures/client.go +++ b/v2/futures/client.go @@ -72,7 +72,7 @@ type ForceOrderCloseType string // Endpoints const ( - baseApiMainUrl = "https://api8.binance.com" + baseApiMainUrl = "https://fapi.binance.com" baseApiTestnetUrl = "https://testnet.binancefuture.com" ) diff --git a/v2/futures/websocket_service.go b/v2/futures/websocket_service.go index ebcafba3..0652bc99 100644 --- a/v2/futures/websocket_service.go +++ b/v2/futures/websocket_service.go @@ -10,7 +10,7 @@ import ( // Endpoints const ( - baseWsMainUrl = "wss://fstream-c.binance.com/ws" + baseWsMainUrl = "wss://fstream.binance.com/ws" baseWsTestnetUrl = "wss://stream.binancefuture.com/ws" baseCombinedMainURL = "wss://fstream.binance.com/stream?streams=" baseCombinedTestnetURL = "wss://stream.binancefuture.com/stream?streams="