Market buy by specifying amount in quote currency
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
That’s what you’d do with the API as well. Set it as a limit order. If it doesn’t fill, redo.