signedRequest error: {"code":-1013,"msg":"Filter failure: LOT_SIZE"}
fahmisodret opened this issue · 1 comments
fahmisodret commented
Title
- bug: sell limit
Short Description:
- Always return "LOT_SIZE"
Long descrption
- i don't know why, when i run the sell function it always gives the bug "Filter failure: LOT_SIZE"
code
//this real price now is 0.05813000
$this->pair = "TRXUSDT";
$this->amount_sell = 200.0;
$this->price_sell = 0.0881;
$this->amount_sell = 17.62;
$bnc = new Bnc($this->binance->api_key, $this->binance->secret_key);
$qty = ($this->amount_sell >= $this->balance2)?$this->balance2:$this->amount_sell;
$order = $bnc->sell($this->pair, $qty, $this->price_sell);
result
Exception {
#message: "signedRequest error: {"code":-1013,"msg":"Filter failure: LOT_SIZE"}"
#code: 0
#file: "/home/metasign/web/dashb/vendor/jaggedsoft/php-binance-api/php-binance-api.php"
#line: 1350
}
thank you
fahmisodret commented
already done, thanks