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

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

# HistoricalTrade.EntryPrice

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

## EntryPrice

The VWAP (Volume Weighted Average Price) of the Opening Deals that are closed.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

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

Python:

```python
historicalTrade.EntryPrice: float
```

### Returns

`double` — 

### Examples

C#:

```csharp
var trade = History.FindLast("myLabel");
if (trade != null)
    Print("Entry price {0}, closing price {1}", trade.EntryPrice, trade.ClosingPrice);
```

Python:

```python
trade = api.History.FindLast("myLabel")
if trade is not None:
    api.Print(f"Entry price {trade.EntryPrice}, closing price {trade.ClosingPrice}")
```

