tickstreamdocs

DOCS

Quickstart

Get a key, install the SDK, and stream your first ticks in under a minute.

1. Get an API key

Create an account and copy your key from the dashboard. Keys look like sk_live_… — treat them like a password.

2. Install the SDK

Pick your language. Prefer the raw protocol? See WebSocket stream and REST API.

pip install "tickstream[stream]"
npm i @tickstream/client
cargo add tickstream
go get github.com/Alx90s/tickstream-go

3. Stream ticks

Subscribe to one or more symbols and iterate the live feed:

from tickstream import Tickstream

ts = Tickstream("sk_live_…")
for tick in ts.stream("ES", "NQ"):
    print(tick["symbol"], tick["price"], tick["size"], tick["ts"])
import { Tickstream } from "@tickstream/client";

const ts = new Tickstream("sk_live_…");
for await (const tick of ts.stream("ES", "NQ")) {
  console.log(tick.symbol, tick.price, tick.size, tick.ts);
}
use tickstream::{Client, Channel};

let ts = Client::new("sk_live_…");
let mut s = ts.stream(Channel::Ticks, &["ES", "NQ"]).await?;
while let Some(t) = s.next().await {
    println!("{} {} {}", t.symbol, t.price, t.size);
}
import ts "github.com/Alx90s/tickstream-go"

c := ts.New("sk_live_…")
ticks, errs := c.Stream(ctx, ts.Ticks, "ES", "NQ")
for t := range ticks {
    fmt.Println(t.Symbol, t.Price, t.Size)
}

Each tick carries the symbol, last price, size, aggressor side and a Unix-second timestamp. See the tick format for the full shape.

tip

On the free Delayed plan the same code works — ticks just arrive 15 minutes behind. Upgrade to Realtime for live data.

Next steps