Reference guide · Support Bots

Emergency TP/SL Override: Understanding a Protective Order Reset

An exceptional operation on existing TP/SL orders: eligibility rules, safety sequence, risks, and essential post-recovery verification.

Support Bots · Exceptional interventionOCA · Swing / IntradayPAPER / LIVE · Critical risk
Show the 29 guide sections
01

What is Emergency TP/SL Override for?

An exceptional reset of existing protective orders, without selling shares.

Emergency TP/SL Override is an exceptional intervention tool for cancelling existing standard Take Profit (TP) and Stop Loss (SL) protective orders on open positions. Risk Bot is then expected to rebuild protections using the applicable configuration and risk profiles.

It is not a scanner or a buying engine. The tool does not submit BUY orders or liquidation SELL orders, does not close positions, and never modifies an already active trailing stop.

!

Safety principle: changing existing protections can create a period of exposure. This is not a routine settings function.

02

Three different actions must not be confused

Stopping new entries, changing protection, and closing a position are different operations.

User needAppropriate functionIntended effect
Stop new purchasesTrading Mode NONEBlocks new entries while existing positions remain managed.
Exceptionally replace standard TP/SL protectionEmergency TP/SL OverrideCancels eligible OCA pairs; Risk Bot is expected to rebuild protection.
Close open positionsEmergency CloseSubmits actual closing orders after its own checks.
Manage normal TP/SL and trailingRisk BotAutomatically manages and monitors position protection.

Changing risk parameters in Control Center and running an Override are also different actions. Updating a setting does not, by itself, prove that an existing IBKR order has been changed.

03

Understanding a TP/SL OCA pair

Two linked exit orders protect one position before trailing begins.

A long position may have a limit Take Profit order and a Stop Loss order. In an OCA — One Cancels All group, execution of one order should result in cancellation of the other, subject to broker handling and confirmation.

The Override tool accepts only a verifiable standard OCA pair: two active SELL orders, one LMT and one STP, linked to the same OCA group, with quantities consistent with the shares held.

!

Important: seeing two orders is not enough. Their account, status, type, group, and quantities must pass strict checks.

04

Which positions are eligible?

Only long stock positions with a confirmed standard OCA pair.

01

Standard Swing

A Swing position still protected by its initial TP/SL pair, with no active trailing.

02

Standard Intraday

An Intraday position with a verifiable entry-time stop profile linked to the correct account.

03

Excluded

Active trailing, nonstandard orders, short positions, mismatched quantities, or uncertain broker state.

Eligibility comes from the actual orders and positions read from IBKR plus Intraday classification data. It can change between the display and execution.

05

Why trailing stops are excluded

The tool must not undo protection that has entered a different phase.

Trailing orders follow a different logic from a standard TP/SL pair and may represent a tighter risk level after a favorable price move.

For this reason, the tool requires exactly the expected OCA structure. An active trailing order, extra order, or unrecognized protection configuration makes the position ineligible. The tool does not attempt to guess what that order means.

06

Where is the tool in Control Center?

An explicit intervention available under Support Bots.

Open Support Bots → Emergency TP/SL Override in the VPS Control Center. The screen displays the emergency state, IBKR positions, selection modes, and read-only refresh actions.

  1. Refresh positions: obtain a fresh snapshot of positions and eligibility.
  2. Selected positions: select up to five eligible holdings.
  3. All positions: target all eligible holdings, not the excluded ones.
  4. Review the confirmation dialog before authorizing the operation.
  5. Refresh status to inspect coordination progress; then verify actual protections at IBKR.

Clients are not expected to launch executables, stop Risk Bot manually, or edit VPS configuration files.

07

The displayed list is a snapshot, not a guarantee

What the checkboxes and position count actually mean.

Control Center first performs a read-only snapshot of the configured IBKR account. It can display symbol, available company name, quantity, and Swing or Intraday classification.

Ineligible positions cannot be selected. If broker orders cannot be read, Intraday classification fails, or account identity cannot be confirmed, the snapshot must not mark positions as actionable.

Positions and orders can change after the snapshot. The tool repeats preflight checks before any cancellation begins.

08

Selected holdings versus all eligible holdings

Five-position batches do not mean one Risk Bot restart per batch.

OptionScopeKey detail
Selected positionsOne to five distinct eligible positionsChanged selection or eligibility can cause a refusal.
All positionsAll eligible holdings at execution timeExcluded holdings remain untouched and may be reported as skipped.
Internal batchesUp to five positions per groupOne emergency operation and one Risk Bot stop for the entire selection.

The selection mode limit of five is not the same as the number of holdings an all-eligible operation can process.

09

Confirmation authorizes a process, not a result

Users must check symbols and quantities.

Control Center opens a dialog listing the selected holdings. Only an explicit user approval authorizes the execution workflow.

This action does not confirm any order cancellation or rebuilt protection. It triggers final checks and, if the conditions remain satisfied, broker order cancellations.

!

Before approval: check environment, account, positions, quantities, and the actual operational reason for the intervention.

10

PAPER and LIVE: a material safety discrepancy

The audited code does not enforce a strict PAPER-only boundary.

