this is 99% of the way there, thanks!
I can add a one-click link if that really would be useful. Maybe the first time you click it, you're asked for confirmation, and warned that in future it's a true one-click thing. Also, the way things currently stand, order matching is only done once per minute, on a first-come first-served basis. So just because you see an order in the orderbook doesn't mean that it's available for you to match with. Real-time matching should be coming soon, though.
the other 1% would be if it were truly a ONE-CLICK option, but I understand why you would want people to also click a confirmation.
It's not just to get a confirmation. The other aspect is that maybe I want the price of the 2nd best offer in the market, but not the whole amount. I want to be able to click the price, then edit the "I have" down to the amount I want to spend at that price.
I've been playing with the code, trying to get a better way of specifying the order you want to place. It's kind of awkward having 3 variables ('i have', 'i want', 'price') where changing any one can change either of the other two. Sometimes maybe I want to buy 5 BTC at a given price, and want the site to calculate how much it costs. Other times maybe I want to spent $50 at a certain price and have the site calculate how many BTC that gets me. Probably I never have a fixed amount to spend and a fixed amount I need - which is what the current interface expects me to have.
So we'll have 3 boxes: "have", "want", "price", and:
* editing "have" changes "want" based on "price"
* editing "want" changes "have", based on "price"
* editing "price" changes "want", based on "have"
That's what I'll work on next. Open to suggestions, as always...