Backtest: Set The Test Context Before Rules
A practical Backtest lesson for setting the test ticket first: instrument, enabled market lane, sample window, and capital assumption before any strategy logic is allowed to matter.
Educational only
The examples teach workflow and risk framing. They do not provide trade recommendations, personalized advice, leverage guidance, or guaranteed outcomes.
Chapter 01
Build the context ticket first
Trader question
Which market, venue, candle, date window, and capital assumption am I testing?
The test context decides what the result can mean. Before the Strategy Builder opens, the learner should be able to name the metal, active venue, candle set, sample range, and capital frame.
Desk checklist
- Choose the instrument intentionally.
- Confirm the enabled venue and candle lane.
- Write down the date window and capital assumption.
Interactive proof
Backtest header controls
Use the Test Context Console to change metal, range, and capital before any rules are written.
The context ticket is the first risk control. If market, candle, date range, or capital changes, the backtest is a different case.
Interactive desk lab
Backtest Test Context Console
A practical Backtest setup console for selecting metal, venue, candle, date window, and capital before building strategy rules.
A practical Backtest setup console for selecting metal, venue, candle, date window, and capital before building strategy rules.
The context ticket locks first
Metal, venue, candle, range, and capital stamp onto a ticket before the Strategy Builder opens.
A blank Backtest screen appears.
Metal, venue, candle, range, and capital stamp in order.
Disabled local market and weekly/monthly lanes dim out.
The strategy rule area unlocks only after the ticket is visible.
Remotion code
ContextTicketVideo
The snippet is stored with the lesson so a future Remotion project can render the chapter video.
Show component snippet
import {AbsoluteFill, Sequence} from "remotion";
const fields = ["Metal", "Venue", "Candle", "Range", "Capital"];
export const ContextTicketVideo = () => (
<AbsoluteFill style={{background: "#fff8e8", color: "#071126", padding: 72}}>
<h1>Context first. Rules second.</h1>
{fields.map((field, index) => (
<Sequence key={field} from={index * 16}>
<div style={{marginTop: 22, border: "1px solid #b69a5b", padding: 16}}>
{field} locked
</div>
</Sequence>
))}
</AbsoluteFill>
);Sources used for this tutorial
Next step
Open the tool with the checklist beside you.
Move from the lesson into the matching Bullion Brains tool, keep the checklist visible, and treat the output as evidence until the caveats are clear.