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

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

# CustomSymbolSentiment.SellPercentage

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

## SellPercentage

Gets / sets sell percentage.

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 SellPercentage {get; set;}
```

Python:

```python
customSymbolSentiment.SellPercentage: float
```

### Returns

`double` — 

Available since cAlgo.API 5.3.

### Examples

C#:

```csharp
var customSymbol = CustomSymbols.Add("MYEURUSD", Symbols.GetSymbol("EURUSD"));
customSymbol.Sentiment.SellPercentage = 45;
Print("Sell percentage: {0}", customSymbol.Sentiment.SellPercentage);
```

Python:

```python
customSymbol = api.CustomSymbols.Add("MYEURUSD", api.Symbols.GetSymbol("EURUSD"))
customSymbol.Sentiment.SellPercentage = 45
api.Print(f"Sell percentage: {customSymbol.Sentiment.SellPercentage}")
```

