---
id: "P:cAlgo.API.CustomSymbol.PnLConversionFeeRate"
kind: "property"
type: "T:cAlgo.API.CustomSymbol"
url: "https://help.ctrader.com/ctrader-algo/references/Plugin/Symbol/Custom/CustomSymbol/PnLConversionFeeRate/"
---

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

# CustomSymbol.PnLConversionFeeRate

Member of [CustomSymbol](https://help.ctrader.com/ctrader-algo/references/Plugin/Symbol/Custom/CustomSymbol/index.md).

## PnLConversionFeeRate

Gets / sets the symbol profit and loss conversion fee rate.

Environments: Desktop supported · CLI not supported · Cloud not supported.

- CLI: Available to plugins only, and plugins cannot run in the CLI.
- Cloud: Available to plugins only, and plugins cannot run in the cloud.

C#:

```csharp
double PnLConversionFeeRate {get; set;}
```

Python:

```python
customSymbol.PnLConversionFeeRate: float
```

### Returns

`double` — 

Available since cAlgo.API 5.3.

### Examples

C#:

```csharp
var customSymbol = CustomSymbols.Add("MYEURUSD", Symbols.GetSymbol("EURUSD"));
customSymbol.PnLConversionFeeRate = 0.0005;
Print("PnL conversion fee rate: {0}", customSymbol.PnLConversionFeeRate);
```

Python:

```python
customSymbol = api.CustomSymbols.Add("MYEURUSD", api.Symbols.GetSymbol("EURUSD"))
customSymbol.PnLConversionFeeRate = 0.0005
api.Print(f"PnL conversion fee rate: {customSymbol.PnLConversionFeeRate}")
```

