bugfixing websocket
This commit is contained in:
parent
7573c57726
commit
6cc5458e89
@ -292,7 +292,7 @@ const sendData = async () => {
|
|||||||
parseFloat(jsonData?.lp)
|
parseFloat(jsonData?.lp)
|
||||||
) / 3;
|
) / 3;
|
||||||
|
|
||||||
const finalPrice = Math.abs(avgPrice - jsonData?.bp) / jsonData?.bp > 0.05
|
const finalPrice = Math.abs(avgPrice - jsonData?.bp) / jsonData?.bp > 0.01
|
||||||
? jsonData.bp
|
? jsonData.bp
|
||||||
: avgPrice;
|
: avgPrice;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user