The units/dimensions (BTC vs USD) are also consistent. The bid has dimension (USD / BTC) and so does the quantity ((net_value - maintenance)/(amount + btc)), therefore it can be subtracted from the bid. Thus the liquidation price is also of dimension (USD / BTC).
Hmm. then this means I am overestimating my risk. I'm ok with that. (I'm sorry to have mislead people though)
EDIT: K. so my original spreadsheet seems to agree with what my brain sees on the bitcoinica page (so now I'm confused)
-the Margin balance fluctuates with what appears to the the "Bitcoinica BTC sell" price (the exchange price, approx but outside the bid price) and is recorded in USD
-the Tradable balance is based on the above(?) and is also accounted in USD
When I run the bitcoinica helper script, my liquidation price changes with the change in BTC price. (as I have USD and BTC in the currency account) - My free margin stopped fluctuating so wildly when I put some more USD to back the BTC in the currency account.
Am I really just overestimating risk?