Financial Data API

Go SDK for Financial Data

Strongly typed, context support, streaming. The Go market data library for high-performance systems.

go get eulerpool.com/sdk/go

Quick start

Three steps to your first data call

1. Install
$ go get eulerpool.com/sdk/go
2. Authenticate
import eulerpool "eulerpool.com/sdk/go"

client := eulerpool.NewClient("ep_live_xxx")
3. Fetch data
profile, err := client.Equity.Profile(ctx, "AAPL")
financials, err := client.Equity.Financials(ctx, "AAPL")

log.Printf("%s: P/E %.2f", profile.Name, financials.PERatio)

Features

Built for Go developers

01

Strongly typed

Structs for every response. No interface{} or dynamic typing.

02

Context support

Cancellation, timeouts, and tracing. Idiomatic Go.

03

Streaming

Real-time streaming via channels. Low memory footprint.

04

Minimal dependencies

Standard library first. No heavy frameworks. Small binaries.

Example

Market scanner

scanner.go
package main

import (
  "context"
  "log"
  eulerpool "eulerpool.com/sdk/go"
)

func main() {
  client := eulerpool.NewClient("ep_live_xxx")
  ctx := context.Background()

  tickers := []string{"AAPL", "MSFT", "GOOGL"}
  financials, err := client.Equity.FinancialsBatch(ctx, tickers)

  for _, f := range financials {
    if f.PERatio > 0 && f.PERatio < 15 {
      log.Printf("%s: P/E %.2f (value)", f.Ticker, f.PERatio)
    }
  }
}

Ready to build?

Get your free API key. 10,000 calls/day. No credit card required.

Get your free API key