bitbns-official / node-bitbns-api

This is Official Bitbns API nodeJs Library.
16 stars 20 forks source link

getTickerApi is showing stale price #27

Open varsubham opened 3 years ago

varsubham commented 3 years ago

When I am using getTickerApi to get the latest price of any cryptocurrency, it is showing stale price. So whenever there is any change in price on bitbns website, getTickerApi takes around 5-10 second to show the latest updated price.

shortthefomo commented 3 years ago

interested in public trade history feed as well.

lakshyabatman commented 3 years ago

Moreover, it'll be great if the team can display the current prices as well.

sanket-buyhatke commented 3 years ago

@lakshyabatman, I could suggest using websockets for getting the live ticker prices

e.g const socket = bitbns.getTickerSocket('INR'). pls refer to documentation.