Skip to main content

Step 1 - subscribe.

Step 2 - seed with the snapshot

type: "snapshot" carries data as an array of up to 50 trades, newest first — so data[0] is the most recent.

Step 3 - prepend live trades

Each live trade is a type: "update" frame (not "trade") with a single trade object in data. Prepend it to keep the tape newest-first.