Reference guide · Core Bots

Regime Bot: understanding market conditions

Before analyzing individual stocks, SB-ITM assesses broader market conditions. Learn how Regime Bot identifies BULL, RANGE or DEFENSIVE conditions, how that result is used, and what happens when a fresh assessment is unavailable.

Stage 2 of 9Market context assessmentNo trade orders
01

Why SB-ITM assesses market regimes

A broad market picture before looking at individual stocks.

A stock can have an attractive chart even while the overall market becomes unstable. Regime Bot places potential opportunities into context: is the market broadly supportive, moving sideways, or facing significant pressure?

This assessment is a shared stage of the Morning Decision Chain. It runs before market data preparation and the stock scanners. The bot queries Interactive Brokers, calculates several indicators and publishes the selected regime for other components that rely on it.

!

Key point: a regime is a classification of market conditions, not a reliable forecast, a buy signal or a trading decision. Regime Bot never submits orders to IBKR.

02

What the bot actually measures

Four benchmarks reveal different aspects of the US market.

The bot does not classify the market based on one stock. It uses several US market benchmarks, fetched as daily historical market data from IBKR.

01

SPY — Broad market trend

Tracks the S&P 500. Its position relative to a moving average and the size of recent price changes help assess trend and volatility.

02

QQQ — Large growth companies

Tracks the Nasdaq-100. It helps determine whether the trend is also supported by major technology and growth stocks.

03

VIX — Market uncertainty

Reflects expected S&P 500 volatility. Elevated readings may indicate market conditions that call for greater caution.

04

RSP — Broader participation

Represents the equal-weight S&P 500. It helps assess whether market strength is shared more widely rather than driven by a few mega-cap companies.

The bot also estimates recent SPY volatility with a measure called ATR and checks how far SPY is from its moving average. The reference periods and decision levels follow the ecosystem’s configured rules; clients are not expected to calculate or maintain them manually.

03

Understanding BULL, RANGE and DEFENSIVE

Three plain-language labels for different market environments.

B

BULL — A more supportive environment

Reference indices show a sufficiently constructive trend, with acceptable volatility and broader participation under the configured criteria. BULL does not mean every stock will rise.

R

RANGE — A less directional market

The market does not meet every BULL condition or displays an intermediate environment. Price moves can be uneven, and individual setups still need careful evaluation.

D

DEFENSIVE — More challenging conditions

High expected volatility or recent price variability may trigger a more cautious classification. This does not guarantee that prices will fall; it signals less comfortable conditions for taking risk.

The label describes the overall market context. Selecting a stock is a separate decision involving its own technical characteristics, engine rules and risk controls.

04

How the classification is chosen

A deterministic decision process, evaluated in a defined order.

  1. Check defensive conditions first. If one of the configured volatility thresholds is reached, the market can be classified as DEFENSIVE.
  2. Then evaluate the BULL case. All enabled conditions for trend, volatility and market participation must be satisfied.
  3. Check the RANGE band. If earlier conditions do not match, a specified volatility interval may lead to a RANGE classification.
  4. Use the configured fallback. When no explicit scenario matches, the bot uses the designated fallback regime rather than inventing a fourth category.
!

Why no numerical thresholds? Trigger levels are internal settings that may change. This guide describes the implemented logic without publishing figures unsupported by the supplied Regime Bot configuration.

05

Where it fits in the Morning Decision Chain

The second stage, shared by all trading modes.

After Historical Data Warm-Up checks access to IBKR historical data, Regime Bot performs its assessment. The next stage, Scan Data, prepares the data required by the stock scanners.

01

Historical Data Warm-Up

Checks whether a reference historical-data request receives a response from IBKR.

02

Regime Bot

Reviews benchmark indicators, classifies market conditions and makes the result available to downstream components.

03

Scan Data, followed by Scan A and Scan B

Prepare and evaluate stocks. Each scanner retains its own methodology.

This stage runs in SWING, INTRADAY and BOTH modes. The selected trading mode does not remove the shared morning market-context assessment.

For the complete nine-stage process and its two branches, read the Morning Decision Chain guide.

06

What the market regime actually affects

A shared result, with clear responsibilities for each component.

ComponentHow market context is usedImportant distinction
Scan AUses the active regime to select the appropriate scoring profile from its classic matrices.The regime does not replace technical assessment of individual stocks.
Scan BReceives market context for execution and reporting while applying its separate logic for qualifying and ranking setups.Its internal selection logic should not be assumed to match Scan A.
Risk BotCan select the configured trailing stop profile for the active market regime.The regime does not replace risk controls or initial TP/SL settings.
Intraday RegimeAlso uses the earlier market regime as one input to its dedicated pre-open assessment.Its FAVORABLE / NEUTRAL / UNFAVORABLE outcome is different.

