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

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

# Position.StopLossTriggerMethod

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

## StopLossTriggerMethod

Trigger method for the position's Stop Loss.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

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

Python:

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

### Returns

`StopTriggerMethod?` — 

### Examples

C#:

```csharp
var result = ExecuteMarketOrder(TradeType.Buy, SymbolName, 10000, "myLabel", 20, 40, "", false, StopTriggerMethod.Opposite);
if (result.IsSuccessful)
    Print("Stop loss trigger method: {0}", result.Position.StopLossTriggerMethod);
```

Python:

```python
result = api.ExecuteMarketOrder(TradeType.Buy, api.SymbolName, 10000, "myLabel", 20, 40, "", False, StopTriggerMethod.Opposite)
if result.IsSuccessful:
    api.Print(f"Stop loss trigger method: {result.Position.StopLossTriggerMethod}")
```

