---
id: "P:cAlgo.API.Plugin.Asp"
kind: "property"
type: "T:cAlgo.API.Plugin"
url: "https://help.ctrader.com/ctrader-algo/references/General/Plugin/Asp/"
---

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

# Plugin.Asp

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

## Asp

Gets the active symbol panel.

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

- CLI: Plugins cannot run in the CLI: ctrader-cli runs cBots only.
- Cloud: Plugins cannot run in the cloud: it runs cBots only.

C#:

```csharp
public Asp Asp {get;}
```

Python:

```python
api.Asp: Asp
```

### Returns

`Asp` — 

### Examples

C#:

```csharp
var block = Asp.SymbolTab.AddBlock("My Block");
block.Child = new TextBlock { Text = "Hello from my plugin" };
Print("Active symbol panel symbol: {0}", Asp.SymbolTab.Symbol.Name);
```

Python:

```python
block = api.Asp.SymbolTab.AddBlock("My Block")
textBlock = TextBlock()
textBlock.Text = "Hello from my plugin"
block.Child = textBlock
api.Print(f"Active symbol panel symbol: {api.Asp.SymbolTab.Symbol.Name}")
```

