---
id: "P:cAlgo.API.HistoricalOrder.StopOrderTriggerMethod"
kind: "property"
type: "T:cAlgo.API.HistoricalOrder"
url: "https://help.ctrader.com/ctrader-algo/references/Trading/HistoricalOrders/HistoricalOrder/StopOrderTriggerMethod/"
---

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

# HistoricalOrder.StopOrderTriggerMethod

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

## StopOrderTriggerMethod

StopOrder trigger method.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

```csharp
StopTriggerMethod? StopOrderTriggerMethod {get;}
```

Python:

```python
historicalOrder.StopOrderTriggerMethod: StopTriggerMethod | None
```

### Returns

`StopTriggerMethod?` — 

Available since cAlgo.API 5.1.

### Examples

C#:

```csharp
foreach (var order in HistoricalOrders.Where(historicalOrder => historicalOrder.OrderType == HistoricalOrderType.Stop))
    Print("Stop order {0} trigger method: {1}", order.Id, order.StopOrderTriggerMethod);
```

Python:

```python
for order in [historicalOrder for historicalOrder in api.HistoricalOrders if historicalOrder.OrderType == HistoricalOrderType.Stop]:
    api.Print(f"Stop order {order.Id} trigger method: {order.StopOrderTriggerMethod}")
```

