aboutsummaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2012-12-27 15:13:18 -0800
committerAdam Soltys <[email protected]>2012-12-27 15:13:18 -0800
commit9afe96a80849f6be96fa660285eb2b4627cfe623 (patch)
tree69062569182a4e94ab59d9fa29e4d0ef548c81bd /public
parent0fdabeea85f66d5d753cf4dff0c053c4395a3279 (diff)
downloadcoinos-server-9afe96a80849f6be96fa660285eb2b4627cfe623.tar.gz
coinos-server-9afe96a80849f6be96fa660285eb2b4627cfe623.zip
Reduce commission
Diffstat (limited to 'public')
-rw-r--r--public/js/index.coffee4
1 files 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 = '??'