Skip to content

Commit

Permalink
minor adjustment
Browse files Browse the repository at this point in the history
  • Loading branch information
AlgoTrader committed Aug 10, 2012
1 parent f68883e commit 497def8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/emulator_market.js
Expand Up @@ -80,6 +80,7 @@ EmulatorMarket.prototype.onGetCompleteMarketPricesCompressed = function(result)
price : null,
amount : null
};
//var prices = {};
for ( var index in selectionPrices) {
var price = 1 * selectionPrices[index].price;
var backAmount = 1 * selectionPrices[index].backAmount;
Expand All @@ -92,6 +93,10 @@ EmulatorMarket.prototype.onGetCompleteMarketPricesCompressed = function(result)
bestLay.price = price;
bestLay.amount = layAmount;
}
//prices[price] = {};
//prices[price].price = price;
//prices[price].backAmount = price;
//prices[price].price = price;
}

self.players[selectionId] = self.players[selectionId] || {};
Expand Down

0 comments on commit 497def8

Please sign in to comment.