Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MIN_NOTIONAL Error on Post new order (MARKET) #69

Open
H-Moradof opened this issue Jul 6, 2020 · 2 comments
Open

MIN_NOTIONAL Error on Post new order (MARKET) #69

H-Moradof opened this issue Jul 6, 2020 · 2 comments

Comments

@H-Moradof
Copy link

H-Moradof commented Jul 6, 2020

when I try to post new order on market sometimes I've got MIN_NOTIONAL error.
according to my researches, it's because of the Binance trading rules, but I didn't find a way to handle it.

my website is a cryptocurrency shop and when a customer buys for example Bitcoin, I post new BUY BTCUSDT order (Market)

var taskResult = Task.Run(() => binanceClient.PostNewOrder("BTCUSDT", quantity, 0m, OrderSide.BUY, OrderType.MARKET));

@H-Moradof
Copy link
Author

I found this API that returns average of trades in the last 5 minutes (https://api.binance.com/api/v3/avgPrice?symbol=BNBUSDT)

But the point is We don't send price when we post order on Market. It must get from market!

So what can I control it ?

@H-Moradof
Copy link
Author

I found this is Binance GitHub page (https://github.com/binance-exchange/binance-official-api-docs/blob/master/errors.md):
"Filter failure: MIN_NOTIONAL" price * quantity is too low to be a valid order for the symbol.

We Can't control market price, So It seems we can control the quantity

Is it right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant