Chart
Get historical chart data and real-time quotes with the Go SDK
Was this page helpful?
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Get historical chart data and real-time quotes with the Go SDK
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)
}
quotes, err := client.Chart.GetQuotes([]string{"AAPL", "GOOGL"})
info, err := client.Chart.GetSymbolInfo("AAPL")
config, err := client.Chart.GetConfig()
timestamp, err := client.Chart.GetServerTime()
Was this page helpful?