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

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

# AbsoluteTakeProfitProtections.FirstTakeProfit

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

## FirstTakeProfit

Gets the first partial take profit, if any.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

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

Python:

```python
absoluteTakeProfitProtections.FirstTakeProfit: AbsoluteTakeProfitProtection
```

### Returns

`AbsoluteTakeProfitProtection` — 

Available since cAlgo.API 5.8.

### Examples

C#:

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

Python:

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

