<p>Problem solved. The error is caused by too many decimal places in the <code>rate</code> parameter. It would be good if the API returned a more informative error message though.</p>

<p>There is an API call to find the correct maximum number of places, as well as the minimum order for each currency pair. <code>https://btc-e.com/api/3/info</code> returns a list of currencies and information. The <a href="https://btc-e.com/api/3/documentation#info" rel="nofollow">documentation</a> is in Russian but translates easily with Google Translate.</p>

CC BY-SA 3.0
2013-12-24T17:43:35.827Z
got this error too. looks like correct number of decimal places is 5 or 6 (I tested on LTC)
zed_0xff
CC BY-SA 3.0
2013-03-10T14:15:29.383Z
2013-12-25T21:10:37.187Z
2013-12-25T21:10:37.187Z
Jamie Bull
<p>Using the BTC-E API 'm getting an error of <code>You incorrectly entered one of fields.</code> when I post this as the data in a buy order.</p>

<pre><code>{'pair': 'btc_usd', 'amount': 0.1, 'rate': 44.7084704, 'type': 'buy', 'method': 'Trade'}
</code></pre>

<p>Does anyone know where I'm going wrong?</p>

<api><bots>
Parameters for buy order on BTC-E
Jamie Bull
# Parameters for buy order on BTC-E

(Asked by: username_0 on 2013-03-10)

Using the BTC-E API 'm getting an error of You incorrectly entered one of fields. when I post this as the data in a buy order.
{'pair': 'btc_usd', 'amount': 0.1, 'rate': 44.7084704, 'type': 'buy', 'method': 'Trade'}

Does anyone know where I'm going wrong?

**Tags:** api, bots


---

## 1 answers

### Answer by username_0 on 2013-03-10. Score: 6 | Accepted answer

Problem solved. The error is caused by too many decimal places in the `rate` parameter. It would be good if the API returned a more informative error message though.

There is an API call to find the correct maximum number of places, as well as the minimum order for each currency pair. `https://btc-e.com/api/3/info` returns a list of currencies and information. The [documentation](https://btc-e.com/api/3/documentation#info) is in Russian but translates easily with Google Translate.

> **Comments:**
> **username_1**: got this error too. looks like correct number of decimal places is 5 or 6 (I tested on LTC)  

---

