---
id: "P:cAlgo.API.WatchlistRenamedEventArgs.Watchlist"
kind: "property"
type: "T:cAlgo.API.WatchlistRenamedEventArgs"
url: "https://help.ctrader.com/ctrader-algo/references/EventArgs/WatchlistRenamedEventArgs/Watchlist/"
---

> Documentation index for agents: https://help.ctrader.com/ctrader-algo/llms.txt · machine index: https://help.ctrader.com/ctrader-algo/api.json

# WatchlistRenamedEventArgs.Watchlist

Member of [WatchlistRenamedEventArgs](https://help.ctrader.com/ctrader-algo/references/EventArgs/WatchlistRenamedEventArgs/index.md).

## Watchlist

Gets the watchlist.

Environments: Desktop supported · CLI supported · Cloud not supported.

- Cloud: Never raised in the cloud: the events that pass it never fire there (Watchlists.WatchlistRenamed).

C#:

```csharp
public Watchlist Watchlist {get;}
```

Python:

```python
watchlistRenamedEventArgs.Watchlist: Watchlist
```

### Returns

`Watchlist` — 

### Examples

C#:

```csharp
protected override void OnStart()
{
    Watchlists.WatchlistRenamed += OnWatchlistRenamed;
}

private void OnWatchlistRenamed(WatchlistRenamedEventArgs args)
{
    Print("Watchlist new name: {0}", args.Watchlist.Name);
}
```

Python:

```python
def on_start(self):
    api.Watchlists.WatchlistRenamed += self.on_watchlist_renamed

def on_watchlist_renamed(self, args):
    api.Print(f"Watchlist new name: {args.Watchlist.Name}")
```

