From 0910ced9cce2d1c15858afb4e05dc16e7acab34a Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Tue, 20 Nov 2012 22:48:05 -0800 Subject: Use the buy price not the sell price --- app.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.coffee b/app.coffee index f60fdd25..1dca452b 100644 --- a/app.coffee +++ b/app.coffee @@ -93,7 +93,7 @@ app.get('/ticker', (req, res) -> host: 'bitcoincharts.com', path: '/t/depthcalc.json?symbol=' + req.query.symbol + - '&type=bid&amount=1000¤cy=true' + '&type=ask&amount=1000¤cy=true' require('http').get(options, (r) -> r.setEncoding('utf-8') -- cgit v1.2.3