user47978: 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

user47978: 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"
)


user106790: 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.

47978: <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>
 47978: <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>
 106790: <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>
