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

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

# HistoricalOrder.StopLossTriggerMethod

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

## StopLossTriggerMethod

Trigger method for order's StopLoss

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

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

Python:

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

### Returns

`StopTriggerMethod?` — 

Available since cAlgo.API 5.1.

### Examples

C#:

```csharp
var order = HistoricalOrders.FindLast("myLabel");
if (order != null)
    Print("Stop loss trigger method: {0}", order.StopLossTriggerMethod);
```

Python:

```python
order = api.HistoricalOrders.FindLast("myLabel")
if order is not None:
    api.Print(f"Stop loss trigger method: {order.StopLossTriggerMethod}")
```

