BTCMarkets / API

API
119 stars 30 forks source link

Placing order "at market" #83

Closed FtotheD closed 4 years ago

FtotheD commented 6 years ago

Hi there, I am encountering issues when trying to purchase "at market" because by the time I query the price and then attempt to settle, that particular parcel may already be gone. As a result I receive an error each time.

Is there a way to have the API execute a trade at the best available price (whatever it may be)?

Thank you,

Fd

cheriff commented 6 years ago

Can you put "Market" where you're currently putting "Limit" when posting to /order/create?

martin-nginio commented 4 years ago

thanks @FtotheD and @cheriff

Cloisng the issue.

Regards, Martin