Bitcoin Forum
May 27, 2024, 07:26:58 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Simple javascript realtime cryptsy ticker - free :)  (Read 1200 times)
SidJames (OP)
Newbie
*
Offline Offline

Activity: 27
Merit: 0


View Profile
September 20, 2014, 10:26:09 AM
 #1

Here's a simple ticker I built to get the last trade price for a given market from Cryptsy's pusher feed.
The example is set up for DOGE, but just change the market id to switch to any other currency.

http://jsfiddle.net/12rasuxa/7/

Hope the community find this useful Smiley
ADcoin.me
Hero Member
*****
Offline Offline

Activity: 795
Merit: 500


Name change soon (hopefully)


View Profile WWW
September 20, 2014, 10:50:01 AM
 #2

Thank you! Cheesy But it stays at "Waiting on data..." at my end.

Palcoin.co
SidJames (OP)
Newbie
*
Offline Offline

Activity: 27
Merit: 0


View Profile
September 20, 2014, 10:56:18 AM
 #3

It will say that until a trade notification is received. Depending how active the market you have it set to is will determine how long you have to wait to see a change. Working fine for me set to DOGE.
This only waits for notice of a trade occurring, it can't make the market trade faster. Smiley
ADcoin.me
Hero Member
*****
Offline Offline

Activity: 795
Merit: 500


Name change soon (hopefully)


View Profile WWW
September 20, 2014, 04:20:06 PM
 #4

ahh understood. Smiley What market ID is for btc/usd and how can we find market ID's?

Palcoin.co
SidJames (OP)
Newbie
*
Offline Offline

Activity: 27
Merit: 0


View Profile
September 20, 2014, 07:00:33 PM
 #5

the way to find market id's on cryptsy is to look at the number at the end of the url when viewing the market.
for example the link for BTC/USD is https://www.cryptsy.com/markets/view/2, meaning the market id is 2.
hope that  helps Smiley
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!