SB-ITM’s stated operating requirement is that this tool be restricted to PAPER testing. However, the code and configuration provided on November 14, 2026 can permit LIVE execution: the software checks a local permission and the supplied setting allows LIVE.

It would therefore be inaccurate to describe the tool as technically PAPER-only. On a real account, cancelling active protection orders can create immediate financial exposure.

!

Critical warning: until this restriction is corrected and separately validated, do not assume PAPER-only is enforced by the program.

11

Trading-session and broker availability checks

The US regular session must be confirmed as active.

The program requires the standard 9:30 AM–4:00 PM New York time window and separately validates broker-reported liquid hours for SPY. Holidays, early market closes, or unavailable session information may prevent the operation.

An available IBKR connection and confirmation of the expected account are mandatory. VPS clock time alone is not accepted as sufficient market-open evidence.

12

Required components and shared emergency state

Several services must cooperate, with no competing emergency operation.

1

IB Gateway / IBKR

Provides actual holdings and active orders, then acknowledges cancellations.

2

Risk Bot

Must initially be active and stop reliably, then restart to rebuild protection.

3

Watchdog

Must be running and configured to monitor Risk Bot; it handles recovery.

4

Entry Bot

New entries are inhibited by the shared emergency state during coordination.

Emergency Close and Override share a mutual-exclusion lock. Any concurrent or unresolved emergency is rejected rather than run alongside another procedure.

13

Checks before any broker order is touched

Fail early when the account, position, or OCA pair cannot be verified.

  1. Verify the target account and initial emergency state.
  2. Confirm the session and retrieve broker positions.
  3. Check stock type, positive quantity, two consistent OCA SELL orders, and absence of active trailing.
  4. For Intraday, verify an already attributed entry-time stop profile.
  5. Verify Risk Bot and Watchdog, and refuse multiple Entry processes.
  6. After stopping Risk Bot, re-read all selected holdings and OCA pairs before the first cancellation.

If a position quantity, OCA group, or selection changed between snapshots, execution is refused before cancelling any order. Once cancellation has begun, however, a later failure can leave partial work requiring investigation.

14

The actual workflow

Stop Risk once, cancel all selected OCA pairs, then coordinate restart.

01

Acquire the emergency interlock

Publish the operation state and inhibit new entries.

02

Stop Risk Bot

One stop for the full selection, with no restart between batches.

03

Cancel existing OCA pairs

Process in batches of up to five, checking confirmations and quantities.

04

Intraday stop-profile adjustment, if applicable

Update the recorded stop parameters for explicitly selected Intraday holdings.

05

Watchdog recovery

Permit Risk Bot restart, then clear the entry interlock after its process startup grace period.

The Override coordinator does not place replacement TP/SL orders and does not certify that broker protection is restored. Risk Bot and independent IBKR checks are responsible for that later state.

15

Why the tool uses five-position batches

Bound group size without repeatedly stopping and restarting Risk Bot.

A large selection is split into groups of at most five. Those groups are processed sequentially while Risk Bot remains stopped for the entire operation.

Each cancellation is checked. There is no intermediate Risk Bot restart or protection certification between groups. All intended cancellations precede the normal reconstruction phase.

16

What counts as a confirmed cancellation?

Sending an IBKR cancel request does not prove an order is gone.

For every eligible position, the coordinator cancels both orders in the OCA pair. It then polls IBKR until neither is reported active or the allowed waiting period expires.

The position quantity is checked again. An unconfirmed cancellation or changed quantity stops the procedure. Previously confirmed cancellations cannot simply be assumed to have been reversed; the actual IBKR state must be inspected.

!

Temporary exposure: between confirmed cancellation and effective placement of new TP/SL orders, the position may have no standard protective pair.

17

The special case of Intraday stops

A stop fixed at entry may be explicitly rebound by this exceptional action.

Normal Intraday positions have a stop-loss percentage associated with the entry-time market regime. Override verifies the recorded account, contract, symbol, and regime before acting.

For a specifically selected Intraday position, it may rebind the percentage to the current configured stop for that same regime. This changes the stored risk-profile association Risk Bot will use; it does not submit an IBKR order.

Missing or inconsistent attribution makes the position ineligible. Unselected Intraday positions, including those with active trailing, are not rebound.

18

Swing positions: TP/SL is not the trailing matrix

The tool never resets an already active trailing-stop stage.

An eligible Swing position still using a standard OCA pair may have protection rebuilt by Risk Bot using current active settings. That does not mean that all trailing levels will be retroactively recalculated or that an active trailing stop can be overridden.

BULL, RANGE, and DEFENSIVE trailing profiles remain part of Risk Bot’s separate management logic; active trailing is explicitly excluded from Override.

19

How Risk Bot returns to service

Watchdog restarts the process after cancellations; rebuilding is separate.

Once cancellations finish, the coordinator unlocks Risk Bot restart only. Watchdog observes this permission and starts Risk Bot.

The coordinator waits for Risk’s process to remain present through the configured startup grace period, then clears the emergency interlock. This is not a broker-order verification. Protection must be regarded as restored only after the actual IBKR orders have been checked.

20

