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

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

# Position.EntryPrice

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

## EntryPrice

Entry price of the position.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

```csharp
double EntryPrice {get;}
```

Python:

```python
position.EntryPrice: float
```

### Returns

`double` — 

### Examples

C#:

```csharp
var result = ExecuteMarketOrder(TradeType.Buy, SymbolName, 10000, "myLabel");
if (result.IsSuccessful)
    Print("Entry price: {0}", result.Position.EntryPrice);
```

Python:

```python
result = api.ExecuteMarketOrder(TradeType.Buy, api.SymbolName, 10000, "myLabel")
if result.IsSuccessful:
    api.Print(f"Entry price: {result.Position.EntryPrice}")
```

