AI & algos · Explained

Black box AI trading, in plain English.

“Black box” is everywhere in trading talk: SEBI now sorts retail algos into white box and black box, US traders follow black-box alert platforms, and social media is full of “secret AI” bots. Here is what the term means, how these systems work, what the rules say, and how to stay safe.

Black box: prices, volume and news go into a box with a question mark and BUY comes out. White box: the rules IF, AND, THEN, EXIT, RISK and TEST are visible.
How it works

Five stages inside every trading system

Black box or white box, the pipeline is the same. What makes it a black box is that the middle three stages are hidden from you.

  1. 1DataPrices, volume, order flow, news, sometimes social posts.
  2. 2FeaturesTurned into numbers: returns, distance from averages, volatility, sentiment.
  3. 3ModelRules, statistics or machine learning score those numbers.
  4. 4SignalBuy, sell or wait, with a size and often a confidence.
  5. 5ExecutionOrders go out; results feed the next version of the model.
Side by side

White box vs black box

White boxBlack box
LogicWritten down and visibleHidden from the user
Can you rebuild it?Yes, from its rulesNo
When it losesYou can see which rule failedYou cannot tell a bad patch from a broken model
What it teachesCause and effect on every tradeVery little
India (SEBI)Execution / white-box algo, through your brokerProvider must be a SEBI-registered Research Analyst
Typical examplesEMA crossover with RSI filter, VWAP executionFund models, AI scores, most retail signal bots
India · SEBI

The white box / black box rule

SEBI's circular of 4 February 2025 on retail algo trading defines white-box (execution) algos as those whose logic is disclosed and replicable, and black-box algos as those whose logic is not known to the user and not replicable.

  • Black-box providers must register as a SEBI Research Analyst and keep a research report for each algo.
  • Every algo order carries an exchange-issued identifier; exchanges can halt an algo ID with a kill switch.
  • No open APIs: a vendor API key, a static IP whitelisted by the broker, and two-factor authentication.
  • Mandatory for all brokers from 1 April 2026, after a glide path from October 2025.

Read the full SEBI explainer →

US · Alert platforms

Options flow, dark pools and AI scores

In the US, “black box” is tied to real-time alert platforms that scan every stock and option for unusual activity.

  • Unusual volume: far more shares traded than normal.
  • Options flow: large or odd options orders. Many are hedges or spreads, not bets.
  • Dark pool prints: big blocks traded off-exchange, often routine.
  • AI scores: a model's ranking. The why is hidden: that is the black box.

How to read these alerts →

Stay safe

Red flags of a fake “AI bot”

Most AI-bot scams need no AI at all, only a convincing screen. Walk away if you see any of these.

  • Guaranteed or fixed returns ("2% a day")
  • A secret AI you cannot see, test or audit
  • Profits shown only as screenshots
  • Payments to crypto wallets or personal accounts
  • A fee to withdraw your own money
  • Pressure: limited slots, countdowns, "today only"
  • No registration you can check with SEBI, SEC/FINRA or SEBON
  • Bonuses for bringing in friends

All 10 red flags, and what to do if you have paid →

Go deeper: algo trading · high-frequency trading · quant trading · trading automation · learn algo trading free

Learn with a white box first.

StockYatra's Pro Chart shows every rule and every signal, and backtests them honestly, losing trades included. Free, on virtual coins, for NEPSE, NSE and US stocks.

  • 41 strategies with their rules in plain words
  • Build your own rules without code, or write Pine Script
  • Lumi AI explains charts; it does not give tips
Questions

Black box AI FAQ

What is black box AI in trading?

A trading system whose decision logic is hidden. Data goes in and buy or sell signals come out, but the user cannot see or replicate the rules in between.

What is the difference between a white box and a black box algo?

A white box algo discloses its logic and can be replicated. A black box algo does not. SEBI's retail algo framework in India uses exactly this split.

What does SEBI require for black box algos?

Under SEBI's circular of 4 February 2025, a provider of black-box algos to retail investors must register as a Research Analyst and maintain a detailed research report for each algo. All algo orders carry an exchange-issued identifier. The framework became mandatory for all brokers from 1 April 2026.

Is using a black box AI trading tool safe?

Some are legitimate, many sold online are not. Check who is regulated for it, ask for verified long-term results including drawdowns and fees, and avoid anything promising guaranteed returns or charging a fee to withdraw.

Can AI predict the stock market?

Not reliably. AI helps with speed, scale and spotting unusual activity, but short-term prices are mostly noise and react to news that does not exist yet.

How can I practise without a black box?

In the StockYatra app, Pro Chart has 41 strategies whose rules are all visible, a no-code builder and a Pine Script editor. Every signal is drawn on the chart and backtested, on virtual coins.

StockYatra is an education app, not a broker, adviser or research analyst. This page summarises rules for learning; check SEBI's and your broker's current notices before acting. Nothing here is a recommendation to buy or sell any security or to use any trading product.