bid ask logic bug

This commit is contained in:
arionum
2019-04-17 04:42:51 +03:00
committed by GitHub
parent 1baba2ab3a
commit 99e5c412de

View File

@@ -211,7 +211,7 @@ class Block
// how much of the ask should we use to fill the bid order
$use=0;
if($remaining>$val){
$use=$remaining-$val;
$use=$val;
} else {
$use=$remaining;
}