var Virwox = require('..');
var util = Virwox.BasicApiUtil;

util.getBitcoinRate().then(console.log)


@@ -57,29 +57,253 @@
 il;%0A
-%0Autil.getBitcoinRate(
+var Promise = require('bluebird');%0Avar fx = require('yahoo-currency');%0A%0APromise.all(%5B%0A    fx.fullRate(),%0A    util.getBitcoinRate()%0A%5D).spread(function(c,b)%7B%0A    b%5B'BTC/JPY'%5D = b%5B'BTC/USD'%5D.map(function(v)%7Breturn v * c%5B'USDJPY'%5D%7D);%0A    return b;%0A%7D
 ).th

add jpy rate