BeginnerTrack 01Lesson 14 min read

Your first strategy

You don't write code. You describe the rules, and TextToQuant compiles your sentence into an exact, deterministic strategy and runs it on real history. Let's build the simplest possible one.

You describe, the engine compiles

Type what you want in plain English. The engine turns it into a precise set of rules: an entry, an exit, a market, a timeframe, with no hidden decisions. Before it runs, it shows you the parsed rules. Read them, because that is exactly what's being tested.

The hello world of trend following

A moving average crossover is the classic starting point. When a faster average crosses above a slower one, recent prices have pulled ahead of older ones, which is a simple, mechanical definition of 'an uptrend started'. Run it and watch where it enters and exits on the chart.

Every strategy needs a window

Notice the sentence ends with a timeframe and a window: daily bars, the last 3 years. The engine will not run without a window, because a backtest is always a claim about one specific stretch of history. Leave it out and the terminal stops and asks for one. Say it up front and you also make the result honest: three years of daily bars is what this number is about, nothing more.

Run it live

The strategy for this lesson, in plain English:

“Buy BTC when the 50 day moving average crosses above the 200 day, sell when it crosses back below, on 1D, last 3 years.”

It opens already parsed, so you can read the rules before you spend a run.

Ask the Copilot. On Pro and above, the Copilot is docked in the terminal once it's running. Ask it anything about this result.

Key takeaway

Read the parsed rules it shows you before running. That is the exact strategy being tested, with no hidden AI decisions.

Terms in this lesson

Check yourself

When you run a sentence, what exactly gets tested?

© 2026 Text To Quant by Spekule. Not financial advice.