@tickstream/client
v0.1.0
Published
Realtime CME futures, options & Level 2 market data — one key, one line.
Maintainers
Readme
tickstream
Realtime CME futures, options & Level 2 — one key, one line.
npm i @tickstream/clientStream ticks
import { Stream } from "@tickstream/client";
const stream = new Stream("sk_live_…");
for await (const tick of stream.subscribe("ES", "NQ")) {
console.log(tick.symbol, tick.price, tick.size, tick.side);
}Level 2 & options (Pro plans)
for await (const book of new Stream("sk_live_…").book("ES")) {
console.log(book.bids[0], book.asks[0], book.imbalance);
}
for await (const o of new Stream("sk_live_…").options("ES", "SPX")) {
console.log(o.symbol, o.strike, o.right, o.iv, o.delta);
}Events instead of iteration
const s = new Stream("sk_live_…");
s.on("tick", (t) => console.log(t.price));
s.on("welcome", (w) => console.log("plan:", w.plan));
s.subscribe("ES");REST: quotes, backfill, reference data
import { Client } from "@tickstream/client";
const api = new Client("sk_live_…");
await api.quote("ES");
await api.ticks("ES", { start: "2025-06-01T13:30:00Z", end: "2025-06-01T20:00:00Z" });
await api.symbols();
await api.options("SPX", { expiry: "2026-06-19" });Get your API key at https://tick-stream.xyz. Full docs: https://tick-stream.xyz/docs.
Point at a local gateway with TICKSTREAM_WS_URL / TICKSTREAM_API_URL.
