Guide de référence · Core Bots

Entry Bot: understanding and safeguarding every entry

From a selected opportunity to a possible IBKR purchase: Swing and Intraday workflows, cash checks, broker-order safety and the handoff to Risk Bot.

Core Bots · Swing & Intraday entriesPotential IBKR buy ordersPre-order safety checks
01

Entry Bot: its exact responsibility

The connection between analysis and possible purchases.

Entry Bot is SB-ITM’s new-position execution component. It connects the candidates produced by the analytical workflow to Interactive Brokers (IBKR). It does not automatically purchase every identified stock: it must first establish that the current account, market and operational conditions permit the order.

It includes two functions: scheduled Swing entries from Bridge Bot’s selection and continuous Intraday movement monitoring, which may produce signals and purchases during the trading session. Both use the same IBKR account, but their candidate sources, eligibility conditions and allocation logic differ.

!

Essential distinction: Entry Bot may open positions; it does not itself place take-profit/stop-loss protection or trailing stops. Risk Bot is responsible for these after detecting new holdings.

02

Where Entry Bot fits

Execution follows preparation; risk management follows execution.

Each morning, the Morning Decision Chain prepares market data, runs Scan A and Scan B, and follows the appropriate branches. For Swing, Decision Layer reviews candidates and Bridge Bot prepares the list used by Entry Bot. For Intraday, Intraday Ranking and Intraday Watchlist Builder prepare the stocks to monitor; Entry Bot then observes their real-time movements.

01

Preparation

The scanners and decision bots produce candidates or a monitoring list; they do not place orders.

02

Entry

Entry Bot checks account data, funds, market hours, existing positions and engine-specific rules before a possible buy.

03

After a purchase

Risk Bot detects the new holding, verifies applicable protections and manages ongoing risk.

The Trade Register has no dedicated guide in this series yet. Its trade-recording function will be documented separately and should not be mistaken for immediate proof that protection orders are in place.

03

SWING, INTRADAY, BOTH and NONE

Four modes with clearly defined consequences for new entries.

The active mode is selected under Control Center → Parameters → Trading Mode. Entry Bot captures it once when the process starts; it does not reread the settings for every order. A change applied in Control Center therefore needs to be picked up by a new Entry Bot process before it changes entry behavior.

01

SWING

Runs the scheduled Swing function; Entry Bot’s Intraday monitoring is skipped.

02

INTRADAY

Skips Swing execution and starts Intraday monitoring, provided that component is enabled.

03

BOTH

Runs the Swing function, followed by Intraday monitoring within the same process.

04

NONE

Blocks new Swing and Intraday buys; Intraday analytical monitoring can continue without execution.

!

NONE does not close existing positions. It does not replace Risk Bot, cancel previously submitted broker orders or automatically stop open-position management.

Control Center screenshot — Swing, Intraday, Both and None trading modes
Trading Mode determines which new entries are permitted; managing existing positions is a separate responsibility.
04

What Entry Bot needs at startup

Reliable settings and a connection to the intended account.

At startup, Entry Bot validates the required settings, license and shared emergency status, then connects to IB Gateway. It operates on the account configured for the selected environment. One managed VPS can use PAPER or LIVE as set in Control Center; customers do not need two separate VPS installations.

If the IBKR connection fails, or mandatory safety settings are invalid, the process cannot proceed normally. Intraday detection parameters are validated before the session starts: a missing threshold is not silently replaced with an invented value.

Entry Bot also publishes its runtime status for Watchdog. This helps supervision, but it is not a confirmation of a purchase, available balance or installed position protection.

05

Swing: which stocks reach Entry Bot?

A prepared selection, not preapproved broker orders.

In the Swing workflow, Scan A and Scan B identify candidates using their distinct methods. Decision Layer considers portfolio holdings and sector diversification. Bridge Bot then prepares the planned date and ordered candidate symbols. Entry Bot reads the resulting execution parameters.

It does not rerun scanner scoring or Bridge’s ranking. A stock selected upstream may still be skipped at execution time: already held, pending order, insufficient funds, unavailable price, nontradable market hours or an unmet safety condition.

i

A prepared candidate list does not guarantee a purchase. Account and market conditions can change between the morning analysis and the opening bell.

06

Swing: scheduled time and execution cutoff

Prevent late entries and out-of-session purchases.

