Method: MtGox::Client#addorder!
- Defined in:
- lib/mtgox/client.rb
#addorder!(type, amount, price) ⇒ String
Create a new order
207 208 209 |
# File 'lib/mtgox/client.rb', line 207 def addorder!(type, amount, price) post('/api/1/BTCUSD/order/add', {type: order_type(type), amount_int: intify(amount,:btc), price_int: intify(price, :usd)}) end |