jaggedsoft / php-binance-api

PHP Binance API is an asynchronous PHP library for the Binance API designed to be easy to use. https://github.com/binance-exchange/php-binance-api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

I have a problem MIN_NOTIONAL

RemizovAnton opened this issue · comments

$symbol = 'DGBUSDT';
$bookPrices = $api->bookPrices();
$ex_rate = $bookPrices[$symbol]['ask'];
$quantity = 20;
$price = $ex_rate;
$order = $api->sell($symbol, $quantity, $price);

Have error:

Fatal error: Uncaught Exception: signedRequest error: {"code":-1013,"msg":"Filter failure: MIN_NOTIONAL"}

Please, can you help me, what am I doing wrong?

try this :

$symbol = 'DGBUSDT';
$symbol = trim($symbol );
$bookPrices = $api->bookPrices();
$ex_rate = $bookPrices[$symbol]['ask'];
$quantity = 20;
$price = $ex_rate;
$order = $api->sell($symbol, $quantity, $price);

Only this answer? This answer no found
Please i have same problem.