(old stopped working)
@ -26,7 +26,7 @@ script = File.basename($0)
$stderr = IO.new(2, "w")
def uri(currency)
"https://api.bitcoinaverage.com/ticker/#{currency}"
"https://apiv2.bitcoinaverage.com/ticker/#{currency}"
end
def echo_price(currency, &get_data)