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

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

# AbsoluteTakeProfitProtections.ThirdTakeProfit

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

## ThirdTakeProfit

Gets the third partial take profit, if any.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

```csharp
public AbsoluteTakeProfitProtection ThirdTakeProfit {get;}
```

Python:

```python
absoluteTakeProfitProtections.ThirdTakeProfit: AbsoluteTakeProfitProtection
```

### Returns

`AbsoluteTakeProfitProtection` — 

Available since cAlgo.API 5.8.

### Examples

C#:

```csharp
var position = Positions.Find("myLabel");
var thirdTakeProfit = position?.AbsoluteTakeProfitProtections?.ThirdTakeProfit;
if (thirdTakeProfit != null)
    Print("Third take profit: {0} units at {1}", thirdTakeProfit.Volume, thirdTakeProfit.Price);
```

Python:

```python
position = api.Positions.Find("myLabel")
if position is not None and position.AbsoluteTakeProfitProtections is not None and position.AbsoluteTakeProfitProtections.ThirdTakeProfit is not None:
    thirdTakeProfit = position.AbsoluteTakeProfitProtections.ThirdTakeProfit
    api.Print(f"Third take profit: {thirdTakeProfit.Volume} units at {thirdTakeProfit.Price}")
```

