def order!(type, amount, price)
      order = {:type => order_type(type), :amount_int => intify(amount, :btc)}
      order[:price_int] = intify(price, :usd) if price != :market
      post('/api/1/BTCUSD/order/add', order)
    end
def order!(type, amount, price)
      order = {:type => order_type(type), :amount_int => intify(amount, :btc)}
      order[:price_int] = intify(price, :usd) if price != :market
      post('/api/1/BTCUSD/order/add', order)
    end
Create a new order

 @authenticated true
 @param type [String] the type of order to create, either "buy" or "sell"
 @param amount [Numberic] the number of bitcoins to buy/sell
 @param price [Numeric or Symbol] the bid/ask price in USD, or :market if placing a market order
 @return [String] order ID for the order, can be inspected using order_result
 @example
   # Sell one bitcoin for $123
   MtGox.add_order! :sell, 1.0, 123.0