Update a benchmark
PUT/v1/models/benchmarks/:id
Replaces the benchmark with the given ID with the one in the request body. Send every field: securities that you leave out of primarySecurities are removed from the benchmark. Other fields in the body, such as id, are ignored. If your firm has no benchmark with that ID, the response is 404.
Make the weights of the securities add up to 100. The API does not check the total.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 429
The updated benchmark.
id is not a whole number, or the request body is invalid, for example name is missing.
The access token is missing, invalid, or expired.
The access token does not have the write:model scope.
Your firm has no benchmark with that ID.
Too many requests. Wait the number of seconds in the Retry-After-per-person header (script-audience tokens) or the Retry-After header (other requests) before you retry. See Rate limit.