---
id: "P:cAlgo.API.PendingOrder.Channel"
kind: "property"
type: "T:cAlgo.API.PendingOrder"
url: "https://help.ctrader.com/ctrader-algo/references/Trading/Orders/PendingOrder/Channel/"
---

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

# PendingOrder.Channel

Member of [PendingOrder](https://help.ctrader.com/ctrader-algo/references/Trading/Orders/PendingOrder/index.md).

## Channel

Gets the channel via which the order was placed in a `string` format.

Environments: Desktop supported · CLI works differently · Cloud works differently.

- CLI: Orders the cBot places carry channel 'cBot Console' instead of the desktop 'cBot cTrader'.
- Cloud: Orders the cBot places carry channel 'cBot Cloud' instead of the desktop 'cBot cTrader'.

C#:

```csharp
string Channel {get;}
```

Python:

```python
pendingOrder.Channel: str
```

### Returns

`string` — 

### Examples

C#:

```csharp
foreach (var order in PendingOrders)
    Print("Order {0} channel: {1}", order.Id, order.Channel);
```

Python:

```python
for order in api.PendingOrders:
    api.Print(f"Order {order.Id} channel: {order.Channel}")
```

