Documentation
Applications
Last updated on 21. 11. 2026 by clonex / Ivan Hudec
Builder, retests and optimization from the chat
Contenu des pages
Q runs the Builder for you from the chat. It shows your Builder setup, changes it, adds Monte Carlo testing, starts and stops a build, and, when a build finds nothing, names the rejection reasons and what to check.
Q also retests your strategies on other markets and runs a Walk-Forward Matrix on a strategy you select. For these, Q sets up a custom project and runs it. You find the result in Projets sur mesure like any project you made by hand.
Q asks before it changes the Builder and before it starts a build. Read its question before you answer yes. It doesn’t ask before a retest or a Walk-Forward Matrix.
Step 1: See your Builder setup
Start a new chat and pick Build & Automate Workflows. Clicking one of the tile’s examples sends it at once:
Show me my current Builder setup
1 step in 8 seconds. Q listed the market and test period, the acceptance criteria, the risk and trading settings, and that all cross checks were off.
Nothing opened in StrategyQuant; the answer is in the chat.
Step 2: Change the Builder
A build can remove strategies from Constructeur > Résultats. Copy the strategies you want to keep to another databank before you change and run the Builder.
The examples show only in an empty chat. In the same chat, we typed the next one:
Set Builder to GBPUSD H1, 2018–2023, with 25% OOS and stop after finding 50 strategies
5 steps in 14 seconds. Q didn’t change anything yet. It listed the changes and asked “Apply these changes?”
Q’s list: GBPUSD H1 bars from January 2018 to December 2023, 25% out of sample from July 2022, a stop after 50 strategies and a spread of 0.6. After our “Yes, apply them.” Q applied the changes in 1 step and 7 seconds.
Our sentence didn’t name the spread. Q took 0.6, the GBPUSD default, and put it in the list. Q kept the other settings, made for the previous market. Ours were the long-only direction, the 08:30–14:30 trading window, at most 2 trades a day and the exits at the end of the day and on Friday.
Step 3: Add Monte Carlo testing
Add Monte Carlo testing to my build
1 step in 11 seconds. Q asked “Apply the change?” and said the other cross checks stay as they are. The yes took 1 step in 6 seconds.
Q switched Monte Carlo retesting on after our “Yes, apply it.” It also said that the build was not started.
Neither change starts the Builder. You start it in the next step.
Step 4: Start and stop a build
Run my Builder
Q asked first: “Ready to run your Builder on GBPUSD H1, using 2018–2023 data with 25% OOS. It will stop after 50 strategies pass. Start it?” The question names the market, period, out-of-sample share and stop from Step 2.
We answered “Yes, start it.” 4 steps in 11 seconds. Q started the build and passed on a warning from the Builder’s log: the TradeStation engine expects bars stamped at their end, and the GBPUSD data is stamped at the start of each bar.
Q didn’t wait in the chat for the build to finish. Watch it in Constructeur > Progrès.
Constructeur > Progrès after 16 minutes: 154,212 strategies generated, 0 accepted. The log shows why each one was dismissed: no trades, or an in-sample profit factor below 1.3.
To stop the build, ask in the same chat:
Stop the build.
1 step in 9 seconds. Q: “The Builder has been stopped.”
Ours had run about 20 minutes: 188,552 strategies generated, 0 accepted.
Step 5: Ask why a build found nothing
Ask in the same chat. We typed:
The build ended with 0 accepted strategies. Why did nothing pass, and what should I change?
4 steps in 4 seconds. Q named the two main rejection reasons and listed what to check, in order. It ended with “No settings have been changed.”
The two reasons: many strategies failed the in-sample profit factor of 1.3, and others made no trades. Q said it had read only the recent part of the log, so it couldn’t give the breakdown for the whole run. You find it in Constructeur > Progrès: click Detailed next to Rejected. Ours also listed strategies with fewer than 300 in-sample trades.
Q’s order: first the data timing from the warning in Step 4. Then the settings kept from the old setup: long only, the trading window, the daily exit and two trades a day. Then the slippage and commission. Last, relax the in-sample filters one at a time to see which one blocks, and keep the out-of-sample and Monte Carlo checks for the final evaluation.
We asked Q to make its first two changes. Q asked how to fix the timing: supply end-stamped GBPUSD data, or switch to a platform that uses start-of-bar data, such as MetaTrader. We chose MetaTrader. Q switched the Builder to MetaTrader 4, removed the trading window and the daily and Friday exits, and kept two trades a day.
The second build accepted 0 too. We stopped it after 16 minutes with “Stop the build and tell me what came out.”, and Q reported how many strategies were generated and accepted. We didn’t try the costs or looser in-sample filters.
Step 6: Retest your strategies on other markets
Retest my strategies on EURUSD and GBPUSD and remove weak results
25 steps in 1 minute 26 seconds. Q didn’t ask this time. It said at the start what it would do: retest copies of the 50 older strategies in Constructeur > Résultats (our two builds added none) on EURUSD and GBPUSD H1 from 2018 to 2023. Our sentence didn’t say what weak means, so Q set it: a profit factor at or below 1.2, or fewer than 100 trades.
1 of the 50 passed on EURUSD: Strategy 0.2227 with a profit factor of 1.22. None passed on GBPUSD; the EURUSD survivor had a profit factor of 0.77 there.
Q worked on copies, so “remove weak results” removed only the copies that failed. The 50 originals stayed in Constructeur > Résultats, and Q said so. It also said these were full-period retests, not an independent out-of-sample test.
Q didn’t use the Retester. It set up two custom projects, FX Two Market Retest et GBP Independent Retest, copied the 50 strategies into each and ran them. Both show in Projets sur mesure.
FX Two Market Retest: a EURUSD retest, then a GBPUSD retest of the strategies that passed. The log shows Strategy 0.2227 deleted on GBPUSD at a profit factor of 0.77; the EUR Pass databank keeps it.
The first task retests into the databank EUR Pass. The second retests those strategies on GBPUSD into Both Pass. GBP Independent Retest retests its own copies on GBPUSD, not only the ones that passed on EURUSD. The Settings summary shows what Q chose for the retests: the MetaTrader4 engine and a fixed size of 0.1 lots.
In our run these databanks were not saved to disk. Save or copy the strategies you want to keep.
Step 7: Run a Walk-Forward Matrix on one strategy
Select the strategy first: click its row once in the databank. We clicked Strategy 0.2227 in FX Two Market Retest > Résultats, databank EUR Pass. Then, in the Q panel docked beside the databank:
Optimize this strategy using Walk-Forward Matrix
15 steps in 51 seconds. Q used the selected strategy and named it in its answer. It didn’t ask before it set up and ran the test.
Q didn’t use the Optimiseur either. It set up a third custom project, EURUSD Walk Forward Matrix 2227, with one Walk-Forward Matrix task on EURUSD H1 from 2018 to 2023, and ran it.
16 combinations: 5 to 20 runs and 10% to 40% out of sample. Q said it couldn’t see the matrix’s verdict, so it couldn’t judge robustness yet, and that the matrix reused the period the strategy had been screened on.
Open the result in Projets sur mesure to see the matrix: EURUSD Walk Forward Matrix 2227 > Résultats, databank Matrix Results. Double-click WF Matrix – Strategy 0.2227 and open the Walk-Forward Results tabulation.
The matrix of 16 combinations, 5 to 20 runs by 10% to 40% out of sample. Below it, the out-of-sample periods of one combination, 5 runs at 10%.
The verdict on this tab depends on the pass conditions of the task. See Troubleshooting before you rely on it.
Dépannage
The examples are gone. They show only in an empty chat. Click + in the Q panel’s header and pick Build & Automate Workflows again, or type the sentence in the chat you are in.
You want to check a change Q made. Read Q’s answer after your yes. Ours named the market, period, out-of-sample share, stop and spread. When the build starts, the Builder’s log names the data it loads; ours said “Loading backtest data for Main test – GBPUSD_M1_dukas / M60”. Before our build, Q’s “Start it?” question named the market, period, out-of-sample share and stop.
You can’t find the retest or Walk-Forward results. In our run Q put them in custom projects, not in the Retester or the Optimizer. Open Projets sur mesure: ours were FX Two Market Retest, GBP Independent Retest et EURUSD Walk Forward Matrix 2227.
The Walk-Forward Results tab says PASSED. The verdict depends on the pass conditions of the Walk-Forward task. Q’s task had none: the tab showed “No conditions defined”. Below the run on this tab are the conditions table and the link Set recommended WF conditions. Changes there recompute the result on this screen, not in the databank.
Where to go from here
- Projets sur mesure: workflows that build, retest and filter strategies in one run
- Databank research: ask Q about the strategies in a databank
- Analyze a strategy: what a strategy in your databank actually does
- Q Introduction: what Q is and how a request is answered
What it costs. With GPT-6.1 Terra showing the Builder setup took 18 credits. The GBPUSD change took 10 with our yes, Monte Carlo 11 with our yes, starting the build 5 with our yes and stopping it 2. The retest on two markets took 62 and the Walk-Forward Matrix 24. Our question why nothing passed and the second build took 30 more: 162 credits together. The builds, the retests and the matrix run on your computer; the credits pay for Q’s answers. Sonnet 5 and Opus 5.5 cost several times as much.
Cet article a-t-il été utile ? L'article était utile L'article n'était pas utile








