From 1fe0bafc3b41bd3bddd27480c88691c90d2e62ae Mon Sep 17 00:00:00 2001 From: bangae1 Date: Mon, 1 Sep 2025 20:28:11 +0900 Subject: [PATCH] =?UTF-8?q?tp=20=EB=B2=94=EC=9C=84=20=EC=A1=B0=EC=A0=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index d1c0430..a5ba6b4 100644 --- a/index.js +++ b/index.js @@ -163,7 +163,7 @@ function enterMarket(sig) { entry: curPrice, qty: +qty, sl: sig.sl, - tp: sig.tp, + tp: sig.side === 'LONG' ? sig.tp - (sig.tp * 0.0005) : sig.tp + (sig.tp * 0.0005), openTime: Date.now(), fee, initialBalance: balance + fee