diff --git a/pkg/exchange/ftx/websocket_messages.go b/pkg/exchange/ftx/websocket_messages.go index 270d4f8ef..1dbaad05a 100644 --- a/pkg/exchange/ftx/websocket_messages.go +++ b/pkg/exchange/ftx/websocket_messages.go @@ -58,7 +58,7 @@ type loginArgs struct { Key string `json:"key"` Signature string `json:"sign"` Time int64 `json:"time"` - SubAccount string `json:"subaccount"` + SubAccount string `json:"subaccount,omitempty"` } func newLoginRequest(key, secret string, t time.Time, subaccount string) websocketRequest {