---
id: "P:cAlgo.API.TicksHistoryLoadedEventArgs.Ticks"
kind: "property"
type: "T:cAlgo.API.TicksHistoryLoadedEventArgs"
url: "https://help.ctrader.com/ctrader-algo/references/EventArgs/TicksHistoryLoadedEventArgs/Ticks/"
---

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

# TicksHistoryLoadedEventArgs.Ticks

Member of [TicksHistoryLoadedEventArgs](https://help.ctrader.com/ctrader-algo/references/EventArgs/TicksHistoryLoadedEventArgs/index.md).

## Ticks

Gets the tick data.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

```csharp
public Ticks Ticks {get;}
```

Python:

```python
ticksHistoryLoadedEventArgs.Ticks: Ticks
```

### Returns

`Ticks` — 

### Examples

C#:

```csharp
protected override void OnStart()
{
    var ticks = MarketData.GetTicks("EURUSD");
    ticks.HistoryLoaded += OnTicksHistoryLoaded;
    ticks.LoadMoreHistoryAsync();
}

private void OnTicksHistoryLoaded(TicksHistoryLoadedEventArgs args)
{
    Print("{0} now has {1} ticks, last tick bid: {2}", args.Ticks.SymbolName, args.Ticks.Count, args.Ticks.LastTick.Bid);
}
```

Python:

```python
def on_start(self):
    self.ticks = api.MarketData.GetTicks("EURUSD")
    self.ticks.HistoryLoaded += self.on_ticks_history_loaded
    self.ticks.LoadMoreHistoryAsync()

def on_ticks_history_loaded(self, args):
    api.Print(f"{args.Ticks.SymbolName} now has {args.Ticks.Count} ticks, last tick bid: {args.Ticks.LastTick.Bid}")
```

