Market buy by specifying amount in quote currency

Replied

Buying 100 euro worth of cryptocurrency, for example: 100 Euro worth of XRP is possible via the GUI. Instead of the XRP amount you want to buy you select the EUR amount you want to invest.

I wonder if this possible via API. I want to market buy a crypto currency worth X Euro. For now I fetch the current ask price and then divide it by the EUR amount to calculate the XRP amount.

Posted Feb 23, 2019, 9:55 AM UTC

12
crankykernel•

That’s what you’d do with the API as well. Set it as a limit order. If it doesn’t fill, redo.

1
kraken-peter•

At the moment you can specify the order volume only in base currency in API call. GUI is doing similar calculations that you have mentioned on the user’s side. If you need any further assistance, please don't hesitate to open a ticket , so we can assist you further.

1