The Swing function uses a scheduled date, time and cutoff in the New York time zone. If started early, Entry Bot waits for the scheduled moment. If started after the scheduled time but before the cutoff, it may proceed subject to all controls. Once the cutoff has passed, it abandons new Swing entries.

Before each order, it also checks IBKR’s trading hours for the specific contract. It does not merely assume the market is open because the clock shows 9:30 a.m. New York time. Holidays, shortened sessions or unavailable market-hour information may prevent an order.

If Swing parameters already target a future date and today’s entry window has passed, the process may hand over to Intraday rather than remain waiting overnight inside the Swing routine.

07

Swing: avoid redundant purchases

Filter eligible stocks before distributing capital.

Before calculating purchase budgets, Entry Bot reads open positions and pending orders for the relevant IBKR account. Symbols already represented are removed from the new-entry list. This prevents an existing holding from consuming a new allocation slot and helps avoid duplicate purchases.

It then recalculates the number of eligible symbols. If every candidate is already held or has an open order, no new Swing purchase is submitted. The list may also be reduced by the minimum usable cash per entry and the configured maximum number of new positions.

i

Example: Bridge proposes three stocks, but one is already held. Entry Bot distributes the applicable budget across the two remaining candidates rather than incorrectly counting three.

08

Swing: how cash is assessed

Cash is not the same as margin buying power.

Entry Bot obtains an account snapshot from IBKR. For Swing sizing, it first uses the account’s total cash value; if unavailable, it may fall back to available funds. A configurable cash buffer is deducted to establish the amount usable in the planned purchases.

This is intentionally different from simply treating margin buying power as cash. Entry Bot also checks whether usable funds satisfy the minimum amount required for each intended new position, rather than assuming every candidate can be funded.

The cash assessment before an order remains distinct from the broker’s final execution checks. Balances can change between readings, and IBKR can reject an order even when the local plan appeared consistent.

!

Remember: a positive balance shown in Control Center does not by itself prove that a new purchase is fundable.

09

Swing: position sizing and share quantities

An explicit calculation before submitting orders.

Depending on the active settings, the maximum per-position budget is either a fixed dollar amount or a percentage of portfolio value, with a fallback amount when portfolio valuation is unavailable. Usable cash is divided among genuinely eligible symbols, then capped per position.

For each stock, Entry Bot obtains a valid price, calculates a whole-number share quantity, and checks that estimated purchase value stays within the allotted budget. If a valid price is missing, or the budget cannot buy even one whole share, the candidate is skipped.

01

Indicative budget

Usable cash after the buffer, divided across selected stocks.

02

Per-position ceiling

The amount allocated to each stock cannot exceed the configured maximum.

03

Whole shares

Quantity is rounded down; this execution routine does not plan fractional shares.

10

Swing: validate the complete plan first

A portfolio-level check before the first order.

Before placing the first order, Entry Bot prepares the full purchase plan: symbols, quantities, reference prices and estimated value for each order. It verifies that the combined planned value does not exceed usable cash and that estimated remaining cash is not negative.

If no valid plan can be built, no purchase is sent. If global execution is disabled, Entry Bot may still report the validated plan, but does not transmit orders. These stages distinguish a selected candidate, a funded plan and a transaction actually submitted to IBKR.

11

Swing: how purchases are submitted

Market orders, subject to regular trading hours.

Each Swing purchase is submitted to IBKR as a BUY market order (MKT), valid for the day and not intended for execution outside regular trading hours. Immediately before submission, Entry Bot rechecks the symbol’s trading hours, the startup trading mode and the absence of an active emergency operation.

After submission it waits for a useful broker status and records the order identifier, status, filled quantity and average price when available. A submitted order is not necessarily a filled order. Partial or still-pending fills require verification; customers must not assume that position protection was immediately installed.

!

Market-order risk: actual execution price can differ from the reference used for cash planning, particularly around a volatile opening.

12

After purchase: handoff to Risk Bot

A completed buy is not the same as verified protection.

When a Swing buy fills, Entry Bot logs the result and explicitly indicates that Risk Bot must detect the new position and create or verify the appropriate take-profit/stop-loss protection. Entry Bot does not itself place those protective orders, and an entry fill does not prove that protection is already active.

For an Intraday position, the strategy classification and stop profile are prepared and stored before the buy is submitted, so Risk Bot can identify the holding correctly. This handoff mechanism must not be confused with verified protective orders at IBKR.

!

