Skip to Content
Book ticker

Book ticker updates

Receive
/
Serverwss://streams.fast.onetrading.com

After subscribing, you receive a BOOK_TICKER_SNAPSHOT per instrument with the current top of the book, then a BOOK_TICK as it changes. Both carry the best bid and ask prices and their amounts for one instrument, in the same data shape. You only receive updates for the instrument_codes you specified.

Real-time best bid and ask prices, with their quantities, for the instruments you subscribe to. A lightweight alternative to ORDER_BOOK for strategies that rely on top-of-book information. A BOOK_TICKER_SNAPSHOT with the current top of the book is sent for each instrument when you subscribe.

Code Sample
const socket = new WebSocket("wss://streams.fast.onetrading.com/");socket.addEventListener("message", (event) => {  console.log(event.data);});

Messages