---
id: "P:cAlgo.API.ChartRiskRewardFixedRewardType.AmountType"
kind: "property"
type: "T:cAlgo.API.ChartRiskRewardFixedRewardType"
url: "https://help.ctrader.com/ctrader-algo/references/Chart/Drawings/ChartRiskRewardFixedRewardType/AmountType/"
---

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

# ChartRiskRewardFixedRewardType.AmountType

Member of [ChartRiskRewardFixedRewardType](https://help.ctrader.com/ctrader-algo/references/Chart/Drawings/ChartRiskRewardFixedRewardType/index.md).

## AmountType

Gets or sets amount mode.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

```csharp
public ChartRiskRewardAmountType AmountType {get;}
```

Python:

```python
chartRiskRewardFixedRewardType.AmountType: ChartRiskRewardAmountType
```

### Returns

`ChartRiskRewardAmountType` — 

Available since cAlgo.API 5.2.

### Examples

C#:

```csharp
var rewardType = new ChartRiskRewardFixedRewardType(ChartRiskRewardAmountType.EquityPercentage, 2);
Print("Reward amount type: {0}", rewardType.AmountType);
```

Python:

```python
rewardType = ChartRiskRewardFixedRewardType(ChartRiskRewardAmountType.EquityPercentage, 2)
api.Print(f"Reward amount type: {rewardType.AmountType}")
```

