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

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

# WatchlistSymbolRemovedEventArgs.SymbolName

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

## SymbolName

Gets the symbol name.

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

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

C#:

```csharp
public string SymbolName {get;}
```

Python:

```python
watchlistSymbolRemovedEventArgs.SymbolName: str
```

### Returns

`string` — 

### Examples

C#:

```csharp
protected override void OnStart()
{
    Watchlists.WatchlistSymbolRemoved += OnWatchlistSymbolRemoved;
}

private void OnWatchlistSymbolRemoved(WatchlistSymbolRemovedEventArgs args)
{
    if (args.SymbolName == SymbolName)
        Print("The symbol of the cBot, {0}, was removed from watchlist {1}", args.SymbolName, args.Watchlist.Name);
}
```

Python:

```python
def on_start(self):
    api.Watchlists.WatchlistSymbolRemoved += self.on_watchlist_symbol_removed

def on_watchlist_symbol_removed(self, args):
    if args.SymbolName == api.SymbolName:
        api.Print(f"The symbol of the cBot, {args.SymbolName}, was removed from watchlist {args.Watchlist.Name}")
```

