diff --git a/pkg/exchange/max/maxapi/restapi.go b/pkg/exchange/max/maxapi/restapi.go index 9f3eb7b28..1dcdc4039 100644 --- a/pkg/exchange/max/maxapi/restapi.go +++ b/pkg/exchange/max/maxapi/restapi.go @@ -271,6 +271,8 @@ func (c *RestClient) newAuthenticatedRequest(ctx context.Context, m string, refU req.Header.Set("USER-AGENT", UserAgent) } + req.Header.Set("USER-AGENT", "Go-http-client/1.1,bbgo/"+version.Version) + if false { out, _ := httputil.DumpRequestOut(req, true) fmt.Println(string(out))