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

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

# SymbolSentimentUpdatedEventArgs.SymbolName

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

## SymbolName

Gets symbol name.

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

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

C#:

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

Python:

```python
symbolSentimentUpdatedEventArgs.SymbolName: str
```

### Returns

`string` — 

Available since cAlgo.API 5.3.

### Examples

C#:

```csharp
protected override void OnStart()
{
    if (Symbol.Sentiment != null)
        Symbol.Sentiment.Updated += OnSentimentUpdated;
}

private void OnSentimentUpdated(SymbolSentimentUpdatedEventArgs args)
{
    Print("Sentiment updated for {0}", args.SymbolName);
}
```

Python:

```python
def on_start(self):
    if api.Symbol.Sentiment is not None:
        api.Symbol.Sentiment.Updated += self.on_sentiment_updated

def on_sentiment_updated(self, args):
    api.Print(f"Sentiment updated for {args.SymbolName}")
```

