> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sterlinglabs.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Portfolio charts

> Chart your accounts' value, positions or trades over any range, compare with any company or ETF, and break it down by sector or asset type.

## What you can do with the Portfolio charts

* **See how your accounts' value has changed** over any period. This is the default view.
* **Compare it** with any company or ETF.
* **Break it down** by sector or asset type.
* **Chart your positions** side by side.
* **Chart individual trades** from purchase to sale, or to today.
* **Explain a move** by selecting a stretch of the chart and asking the Analyst why it happened.

## Where to find it

The chart sits between the KPI row and the tables on the Portfolio overview.

## Using the Portfolio charts

### Choosing the period and units

* Choose a range above the chart, from **1D** to **MAX**, or select the calendar button to set your own dates.
* Switch between **USD** and **%**.
* Select the expand button for a larger view. Press **Esc** to return.

With more than one line on the chart, it switches to **%** so the lines can be compared.

The charts cover regular trading hours only, so pre-market and after-hours moves don't appear.

### The value chart

The value chart is the default view. It shows the total value of the selected accounts over time, including cash. It leaves out holdings Sterling doesn't cover, such as crypto, so its value can differ from **Portfolio Value** in the KPI row. To see which holdings are left out, select the warning icon in the page header.

Because the chart tracks value, a deposit or withdrawal moves the line the same way a gain or loss does. For your return without deposits and withdrawals, see **Portfolio return** in the KPI row. To chart your return over a period, choose **%** and any range from **7D** to **MAX**.

### Comparing with a company or ETF

To see how your accounts did against a stock or fund, open **Compare** and search for it by ticker or name. It doesn't have to be something you hold. The chart then shows each line as a percentage change from the start of the period.

### Breaking down by sector or asset type

To see how parts of your portfolio performed, choose one or more sectors in **Sectors**, or asset types such as **ETF** in **Type of asset**. Each one you choose gets its own line in place of your accounts' total, and the Positions table shows only the holdings in them. If you hold just one stock in a sector or asset type, its line shows that stock's price rather than the value of your holding.

### Charting positions

To see how your holdings have performed, select up to eight rows in the **Positions** table. Each one gets its own line in place of your accounts' total.

When the chart is set to **%**, each line shows how the holding's price has changed since the start of the period, or since you first held it, if that was later. Because this is the price change and not your return, buying or selling shares doesn't change the line. With one holding charted, you can switch to **USD** to see what your holding was worth over the period.

Holdings Sterling doesn't cover, such as crypto, can't be selected for the chart.

### Charting trades

To see how individual purchases have done, open **Trades** and choose up to eight. Each line follows one purchase from the day you bought it until you sold it, or until today if you still hold it.

When you chart more than one, each line starts at 0% on its purchase day, and the horizontal axis counts trading days since purchase, so purchases made at different times line up.

**Trades** can't be charted alongside **Compare** or positions. Clear one before using the other.

### Explaining a move

Drag across the chart and select **Explain**. It works on the value chart, a comparison, or a sector breakdown, where it covers the first sector you chose. It can't explain an asset-type breakdown, and it isn't available when you're charting positions or trades. See [Explaining a move](https://docs.sterlinglabs.co/portfolio/explaining-a-move.md).

## If something goes wrong

| What you see | What it means | What to do |
| - | - | - |
| "Not enough chart observations for this range yet" | The period has too few points to draw | Choose a longer range, or check back after the next update |
| "Older history is still loading. This chart is partial for now." | Your older history is still loading after you connected a brokerage, so the chart can't yet show a comparison or all of the dates you set with the calendar button | Wait. The chart fills in by itself |

## Frequently asked questions

### Which time zone are the chart's times and dates in?

On ranges up to a year, times and dates are in your time zone. On longer ranges, where each point is a day, the date is the U.S. trading day, even if it was already the next day where you are.

### Why do older points on the chart differ from my statement?

History uses dividend-adjusted prices, so older points won't exactly match what your account was worth that day.

## Related articles

* [Your portfolio in Sterling](https://docs.sterlinglabs.co/portfolio/what-is-portfolio.md)
* [The Portfolio overview](https://docs.sterlinglabs.co/portfolio/reading-your-portfolio.md)
* [Explaining a move](https://docs.sterlinglabs.co/portfolio/explaining-a-move.md)
* [How the portfolio numbers are computed](https://docs.sterlinglabs.co/portfolio/how-the-numbers-are-computed.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.