Skip to content

Tool · Futures and commodities

Build a scheduled trading bot that proves its stop really fires.

Super Algo Kit treats a scheduled trading bot as a tool: it enters and exits at clock times you set, with no signal. What it offers is discipline and convenience; it claims no edge. The key lesson comes from a real build, where a stop field was saved but nothing acted on it. The kit tests every field, restarts and daylight-saving changes on paper first.

strategy facts

Scheduled entries and exits at fixed times

Family
Tool, generalised and anonymised from a real build (owner lesson)
Markets
Futures and commodities; first built for commodity futures
Timeframes
Any; entries and exits happen at set clock times
Evidence grade
N: a tool with no return claim; it needs correctness tests more than edge tests
Status
Untested: the real build recorded no test and no validated edge
Schedule record
Instrument, side, lots, entry and exit times in UTC, a stop, an optional target, and paper or live mode
Data needed
Instrument master, session and holiday calendar with time zones, broker order status, and costs including rolls

From the kit's own card. Not investment advice.

Paper first

Test it before you trade it.

Super Algo Kit runs inside the coding agent you already use. It interviews you, writes the spec with pass marks set first, then builds, backtests and paper-tests. Real money starts only when you type the authorize command.

Type this in your coding agent
Build me a scheduler for a commodity futures contract on Zerodha Kite that enters at 10:00 and exits at 14:30, with a venue-held stop. Paper only.

The plan, step by step

Tick them off as you go.

How does a scheduled trading bot work?

There is no market idea and no indicator here. You say what to trade and when, and a scheduler places the entry and the exit at those times.

Once the entry fill is confirmed, the stop and any target go to the venue as real orders. At the exit time it cancels them and closes the position, and the job counts as done only once the venue reports no open position.

Scheduled entry and exit rules in plain words

This is a summary of the card's tool sketch. You declare its limits in your risk limits before any test.

  • Keep every time in UTC, with the venue's time zone named.
  • Skip a missed entry unless the record allows a stated delay.
  • Run each schedule once per session date, with that guard kept across restarts.
  • Explain every skipped trade on screen, whether the cause is a holiday, a closed session, a halt, an expired contract or a risk block.

What went wrong in a real scheduled trading build

This card comes from a real build, generalised and anonymised. Its market risks are the kit's judgement, not measured in that build, but the three failures below were seen in it.

  • The stop and target were saved, yet nothing acted on them.
  • A live exit was only marked pending, never confirmed by the venue.
  • The backtester ignored stops hit inside a candle.

How Super Algo Kit tests a scheduler before any money

Correctness comes first. Each schedule must fire exactly once per session at the correct UTC moment, even after a restart or a clock change for daylight saving. In paper, you push price through the stop and watch the position close.

A position counts as closed only when the venue confirms it, and an exit left pending too long raises an alert and stops new entries. If you think a particular schedule has an edge, that is a separate hypothesis with its own strategy card and full test. The paper run must also live through a holiday, an early close, and a restart while a position is open.

Before you rely on it

Where it fails.

  • A fixed clock time ignores thin liquidity, data releases, price limits and halts.
  • A schedule kept in local time moves by an hour when daylight saving starts or ends.
  • A fixed exit can land in a session break or after an early close.
  • Front-month rolls and notice dates on physically settled contracts must come before the exit.
  • A stop field that exists but is never enforced.
  • An exit marked pending but never confirmed by the venue.

FAQ

Scheduled entries: questions.

Is a time-based trading bot a strategy?

Not by itself. Super Algo Kit treats a scheduler as a tool with no market idea and no return claim. If you think a specific schedule has an edge, the kit writes a separate strategy card and runs the full backtest and paper gates.

Why must a scheduled bot store times in UTC?

A schedule saved in local time jumps by an hour when the clocks change for daylight saving. Super Algo Kit stores schedule times in UTC and names the venue's time zone. Tests cover a daylight-saving change and a restart.

What happens if my bot is offline at the entry time?

It does not enter late unless the schedule allows a stated delay. Each schedule runs once per session date, and that guard survives restarts. Every refusal, such as a holiday or a halt, shows a visible reason.

How do I know the stop in my scheduled bot works?

Test it. In the real build behind this card, the stop was saved but nothing enforced it. Super Algo Kit requires a paper test that moves price through the stop and confirms the close.

Can Super Algo Kit build a scheduled trading bot?

Super Algo Kit helps your own AI coding agent build it as real code in your project. It specifies each field with a test, runs correctness tests, then a paper run that includes a holiday, an early close and a restart. Live starts only when you type the authorize command.

Keep reading

More guides.

Sources the kit's card cites

  • Super Algo Kit pattern card: scheduled-time-entries (owner lesson, generalised and anonymised from a real build)
  • Super Algo Kit hard rules: paper minimum (H3), independent risk gate (H4), market hazards (H14), venue truth (INV-5), duplicate protection (INV-6)

Build it with Super Algo Kit.

15 specialist roles and 35 skills inside your coding agent. Paper first, live only when you say.

Super Algo Kit is development software. It is not investment advice, a signal service or a promise of performance. Trading involves substantial risk, including the loss of all capital you trade with.