<p>Found how to do it, we shoud use the oflags</p>

<pre><code>oflags = comma delimited list of order flags (optional):
    viqc = volume in quote currency (not available for leveraged orders)
    fcib = prefer fee in base currency
    fciq = prefer fee in quote currency
    nompp = no market price protection
    post = post only order (available when ordertype = limit)
</code></pre>

<p>In this case:</p>

<pre><code>("pair =&gt; "XXBTZEUR",
"type" =&gt; "buy",
"ordertype" =&gt; "market",
"voulme" =&gt; '10',
"oflags" =&gt; "viqc"
)
</code></pre>

CC BY-SA 3.0
2017-04-01T15:24:55.457Z
2017-04-01T15:24:55.457Z
Pedro Gaspar
<p>I tried to use &quot;viqc&quot; option as described in the Kraken API documentation but got this error:
{&quot;error&quot;:[&quot;EAPI:Feature disabled:viqc&quot;]}</p>
<p>I searched the web and found this reddit link:
<a href="https://www.reddit.com/r/KrakenSupport/comments/e0hc08/rest_api_create_a_market_order_for_xrpeur/" rel="nofollow noreferrer">https://www.reddit.com/r/KrakenSupport/comments/e0hc08/rest_api_create_a_market_order_for_xrpeur/</a></p>
<blockquote>
<p>Despite being mentioned in our REST API documentation, the viqc order option is not presently available for any order type</p>
</blockquote>
<p>I think it's a shame they did not mention this on their documentation. It's taken me plenty of time to understand why this was not working.</p>

CC BY-SA 4.0
2020-08-20T15:40:08.447Z
2020-08-20T15:40:08.447Z
dahdash
<p>I am trying to use the kraken api to make bitcoin buys with euros, I am looking at the API here
<a href="https://www.kraken.com/help/api" rel="nofollow noreferrer">https://www.kraken.com/help/api</a></p>

<p>But I am here with some doubts</p>

<pre><code>("pair =&gt; "XXBTZEUR",
"type" =&gt; "buy",
"ordertype" =&gt; "market",
"voulme" =&gt; ?
)
</code></pre>

<p>Witch volume should I put there ? volume in BTC or Euro ? 
I wish I could put euros there, but I am not sure, theres no specification on the api about this</p>

<kraken>
how to make a bitcoin buy with euros on Kraken API
Pedro Gaspar
# how to make a bitcoin buy with euros on Kraken API

(Asked by: username_0 on 2017-04-01)

I am trying to use the kraken api to make bitcoin buys with euros, I am looking at the API here
<https://www.kraken.com/help/api>

But I am here with some doubts

```
("pair => "XXBTZEUR",
"type" => "buy",
"ordertype" => "market",
"voulme" => ?
)

```

Witch volume should I put there ? volume in BTC or Euro ?
I wish I could put euros there, but I am not sure, theres no specification on the api about this

**Tags:** kraken


---

## 2 answers

### Answer by username_0 on 2017-04-01. Score: 2

Found how to do it, we shoud use the oflags

```
oflags = comma delimited list of order flags (optional):
    viqc = volume in quote currency (not available for leveraged orders)
    fcib = prefer fee in base currency
    fciq = prefer fee in quote currency
    nompp = no market price protection
    post = post only order (available when ordertype = limit)

```

In this case:

```
("pair => "XXBTZEUR",
"type" => "buy",
"ordertype" => "market",
"voulme" => '10',
"oflags" => "viqc"
)

```


---

### Answer by username_1 on 2020-08-20. Score: 2

I tried to use "viqc" option as described in the Kraken API documentation but got this error:
{"error":["EAPI:Feature disabled:viqc"]}

I searched the web and found this reddit link:
<https://www.reddit.com/r/KrakenSupport/comments/e0hc08/rest_api_create_a_market_order_for_xrpeur/>

> Despite being mentioned in our REST API documentation, the viqc order option is not presently available for any order type

I think it's a shame they did not mention this on their documentation. It's taken me plenty of time to understand why this was not working.


---

