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

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

# Plugin.TradeWatch

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

## TradeWatch

Gets the Trade Watch 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 TradeWatch TradeWatch {get;}
```

Python:

```python
api.TradeWatch: TradeWatch
```

### Returns

`TradeWatch` — 

### Examples

C#:

```csharp
var tab = TradeWatch.AddTab("My Tab");
tab.Child = new TextBlock { Text = "Hello from my plugin" };
tab.IsSelected = true;
Print("Trade watch is visible: {0}", TradeWatch.IsVisible);
```

Python:

```python
tab = api.TradeWatch.AddTab("My Tab")
textBlock = TextBlock()
textBlock.Text = "Hello from my plugin"
tab.Child = textBlock
tab.IsSelected = True
api.Print(f"Trade watch is visible: {api.TradeWatch.IsVisible}")
```

