// NO MORE NEED TO WAIT FOR COINED UP TO REFRESH !

//

//credits

// > tfw alhok is pm

//much wows

// old doge doge love for all !!!

// new tricky

// to

// the

// moon

// Donations greatly appreciated DBUgCVveUzUKvDoeiGnunYApF8FegdRZje

// in order to use this ticker , you must have BeautifulSoup4 lib installed in your PYTHONPATH

//save to ticker. py

// more instructions at bottom of paste

//_________________________________________________________________________

import requests

import string

import urllib2

from bs4 import BeautifulSoup

url = "https://coinedup.com/OrderBook?market=DOGE&base=BTC"

soup = BeautifulSoup ( urllib2 . urlopen ( ( url ) ) )

table = string . maketrans ( '' , '' , )

for link in soup. findAll ( 'a' ) :

try :

lines = link. contents [ 0 ]

rates = link. contents [ - 2 ]

rates2 = str ( rates ) [ 53 : 65 ]

print lines , rates2. translate ( table , ")</d" )

except :

pass

//_________________________________________________________________________

// save to file ticker. py

//

// output in bash looks like :

//

//

//

// ~ $ python ticker. py

// LTC/BTC : 0.0375

// FTC/BTC : 0.000432

// NMC/BTC : 0.00625

// NYM/BTC : 0.0000075

// OSC/BTC : 0.0000052

// PPC/BTC : 0.00341015

// TAG/BTC : 0.00195

// XPM/BTC : 0.01126263

// DOGE/BTC : 0.00000045

// DOGE/LTC : 0.0000109

//

//___________________________________________________________________________

//

// To run repeatedly launch using ( in 'nix systems)

//

// watch -n x python ticker.py

//_____________________________________________________________________________

//

// where x = seconds between refresh

//

//_____________________________________________________________________________

//

//credits

//>tfw alhok is pm

//much wows

// old doge doge love for all!!!

// new tricky

// to

// the

// moon