Which websocket stream should I listen to, to get the current market price of a symbol?

Hello,

I’m quite new to trading, and I would like to use the Java API to get the latest market price of a symbol. (like every second or so)

But I’m not sure to which stream I could best subscribe for getting this info.

  • Aggregate Trade stream
  • Kline/Candlestick (seems not a good option as fastest subscription is every 1 minute)
  • Inividual Symbol Mini Ticker streams => sounds like a good fit, but the note “These are NOT the statistics of the UTC day, but a 24hr rolling window for the previous 24hrs” makes me doubt if this could be used for getting the current price quite accurately.

All info welcome, as I can’t seem to find out the differences or use-cases of the various streams.

Thanks heaps in advance,

Jochen

  1. Aggregate Trade stream: <symbol>@aggTrade
  2. Kline/Candlestick : <symbol>@kline_<interval>
  3. <symbol>@ticker

They are designed for providing different data, the specification can be found from the document.

1 Like