If a purchase is filled but appears unprotected: immediately review the IBKR account, Risk Bot status and support options. Never blindly restart Entry Bot to “fix” the situation.

13

Intraday: which stocks are monitored?

A prebuilt list becomes a real-time monitoring universe.

Entry Bot uses the Intraday watchlist produced by Intraday Watchlist Builder. That list draws on Intraday Ranking and eligible contributions from Scan A and Scan B. It is different from the main source watchlist used for the original market scans.

For each selected stock, Entry Bot requests a continuous price stream from IBKR. If a contract cannot be qualified, data is unavailable or the broker refuses a market-data line, the stock cannot be treated as though reliable live pricing were present.

Intraday Watchlist Monitor showing tracked stocks during the session
The Intraday watchlist is a monitoring shortlist, not a list of preapproved purchases.
14

NORMAL, WATCH and TRIGGER

Understand monitoring states without confusing them with orders.

Using continuous market prices, Entry Bot measures short-term movements over several time horizons, including rebounds and acceleration. It assigns one of three states. NORMAL means no qualifying movement is detected; WATCH flags activity worth monitoring; and TRIGGER means a detection profile has met its defined criteria.

Moving to TRIGGER never guarantees an order. Entry Bot still checks holdings, pending orders, exposure, cash, anti-chasing rules and mandatory operational safeguards.

01

NORMAL

Routine monitoring; no entry implied by the current state.

02

WATCH

Notable movement, but purchase conditions are not yet satisfied.

03

TRIGGER

A qualifying momentum pattern; pre-order checks begin.

15

The two Intraday trigger paths

An early response or a more complete momentum confirmation.

The current implementation has two trigger paths. EARLY_OPEN allows early detection before a full three-minute context exists, but requires simultaneous short-horizon movement, rebound and acceleration criteria. VALIDATED_MOMENTUM applies when more history is available and combines multiple quality checks with mandatory minimums for one- and three-minute movement.

Customers do not manually start these as separate engines. Entry Bot selects the appropriate trigger path based on the historical context actually available. There is no arbitrary extra confirmation delay: the current data determines eligibility.

16

Anti-chasing and signal-quality controls

A TRIGGER can still be rejected as a poor entry.

Several controls prevent a dramatic price move from automatically becoming a buy. The chase guard blocks a purchase after excessive extension beyond the original trigger price. The anti-drop check considers the retreat from the session high and insufficient rebound strength. A quality guard can place an individual stock on hold if momentum appears overextended or insufficiently confirmed.

After such a hold, waiting alone is not enough: the stock must also satisfy the required recovery conditions. The hold applies to the individual symbol and does not necessarily stop monitoring other stocks.

17

Existing positions and same-day reentries

A repeat purchase is not treated as a first entry.

Before an Intraday purchase, Entry Bot checks whether the symbol is already held or has a pending order. It also retains session-specific entry and exit history. Another entry in the same stock can be limited by the maximum allowed entries, a minimum interval after a full exit, price extension beyond the initial purchase and a rule restricting reentry after a losing exit.

When reentry is considered, the bot checks available closing-trade information and the conditions for a renewed movement. Simply removing the stock from the current portfolio must not erase the count of purchases already made during the session.

i

Example: a stock was purchased and later closed at a loss. Another TRIGGER may be rejected even if momentum conditions become favorable again.

18

Intraday: cash and allocation

A conservative budget for every potential purchase.

Unlike the global Swing purchase plan, each Intraday opportunity receives its own cash assessment using current available account data, the selected allocation method and a cash buffer. If usable cash is below the minimum requirement or cannot fund a whole share, no order is submitted.

IBKR account balances may lag recent trades. To avoid counting the same money twice, Entry Bot maintains a conservative local reserve for purchases not yet clearly reflected in broker cash values. It also reserves possible exposure from Intraday orders whose final outcome remains uncertain.

!

Important: this safeguard reduces over-allocation risk, but it does not convert an estimated balance into an IBKR guarantee of execution.

19

Observation without buying: NONE vs Shadow

Two distinct controls with different purposes.

With Trading Mode NONE, Entry Bot can continue Intraday signal monitoring if that feature is enabled, but it blocks new BUY orders. The Swing function does not run. The Intraday Shadow setting serves another purpose: evaluate and log theoretically eligible opportunities without submitting Intraday purchases.

Enabling Shadow does not automatically change Swing mode, and selecting NONE does not mean open-position risk management is suspended. Actual behavior depends on the settings captured when Entry Bot started.