Regime Bot does not place an order. Any opportunity still needs to pass the relevant analysis, entry preparation, execution checks and risk controls.

07

Morning regime is not the Intraday regime

Different assessments, time horizons and classifications.

The morning Regime Bot publishes BULL, RANGE or DEFENSIVE based on historical daily market indicators. Its purpose is to define broader market context ahead of scanning.

A separate component, Intraday Regime Bot, assesses conditions around the US pre-market session. It considers, among other inputs, pre-market SPY and QQQ price movements and the existing market context, then assigns FAVORABLE, NEUTRAL or UNFAVORABLE.

An example

The broader market can remain in a BULL trend while pre-market conditions are unsettled or unfavorable. These results can both be valid: they describe different time horizons and serve different functions.

The Intraday assessment follows its own risk settings. Do not automatically translate BULL into FAVORABLE, or DEFENSIVE into UNFAVORABLE.

08

What if the regime assessment fails?

The previous value is retained: useful resilience with an important caveat.

If market data is unavailable or the calculation encounters an error, Regime Bot’s code preserves the last recorded regime. It does not manufacture a new classification from missing data.

However, the process completing is not necessarily the same as a fresh regime being calculated. Certain errors are written to the dedicated log while the process exits normally. A completed Morning Decision Chain stage therefore does not, by itself, prove the regime was updated for that session.

!

Check the timestamp: when the assessment fails, the displayed value may belong to an earlier run. Support should review the dated log before treating it as an updated reading. Separate pre-run failures, such as an invalid license, can prevent the bot from starting.

09

Reviewing the result in Control Center

Check the stage first; confirm the session date if needed.

Control Center provides access to the Morning Decision Chain stages and their execution statuses. Regime Bot output and logs are also available for diagnosis within the managed environment.

SB-ITM Control Center screenshot showing the Morning Decision Chain
Actual Control Center capture: the market-preparation stages are separate from trade execution.
  1. Find the Regime stage. Confirm it appears in the morning sequence and review its status.
  2. Check which session is being shown. A retained result is not proof that the assessment completed successfully today.
  3. Use the history or ask support if needed. The log can reveal missing data, failed indicator calculations or a previous regime being retained.
10

Practical interpretation examples

Illustrative cases, not trading advice.

A

Indices trend higher while volatility stays contained

If all configured BULL checks pass, the bot may select BULL. Stock scanners still evaluate each instrument independently; there is no automatic buy signal.

B

A sharp volatility increase occurs

A defensive trigger can classify the market as DEFENSIVE even while some prices remain in an uptrend. That is why defensive conditions are checked first.

C

Market indicators disagree

The result may be RANGE or the configured fallback. The bot does not force BULL classification based on one favorable indicator alone.

D

IBKR data is temporarily unavailable

The previous regime may remain in place. Checking the execution log is more reliable than assuming the displayed context was reconfirmed this morning.

11

Good practices and getting support

Technical operation is part of the Managed VPS service.

Regime Bot is automated. Under the Managed VPS service, the client does not need to edit technical files, modify market thresholds or change programs to run the daily market assessment.

  1. Understand the reading before drawing conclusions. A cautious regime is not a system failure, and BULL is not a promise of opportunities.
  2. Do not force a regime manually. An isolated intervention could create inconsistent interpretations between scanning and risk management.
  3. Report repeated problems. If the result looks outdated or the stage shows an error, open a Support ticket in the Web Portal.
  4. Provide helpful context. Include the date, Regime Bot stage and observed status. If requested, generate the Support ZIP in Control Center; support can access it without you manually attaching it to the ticket.

SB-ITM Support

Use Web Portal → Support for technical checks or guided assistance.

12

Frequently asked questions

Common distinctions that prevent mistaken assumptions.

?

Does BULL mean I should buy stocks?

No. BULL describes market context, not an individual stock’s quality or eligibility for a trade.

?

Does DEFENSIVE prohibit every new entry?

Not by definition. Decisions depend on SB-ITM selection rules, the active trading mode, configuration and execution controls.

?

Can the regime change between sessions?

Yes, when data and configured conditions change. A regime is not a permanent label for the market.

?

Why might BULL and FAVORABLE disagree?

BULL belongs to the broader morning assessment; FAVORABLE belongs to the dedicated Intraday pre-open assessment.

?

Does COMPLETED guarantee an updated calculation?

No. Some errors retain the prior regime. The dated execution log is needed to verify freshness.