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

# Watchlist

> Create and manage watchlists with the Go SDK

## Overview

The Watchlist API allows you to create, update, and delete watchlists for tracking securities.

## Methods

### GetWatchlists(accountID string)

```go theme={null}
watchlists, err := client.Watchlist.GetWatchlists("acc_123")
if err != nil {
    log.Fatal(err)
}
for _, wl := range watchlists {
    fmt.Printf("%s: %d symbols\n", wl.Name, len(wl.Symbols))
}
```

### CreateWatchlist(accountID, name string, symbols \[]string)

```go theme={null}
wl, err := client.Watchlist.CreateWatchlist(
    "acc_123",
    "Tech Stocks",
    []string{"AAPL", "GOOGL", "MSFT"},
)
```

### UpdateWatchlist(watchlistID string, symbols \[]string)

```go theme={null}
err := client.Watchlist.UpdateWatchlist("wl_123", symbols)
```

### DeleteWatchlist(watchlistID string)

```go theme={null}
err := client.Watchlist.DeleteWatchlist("wl_123")
```
