aloysius-pgast / bittrex-signalr-client

Node.js implementation of SignalR protocol tailored for Bittrex exchange
39 stars 14 forks source link

How to Use Bittrex Websocket V3 "Tickers" Subscription? #29

Closed baloian closed 4 years ago

baloian commented 4 years ago

Hi @aloysius-pgast ,

I would like to use a new Bittrex API V3, particularly, tickers subscription. Currently, I do the following

let client = new SignalRClient({
  pingTimeout: 5000,
});

client.on('ticker', (data: any) => {
  console.log(data)
});

client.subscribeToAllTickers();

Looks like I am getting real-time data, but not sure if this uses the V3 API. s this the right way to do it?

aloysius-pgast commented 4 years ago

Hi. Library is currently using v1.1, not v3

aloysius-pgast commented 4 years ago

I'll try to move to v3 before EOL planned for 2020-09-30 (at least for public streams)

baloian commented 4 years ago

@aloysius-pgast thanks! I am closing this and will follow upcoming updates.