<p>The success message is telling you that your request to place an order was successful, not that the order has been fulfilled.  For that, you have to poll money/order/result.</p>

<p>Also, I use the order submission API in V2 and it does respond with an insufficient funds error.  If you're using the older V0/V1 APIs, you may want to upgrade.</p>

CC BY-SA 3.0
2014-01-08T02:39:23.243Z
2014-01-08T02:39:23.243Z
Tom Herman
<p>yeah this is a really annoying bug in mtgox api. your best bet is to listen to either the streaming user_order messages or make a request to /money/orders and verify that it contains or not the oid you just got.</p>

CC BY-SA 3.0
2013-07-11T15:51:39.620Z
2013-07-11T15:51:39.620Z
stanm87
<p>I want to place a trade order at market price from an existing wallet in some auxiliary currency. After a successfull trade, I need to do some other work (fullfillment).</p>

<p>However, I'm having trouble figuring out whether my order went successfull :(</p>

<p>For instance, when the wallet in the auxiliary currency is empty or too low (and the order should fail), I'm getting the exact same response that I'm getting upon a successfull trade:</p>

<pre><code>$response = {
          'data' =&gt; 'XXXXXX-XXXX-XXXX-XXXX-XXXXXXX', ## not actual order id/oid
          'result' =&gt; 'success'
        };
</code></pre>

<p>What's the way I'm supposed to check for a successfull trade?</p>

<mtgox><api>
Mt. Gox API - getting confirmation of a trade order
Jake-i
# Mt. Gox API - getting confirmation of a trade order

(Asked by: username_0 on 2013-05-09)

I want to place a trade order at market price from an existing wallet in some auxiliary currency. After a successfull trade, I need to do some other work (fullfillment).

However, I'm having trouble figuring out whether my order went successfull :(

For instance, when the wallet in the auxiliary currency is empty or too low (and the order should fail), I'm getting the exact same response that I'm getting upon a successfull trade:

```
$response = {
          'data' => 'XXXXXX-XXXX-XXXX-XXXX-XXXXXXX', ## not actual order id/oid
          'result' => 'success'
        };

```

What's the way I'm supposed to check for a successfull trade?

**Tags:** mtgox, api


---

## 2 answers

### Answer by username_1 on 2014-01-08. Score: 1

The success message is telling you that your request to place an order was successful, not that the order has been fulfilled. For that, you have to poll money/order/result.

Also, I use the order submission API in V2 and it does respond with an insufficient funds error. If you're using the older V0/V1 APIs, you may want to upgrade.


---

### Answer by username_2 on 2013-07-11. Score: 0

yeah this is a really annoying bug in mtgox api. your best bet is to listen to either the streaming user\_order messages or make a request to /money/orders and verify that it contains or not the oid you just got.


---