Control Center: Trading Mode NONE
NONE blocks new entries while leaving existing-position management to the appropriate components.
20

Intraday: binding the correct risk profile

Classification must precede Risk Bot’s visibility of the fill.

An Intraday position must be distinguishable from a Swing holding so the appropriate protections can be applied. Just before an Intraday purchase, Entry Bot reads the recorded Intraday market regime and the stop associated with it. It durably records the association with the specific IBKR account and contract, along with the Intraday classification.

The safeguard prevents a previously bound risk profile from being silently overwritten. If an old association remains, fresh broker evidence confirming no open position or pending order is required before reconciliation can be considered.

!

This binding happens before the buy, but it is not a stop order. Risk Bot must subsequently establish and verify actual protection for the detected holding.

21

Intraday: prevent accidental second purchases

An uncertain order stays blocked until its outcome is established.

Before sending a new Intraday buy to IBKR, Entry Bot writes a durable order intent recording the account, symbol, order identifier and intended quantity. This survives an unexpected process exit: restarting Entry Bot must not automatically replay an order whose outcome is still unknown.

During submission, the bot also informs Watchdog that broker confirmation is pending. If a buy is partial, nonterminal or ambiguous, the affected symbol is isolated; other symbols may continue only while overall safety remains demonstrable. If essential state or broker connectivity cannot be trusted, new Intraday entries stop.

!

Never manually restart to “retry” an uncertain purchase. First verify orders and holdings at IBKR, then contact support when necessary.

22

How to interpret broker-order outcomes

Submitted, filled and partially filled are not interchangeable.

IBKR can receive an order without immediately filling it, execute only part of it, reject it or temporarily report an uncertain outcome. For Intraday buys, Entry Bot clears its guarded order intent only after complete and durable confirmation. Incomplete execution isolates the symbol instead of generating another buy.

01

Submitted

The broker received a request; that does not prove shares were purchased.

02

Confirmed fill

A quantity was actually bought and must subsequently be tracked and protected.

03

Partial or unknown

Review the account and keep anti-duplicate safeguards until the order is resolved.

Swing processing also logs broker outcomes and warns if an order is not fully filled within its observation window. Customers should distinguish an execution issue from an ongoing risk-management issue.

23

US sessions and trading-hour checks

Confirmed broker hours take precedence over assumptions.

The Intraday engine asks IBKR to confirm that a regular U.S. trading session exists for the current date, using a reference instrument. Monitoring starts according to the configured schedule and ends at the configured cutoff (in the reviewed configuration: 3:45 p.m. New York time). The trading hours for each individual contract are checked again just before a possible order submission.

On a holiday, during a closure or when reliable session-hour information is missing, the system does not invent a permissible trading window. An early close or unusual brokerage condition may therefore limit entries without the bot being faulty.

24

IBKR market-data quality and fresh prices

Old cached prices must never create new signals.

A continuous market-data stream can stop or become stale. Entry Bot recognizes several conditions: lost IBKR API connectivity, broker-reported data interruption, subscriptions requiring renewal or an extended lack of observed price changes. It pauses or stops evaluation rather than treating old cached prices as fresh observations.

While the API connection remains healthy, certain streams may be resubscribed and short-term price history rebuilt before signals resume. A complete disconnection, however, produces a cautious stop: Entry Bot does not blindly reconnect its API or resume purchasing without the necessary checks.

25

Risk Bot market-data priority

Existing-position protection takes precedence over new opportunities.

IBKR limits the number of market-data streams according to the account and subscribed entitlements. If the broker refuses an Entry Bot stream for capacity reasons, the affected stock is excluded from effective monitoring: it cannot generate a trustworthy signal.

When Risk Bot reports that open positions are missing required market-data streams, Entry Bot can relinquish some of its own Intraday subscriptions to make room. It does not cancel Risk Bot subscriptions, and it does not automatically reclaim released lines within the same session.

!

Priority rule: monitoring and protecting existing holdings takes precedence over finding another potential purchase.

26

Emergency operations: stop new entries

The emergency interlock is checked up to order submission.

An emergency closing or protective-order replacement operation must not be complicated by new purchases. Entry Bot reads a shared emergency state when starting its functions and immediately before each order. Only an explicit normal state permits new buys.

An emergency in progress, a failed emergency, a missing state file or invalid information blocks new entries. This interlock does not necessarily cancel broker orders already submitted and is not a substitute for the emergency operating procedure.

