mirror of
https://github.com/LBRYFoundation/pool.git
synced 2025-09-24 20:30:34 +00:00
nova: volume market check was in btc
This commit is contained in:
parent
b4f1ce898f
commit
644f5b8560
1 changed files with 3 additions and 1 deletions
|
@ -930,7 +930,9 @@ function updateNovaMarkets()
|
|||
|
||||
$market->marketid = $ticker->marketid;
|
||||
|
||||
if ($market->disabled < 9) $market->disabled = (intval($ticker->volume24h) <= 1);
|
||||
if ($market->disabled < 9)
|
||||
$market->disabled = (floatval($ticker->volume24h) <= 0.005); // in btc
|
||||
|
||||
if (!$market->disabled) {
|
||||
$market->price = AverageIncrement($market->price, $ticker->bid);
|
||||
$market->price2 = AverageIncrement($market->price2, $ticker->last_price);
|
||||
|
|
Loading…
Add table
Reference in a new issue