WaniXArif
WaniXArif

Reputation: 53

Is there a way to put Binance API market buy orders in a way that decides the max buyable quantity itself and that I don't have to calculate it?

I want my buy order to be executed instantly at the market price and the quantity should be the max buyable quantity, I shouldn't have to calculate it like myBalance/coinPrice sort of thing. I want to know if we can do that using binance API.

Thanks!

Upvotes: 1

Views: 2768

Answers (1)

Mike Malyi
Mike Malyi

Reputation: 1101

There is a special field quoteOrderQty for MARKET binance order types, where you can put quote currency amount.

Upvotes: 2

Related Questions