The previous code was scaling the entire bid orderbook down using the best available ask price.  getDepth is meant to just report the price and BTC amount of each order.  For bids, the reported amount should be the "want_amount" not the "amount we could afford at the current exchange rate" amount.
The previous code was scaling the entire bid orderbook down using the best available ask price.  getDepth is meant to just report the price and BTC amount of each order.  For bids, the reported amount should be the "want_amount" not the "amount we could afford at the current exchange rate" amount.

dooglus/intersango,bankonme/intersango,bankonme/intersango,bankonme/intersango,bankonme/intersango,dooglus/intersango,dooglus/intersango,dooglus/intersango