Skip to content

ToeJamson/Realtime-Bitcoin-Price-Tracker-PubNub

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Realtime Bitcoin Price Tracker

This is a simple dashboard for tracking realtime pricing updates on Bitcoin powered by the powerful PubNub network.

Try it out here: https://jordanschuetz.github.io/Realtime-Bitcoin-Price-Tracker-PubNub/

Screenshot of Demo

Currently, the application only updates every 10 seconds, however this is very easy to change. In the setInterval javascript function, you can change the 10,000 milliseconds number to whatever you wish:

setInterval(function(){
    xhr.open('GET', 'https://min-api.cryptocompare.com/data/pricemulti?fsyms=BTC&tsyms=USD', true)
    xhr.send();
    xhr.onreadystatechange = processRequest;
}, 10000)

Make sure to replace the Publish Subscribe keys with your own keys in your PubNub Admin Dashboard.

About

This is a realtime bitcoin price tracker powered by powerful PubNub APIs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 100.0%