> ## Documentation Index
> Fetch the complete documentation index at: https://finance.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Chart

> Get historical chart data and real-time quotes with the Go SDK

## Overview

The Chart API provides historical OHLCV data, real-time quotes, and charting configuration.

## Methods

### GetHistoricalBars(params \*HistoricalBarsParams)

```go theme={null}
bars, err := client.Chart.GetHistoricalBars(&aries.HistoricalBarsParams{
    Symbol:     "AAPL",
    FromDate:   "2025-01-01",
    ToDate:     "2025-01-15",
    Resolution: "1D",
})
if err != nil {
    log.Fatal(err)
}

for _, bar := range bars {
    fmt.Printf("%s: O:%.2f H:%.2f L:%.2f C:%.2f V:%d\n",
        bar.Timestamp, bar.Open, bar.High, bar.Low, bar.Close, bar.Volume)
}
```

### GetQuotes(symbols \[]string)

```go theme={null}
quotes, err := client.Chart.GetQuotes([]string{"AAPL", "GOOGL"})
```

### GetSymbolInfo(symbol string)

```go theme={null}
info, err := client.Chart.GetSymbolInfo("AAPL")
```

### GetConfig()

```go theme={null}
config, err := client.Chart.GetConfig()
```

### GetServerTime()

```go theme={null}
timestamp, err := client.Chart.GetServerTime()
```
