Skip to content
Automation

How the day-type router decides which bot may trade

Each morning the router reads the regime, names the day, and lets at most one bot per book enter, or none at all.

By Greeks Vault · · 6 min read

Cover image for: How the day-type router decides which bot may trade
In this article
  1. The five day types in plain words
  2. What the router actually looks at
  3. Why only one bot per book
  4. Reading a no-trade decision

Before any bot at Greeks Vault is allowed near an order ticket, a separate piece of logic has already decided what kind of day it is. We call it the day-type router. It looks at the morning, assigns one of five labels, and then permits at most one bot per book to enter that day. Often it permits none. Subscribers see the decision on the dashboard as a single line with a reason, and the most common question we get is how to read it. This post explains the five day types, what the router looks at, why only one bot may trade, and what a no-trade decision is actually telling you.

The five day types in plain words

The router does not try to predict where SPX will close. It tries to describe the character of the morning, because different spread structures suit different characters. There are five labels.

  • Trend up: the open is drifting higher with expansion behind it. A put credit spread below the market has room; a symmetric condor does not.
  • Trend down: the mirror. Call credit spreads above the market are the natural structure, and condors get run over on the lower wing.
  • Quiet: a narrow overnight range, contracting ATR, no drive at the open. This is condor weather, and the take-profit tends to arrive early.
  • Stall-range: the market has moved and then stopped, often after a morning push. A condor placed around the new range works, but the credit target is stricter because one side has already shown it can move.
  • Defensive: expansion is high or rising, the open is disorderly, or something in the data does not look right. No bot enters.

The labels are coarse on purpose. A router with fifteen day types would be fitting noise. Five is enough to change which structure goes on, and that is all it needs to do.

What the router actually looks at

The conditioning axis is ATR and expansion. Everything else is secondary. A morning where the recent true range is contracting is treated very differently from one where it is opening up, even if the price levels look identical, because premium-selling structures live or die on whether the range holds.

On top of that the router reads a short list of concrete inputs. The overnight range relative to recent days. The size and direction of the opening drive in the first part of the session. Whether the market has retraced that drive or extended it. And the calendar: a scheduled print such as CPI, NFP or FOMC forces the defensive label for the affected book before any of the market inputs are consulted, because we never sell premium into a print.

There is also a health check that is easy to overlook. If the data feed is stale, the broker session is not confirmed, or the previous day's positions are not reconciled, the router returns defensive with a reason that says so. Some of our most useful no-trade days were not about the market at all. They were the router noticing that it could not see properly.

The decision is logged with each input's value and the label it produced, so it can be reconstructed later without trusting anyone's memory.

Why only one bot per book

It would be easy to let every bot that thinks conditions are acceptable enter at once. We do not, and the reason is sizing.

Each book has a daily bucket, which is a maximum loss, and a daily loss breaker set from it. If three bots each put on a spread, the book's true exposure is three maximum losses, and the breaker, which counts realized loss, cannot fire until the first one is closed. The bucket has been silently tripled.

One bot per book keeps the arithmetic honest. The router picks the structure that best fits the day type, that bot gets the bucket, and everything else stays flat. If the day type is quiet, the condor bot trades. If it is trend up, the put-spread bot trades. If it is defensive, nobody does.

A router that permits two bots has not made a decision; it has deferred it to whichever bot fills first.

This also makes the logs readable. On any given day there is exactly one entry decision per book to review, with one reason attached. When we retired the narrow-wing high-frequency variants, it was this one-decision-per-day structure that made the comparison clean: every variant had been given its own fair days, and every one of them lost.

Reading a no-trade decision

New subscribers tend to read a no-trade day as the system failing to work. It is the opposite. A no-trade decision is the router working exactly as designed, and the reason line tells you which kind of no-trade it was.

There are three kinds. A calendar no-trade means a print is scheduled; nothing about the market was consulted and nothing should be read into it. A regime no-trade means the router looked at the morning and labeled it defensive: expansion was too high, or the open was disorderly. That is information about the day, and it is worth glancing at what the market did afterwards to build a feel for what defensive looks like. A health no-trade means the router could not see properly: feed, session or reconciliation. That is information about our plumbing, and it is the one that gets investigated the same day.

A useful habit is to read the reason line before the label. The label tells you what happened; the reason tells you why, and why is what you can learn from.

Over a year the router says no more often than a discretionary trader would expect. The unused bucket on those days does not roll forward. That is the trade we have made: fewer days, cleaner days, and a record we can read.

The router is the least visible part of the system and the one that shapes the record most. It does not predict, it describes, and then it lets one structure or none go to work. Learn to read its reason line and the rest of the day makes sense.

See the tools behind the ideas

Try Greeks Vault free and practice on a paper account first. Or read today's free SPX levels.

Start your free trial

Keep reading

Education only, not advice. Greeks Vault is software, not a broker-dealer or investment adviser. Options involve risk and can lose money. Models and estimates can be wrong.