From 9afe96a80849f6be96fa660285eb2b4627cfe623 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Thu, 27 Dec 2012 15:13:18 -0800 Subject: Reduce commission --- public/js/index.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/js/index.coffee b/public/js/index.coffee index 351c05af..ea4f9ac3 100644 --- a/public/js/index.coffee +++ b/public/js/index.coffee @@ -6,11 +6,11 @@ $(-> ) fetchExchangeRate = (type) -> - commission = 0.03 + commission = 0.015 commission *= -1 if type is 'bid' $.ajax( - url: "/ticker?symbol=virtexCAD&type=#{type}&amount=1000", + url: "/ticker?symbol=virtexCAD&type=#{type}&amount=100", success: (exchange) -> if not exchange? exchange = '??' -- cgit v1.2.3