Reference guide · Core Bots

Watchdog Bot: operational continuity for SB-ITM

Learn how Watchdog monitors essential VPS components, coordinates selected recovery actions, and applies safeguards so an automatic restart does not make an uncertain trading situation worse.

Operational monitoringOrdered startupControlled recovery
01

What Watchdog actually does

A service-availability supervisor, not a trading engine.

Watchdog is SB-ITM’s operational monitoring service. It detects when certain essential processes have stopped and, when the required conditions are met, attempts to restore them. This reduces interruptions on a VPS designed to run without constant intervention by the client.

It does not select stocks, calculate Scan A or Scan B scores, determine position size, or place buy and sell orders. Those responsibilities belong to dedicated components.

!

Important distinction: detecting a running process is not proof that all its functions are working correctly, that the broker connection is healthy, or that every position has confirmed protection.

02

Which components are monitored?

Targeted monitoring, with different recovery rules for each service.

01

IB Gateway and IBC

Watchdog checks the availability of the IBKR access service, including the local connection port. If the expected service is unavailable, it can attempt recovery.

02

Risk Bot

The protection-management process is supervised, but its recovery can be deferred while an emergency operation or scheduled restart is taking place.

03

Trade Register

The transaction-recording component is monitored so an unexpected process termination can be detected and addressed.

04

VPS Health

The server-health collector can be started and monitored when the feature is enabled. It provides VPS telemetry, not trading execution.

05

Entry Bot: a special case

Watchdog does not treat Entry Bot as a generic process to restart. Recovery is only considered during the Intraday session, subject to multiple safety checks.

This list reflects services explicitly handled by the reviewed Watchdog source. It does not mean every other SB-ITM bot is monitored through the same mechanism.

03

How the ecosystem starts

Startup order helps prevent dependency-related errors.

When Watchdog starts, it checks the SB-ITM license before initializing monitored services. It then uses an ordered sequence rather than starting every component simultaneously.

01

IBKR access

IBC / IB Gateway is initialized if needed, preparing the communication channel to Interactive Brokers.

02

Risk management

Risk Bot may be started if absent, subject to the emergency-operation interlocks.

03

Trade records

Trade Register is checked and started if its process is not running.

04

VPS health

VPS Health is started when the related functionality is enabled.

Watchdog does not perform Entry Bot’s initial startup. That action belongs to a dedicated Windows Scheduled Task. Keeping those responsibilities separate reduces the chance of duplicate starts at the beginning of a session.

04

Ongoing operational monitoring

Repeated checks of essential services, not a one-time startup action.

Once startup has completed, Watchdog enters a recurring monitoring loop. It periodically checks the services in its scope. When an eligible service is no longer detected, it can attempt a restart; a cooldown limits repeated attempts within a short time.

Depending on the component, detection uses Windows process information or a local network port. These checks are valuable for identifying interruptions, but they do not prove that every trading function works end to end.

i

For example, an IB Gateway process can exist without proving that the IBKR session is authenticated and ready for every request. Control Center statuses and log messages remain important.

05

Why some restarts are deliberately delayed

Trading safety takes priority over an immediate restart.

Risk Bot and emergency procedures may need to interact with the same protective orders. Watchdog therefore checks the emergency-operation state before allowing Risk Bot to restart. During a coordinated Take Profit / Stop Loss replacement, an ill-timed restart could interfere with that process.

Watchdog also respects a short scheduled Risk Bot recycling window near the U.S. market open rather than competing with the existing Windows Scheduled Task.

!

A running process is not protection certification. A Risk Bot restart does not, by itself, establish that every protective order is correctly in place at IBKR. Persistent uncertainty requires further checks through support.

06

Why Entry Bot needs additional safeguards

Prevent duplicate orders or accidental resumption of an intentionally stopped session.

Entry Bot can stop for different reasons: session end, an intentional stop, connectivity loss, or an unresolved order. Treating every stop as a crash to recover would be unsafe.

In the current source, Watchdog only considers Entry Bot recovery during a defined Intraday window. It requires trustworthy current-session runtime information, checks that no emergency blocks the action, verifies IBKR access and Risk Bot availability, and confirms that the current trading mode permits the monitoring function. Automatic recovery attempts are limited.

If an order’s confirmation is uncertain, a valid durable record is needed before a restart can be permitted. Without reliable evidence, recovery is denied rather than risking a duplicate order.

i

In NONE trading mode, new entries remain blocked. Process monitoring does not override the client’s selected trading mode.

07

Check Watchdog in Control Center

An accessible status view without having to work with Windows processes.

In Control Center, open Core Bots → Watchdog. The page provides available actions, access to the latest log, and a status summary for relevant services.

Watchdog page in the SB-ITM Control Center, showing monitoring status, Risk Bot, Trade Register and VPS health
Actual Control Center screenshot — Watchdog view. Statuses reflect the moment the screenshot was taken, not your VPS’s current condition.
01

Monitoring status

Confirm that monitoring is active before assuming operational supervision is running.

02

Component status

Review the available indicators for Risk Bot, Trade Register, and VPS health.

03

Latest log

Log messages help explain startup, recovery attempts, blocked restarts, and failures.

A Launch button does not mean you should click it whenever Control Center opens. Check the displayed status first; avoid unnecessary repeated startups.

08

Four practical situations

How to interpret a response without risky manual intervention.

A

IB Gateway becomes unavailable

Watchdog may detect the missing service and attempt to restart it. The client should then confirm through Control Center that broker access has actually returned.

B

Risk Bot stops running

Restart may be attempted when no emergency interlock prohibits it and the process is outside its scheduled recycling window.

C

Entry Bot exits during the session

Watchdog does not restart it by default. It evaluates recovery conditions; withholding a restart may be the safest response when an order is unresolved.

D

An emergency TP/SL operation is in progress

Some restart actions are deferred to avoid interfering with the operation. An uncertain condition still requires verification even if a process has restarted.

09

What should you do if something looks wrong?

Safe actions for Managed VPS users.

  1. Review the statuses. Note Watchdog, IBKR, and relevant bot information displayed in Control Center.
  2. Open the latest log. Record the message, date, and New York time if shown.
  3. Avoid repeated manual restarts. Do not try to restart Gateway, Entry, and Risk simultaneously; this can complicate investigation.
  4. Contact support when needed. Open a ticket under Web Portal → Support and describe the issue. If a Support ZIP is requested, generate it through Control Center; the support team can access the file on the VPS.
!

Managed VPS is delivered with its required components already installed and configured. Clients should not install or replace bot executables to resolve an interruption.

SB-ITM support

Report unusual behavior with a documented ticket through your client area.