From 6a2bbfa0081f612a969b6deeccdbac3327d5b981 Mon Sep 17 00:00:00 2001 From: direkturcrypto Date: Tue, 24 Feb 2026 15:05:48 +0700 Subject: [PATCH] =?UTF-8?q?fix(oneshot):=20remove=20global=20position=20li?= =?UTF-8?q?mit=20=E2=80=94=20block=20per-market=20only=20via=20SM=20state?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/oneshot.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/oneshot.js b/src/oneshot.js index 4dc81e6..a262064 100644 --- a/src/oneshot.js +++ b/src/oneshot.js @@ -191,13 +191,6 @@ async function onSignal(evt) { // Only enter from IDLE — one position per market slot if (!sm.is(State.IDLE)) return; - // Global position limit: never open a new position while any other market - // is still being held. The engine is designed to focus on one bet at a time. - if (posEngine.hasAnyPosition()) { - dbg('SIGNAL', `${marketSlug} | blocked — position already open in another market`); - return; - } - // ── Risk gate ───────────────────────────────────────────────────────── const riskCheck = riskEngine.canTrade();