Keeping new entries inhibited during coordination

Entry Bot must not introduce fresh buys while protection is being changed.

The shared emergency state blocks new Entry Bot submissions while the procedure is active or failed. Normal state is restored only after the Risk Bot process restart has been observed and the startup grace period completed.

This does not retroactively cancel existing broker orders and does not certify final protection. If the situation is ambiguous, inspect open orders before resuming normal activity.

21

How to interpret the status correctly

“Completed” does not mean “every holding has confirmed protection”.

State or resultReliable interpretationWhat it does not prove
Emergency in progressCoordinator is locking, cancelling, or waiting for Risk restart.That new TP/SL pairs already exist.
OCA cancellations: X / YX old OCA pairs have been cancelled and confirmed.That X replacements exist at IBKR.
Completed / OCA_CANCELLEDCancellation sequence completed and Risk process observed running.Individual replacement orders were verified.
Failed / Recovery requiredInterruption or inconsistency requires recovery and verification.That no protective orders were cancelled.
No EmergencyNo emergency coordinator is currently declared active.That the portfolio protection state is healthy.
!

Key message: an operating-system process or coordination status never replaces verification of actual broker protective orders.

22

Essential checks after the intervention

Review real holdings and orders at IBKR.

  1. Confirm Risk Bot is running and Watchdog is not reporting a failed restart.
  2. Refresh IBKR open positions and orders rather than relying on an old screenshot.
  3. For each affected position, verify an actually active TP and SL with the correct account and share quantities.
  4. Investigate missing, duplicate, rejected, or pending orders before considering the intervention resolved.
  5. Keep relevant diagnostics and contact SB-ITM Support if the broker state cannot be confirmed.

Do not repeat the operation merely because the progress counter reached its target. A second intervention without a fresh IBKR reconciliation can increase uncertainty.

23

What happens if the operation fails?

Some old OCA pairs may already have been cancelled.

Execution may fail because IBKR does not confirm a cancellation, a position quantity changes, Intraday attribution becomes inconsistent, or Risk Bot does not restart within the allowed window.

The tool records which positions have already had their OCA orders cancelled and logs the error. Watchdog may attempt process recovery, including when the coordinator exits unexpectedly. That recovery is not proof of broker protection.

!

On failure: do not retry blindly. Check actual IBKR positions and protective orders, then seek SB-ITM Support.

24

Four practical examples

Illustrations of the logic, without initiating any action.

A

Two eligible Swing positions

Both holdings have verified standard TP/SL OCA pairs; both can be cancelled before Risk Bot restarts.

B

A position with active trailing

The trailing stop makes it ineligible, so Override leaves its orders unchanged.

C

Seven eligible holdings

The all-eligible mode uses two batches (five plus two), with one Risk stop and one restart.

D

Failure after three cancellations

The counter is not evidence that replacements exist; affected holdings need IBKR verification.

25

The risks that matter most

An exceptional operation on actual protective orders.

RiskWhy it mattersPrecaution
Temporary loss of protectionExisting OCA pairs are cancelled before Risk Bot places replacements.Observe recovery and verify IBKR orders.
Partial completionAn error may occur after some confirmed cancellations.Use diagnostics and Support; never retry blindly.
Unexpected LIVE executionThe audited build does not enforce a hard LIVE prohibition.Treat the safety gap as unresolved until corrected.
Different rebuilt risk levelsActive settings may differ from earlier orders.Understand current configuration and inspect rebuilt prices.
Misread completionCompleted does not certify final TP/SL orders.Check orders and quantities at the broker.
26

What clients should do — and avoid

Use intended controls and seek help when the state is uncertain.

The operation is available through Control Center, but should never be explored casually on LIVE. Use normal settings screens for regular parameter changes and contact Support before an exceptional change to open-position protection.

Do not manually stop and start multiple bots while it runs, edit emergency-status or Intraday-risk files, or cancel IBKR orders to “help” the coordinator. External changes can invalidate its safety checks.

27

When to involve SB-ITM Support

Open a ticket if protection or recovery is ambiguous.

Use Web Portal → Support if a position appears unprotected, Risk Bot or Watchdog does not recover, a step remains failed, or Control Center and IBKR disagree.

State the PAPER/LIVE environment, approximate time, observed status, and affected symbols. If requested, generate a diagnostic Support ZIP using Control Center; you do not need to attach that ZIP manually to the ticket.

28

Frequently asked questions

Answers to common and potentially dangerous misunderstandings.

Does Override close a position?

No. It never submits a position-closing order. Emergency Close is the separate tool for liquidation.

Can I change only five positions?

Selected mode allows up to five. All-eligible mode processes every eligible holding in batches of five.

Will it affect active trailing?

No. An active trailing or nonstandard protection configuration makes the position ineligible.

Does Completed guarantee new TP/SL orders?

No. It indicates the cancellation coordinator’s completion and observed Risk process restart, not broker certification of every replacement order.

Is it PAPER-only?

That is the intended operating requirement, but the audited source and settings can allow LIVE. The enforcement gap remains unresolved.

Can it run alongside Emergency Close?

No. Both procedures share an exclusive lock and emergency-state coordination.