!

Operational rule: do not bypass an emergency block by restarting bots or editing internal files.

27

Entry Bot and Watchdog: cautious supervision

Automatic recovery requires provably safe conditions.

Entry Bot publishes differentiated runtime states, including active operation, pending order confirmation, normal completion and safety stop. Watchdog uses this information to distinguish a recoverable process failure from a situation where restarting could duplicate a buy or disregard an unresolved broker order.

Normal Intraday session completion is explicitly distinguished from an early stop. Watchdog applies specific checks before any potential restart; the mere absence of a process does not automatically authorize recovery.

i

Remember: Watchdog oversees continuity, but must never erase uncertainty over pending IBKR orders.

28

What to check in Control Center

Read the context before taking action.

Under Core Bots → Entry, customers can follow execution and inspect available runtime details and logs. Useful checks include the active mode, PAPER/LIVE environment, IBKR connection, Risk Bot availability, prepared Swing selection, Intraday states and recorded reasons for skipped orders.

Completion does not mean every planned stock was purchased; it may simply mean no candidate passed the relevant checks. Conversely, an “order submitted” log entry must be reconciled with the actual IBKR account and Risk Bot’s confirmation of protection.

SB-ITM Control Center trading dashboard
The dashboard provides portfolio context for execution information; it does not replace checking actual IBKR order status.
29

Why a stock was not purchased

Normal filtering and technical failures are different.

A skipped purchase does not necessarily indicate an outage. Common Swing reasons include an existing position, pending order, insufficient budget, unavailable quotation, missed cutoff and closed market. Intraday adds further reasons: WATCH without TRIGGER, excessive price extension, a deteriorating move, insufficient signal quality, restricted reentry or a symbol isolated after an uncertain order.

Technical stops are different: unavailable Gateway, unconfirmed Risk Bot when required, missing IBKR streams or invalid safety state. Diagnosis should begin with the specific logged reason, not simply the absence of a purchase.

30

End-to-end examples

Four common situations with different outcomes.

A

Swing: an existing holding

Bridge proposes three symbols; Entry Bot finds one already in the portfolio and removes it before cash allocation. This is normal filtering.

B

Intraday: WATCH without a purchase

A stock accelerates but never meets all TRIGGER conditions. Entry Bot continues monitoring without submitting an order.

C

Intraday: partially filled order

IBKR confirms some shares, but not the full quantity. The symbol remains isolated because an automatic second buy would be unsafe.

D

NONE after a mode change

Once captured at Entry Bot startup, this mode blocks new buys. Risk Bot remains responsible for managing already open holdings.

31

What customers can do—and what to avoid

The Managed VPS is an integrated automated environment.

Customers can adjust authorized settings through Control Center, verify the active environment and review reported states and outcomes. If an issue remains unclear, they can open a ticket under Web Portal → Support, including the symbol, approximate time, environment and displayed status.

Do not edit scripts, classification records, Intraday histories or safety-state files, and do not try to force a second purchase by restarting Entry Bot. Operational corrections must preserve the relationships between Entry Bot, Risk Bot, Watchdog and IBKR. Technical interventions on a Managed VPS should be coordinated with SB-ITM.

32

Important limitations

Risk controls cannot eliminate uncertainty or market risk.

Entry Bot’s safeguards reduce certain operational risks, but they cannot guarantee the quality of a trade idea, a particular fill price or IBKR’s acceptance of an order. Data outages, partial fills, delayed balance updates and volatile markets can all change the expected result.

A completed BUY does not itself prove corresponding protective orders exist. That requires checking the positions and the protection managed by Risk Bot. Historical SB-ITM results are not a promise of future performance.

33

Frequently asked questions

Essential answers for operating Entry Bot correctly.

Does Entry Bot buy every proposed candidate?

No. Every purchase requires separate checks at entry time; many candidates may legitimately be skipped.

Can analysis continue without buying?

Yes. NONE blocks new buys once captured by Entry Bot. Intraday Shadow is a separate simulation setting.

Does Entry Bot place stop-loss and take-profit orders?

No. Risk Bot does. A filled BUY and confirmed position protection are two different states.

Why might a TRIGGER not lead to an order?

Additional conditions cover price, cash, account context, open positions, reentries, market hours and safety.

What if an order appears partially filled?

Check its actual IBKR status and holdings; do not initiate another purchase until the situation is clear.