bid ask logic bug
This commit is contained in:
@@ -211,7 +211,7 @@ class Block
|
|||||||
// how much of the ask should we use to fill the bid order
|
// how much of the ask should we use to fill the bid order
|
||||||
$use=0;
|
$use=0;
|
||||||
if($remaining>$val){
|
if($remaining>$val){
|
||||||
$use=$remaining-$val;
|
$use=$val;
|
||||||
} else {
|
} else {
|
||||||
$use=$remaining;
|
$use=$remaining;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user