---
id: "P:cAlgo.API.RobotAttribute.DefaultSymbolName"
kind: "property"
type: "T:cAlgo.API.RobotAttribute"
url: "https://help.ctrader.com/ctrader-algo/references/Attributes/RobotAttribute/DefaultSymbolName/"
---

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

# RobotAttribute.DefaultSymbolName

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

## DefaultSymbolName

Not used. cTrader applies no default symbol to a cBot: a new instance runs on the symbol it is added with, which the cBot reads from SymbolName.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

```csharp
public string DefaultSymbolName {get; set;}
```

Python:

```python
robotAttribute.DefaultSymbolName: str
```

### Returns

`string` — 

### Examples

C#:

```csharp
protected override void OnStart()
{
    Print("Instance symbol: {0}", SymbolName);
}
```

Python:

```python
def on_start(self):
    api.Print(f"Instance symbol: {api.SymbolName}")
```

