---
title: "Set Portfolio Weight"
method: PUT
path: "/watchlists/{watchlist_id}/tickers/{ticker}/portfolio-weight"
tags: ["watchlists"]
---

# Set Portfolio Weight

`PUT /watchlists/{watchlist_id}/tickers/{ticker}/portfolio-weight`

## Request

- Base URL: `https://api.tickertrac.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.tickertrac.com/watchlists/{watchlist_id}/tickers/{ticker}/portfolio-weight`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

Set optional exposure context without turning the watchlist into a brokerage.

Values are point-in-time percentages asserted by the investor. NULL clears an
unknown/stale value, while zero explicitly says the security is not currently
owned. Neither quantity, account, lot, cost basis nor target allocation is stored.

## Path parameters

- `watchlist_id` integer, required
- `ticker` string, required

## Request body

- WatchlistTickerWeightIn
  - `portfolio_weight` union
    - number
    - string

## Response `200`

Successful Response

- WatchlistTickerOut
  - `ticker` string, required
  - `portfolio_weight` number, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/tickertrac/apis/tickerrag-api.md) · [All operations](https://skmtc.dev/tickertrac/apis/tickerrag-api/llms.txt) · [OpenAPI document](https://skmtc.dev/tickertrac/apis/tickerrag-api/revisions/3c7eb0f6425d?raw)
