how to make a bitcoin buy with euros on Kraken API 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 =&gt; "XXBTZEUR",
"type" =&gt; "buy",
"ordertype" =&gt; "market",
"voulme" =&gt; ?
)


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
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 =&gt; "XXBTZEUR",
"type" =&gt; "buy",
"ordertype" =&gt; "market",
"voulme" =&gt; '10',
"oflags" =&gt; "viqc"
)