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

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

# ChartRiskRewardFixedRiskType.AmountType

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

## AmountType

Gets or sets amount mode.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

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

Python:

```python
chartRiskRewardFixedRiskType.AmountType: ChartRiskRewardAmountType
```

### Returns

`ChartRiskRewardAmountType` — 

Available since cAlgo.API 5.2.

### Examples

C#:

```csharp
var riskType = new ChartRiskRewardFixedRiskType(ChartRiskRewardAmountType.Money, 100);
Print("Risk amount type: {0}", riskType.AmountType);
```

Python:

```python
riskType = ChartRiskRewardFixedRiskType(ChartRiskRewardAmountType.Money, 100)
api.Print(f"Risk amount type: {riskType.AmountType}")
```

