ドキュメント

Last updated on 21. 11. 2026 by clonex / Ivan Hudec

Builder, retests and optimization from the chat

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 カスタムプロジェクト 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

Q's answer in the chat: market, test period, strategies, fitness, stop condition, acceptance criteria, risk and trading settings, and the cross checks

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 ビルダー > 結果. 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 of the changes and its question, our yes, and Q's confirmation that the changes were applied

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's question before switching on Monte Carlo retesting, our yes, and its confirmation

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 ビルダー > Pro草.

Builder > Progress during our build: the log with dismissed strategies, 154,212 strategies generated and 0 accepted

ビルダー > Pro草 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?

Q's answer about the empty build: the rejection reasons from the log and four things to check, in order

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 ビルダー > Pro草: 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 ビルダー > 結果 (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.

Q's retest report: 1 strategy passed on EURUSD, none on GBPUSD and none on both

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 ビルダー > 結果, and Q said so. It also said these were full-period retests, not an independent out-of-sample test.

Q didn’t use the 再テスト者. It set up two custom projects, FX Two Market Retest そして GBP Independent Retest, copied the 50 strategies into each and ran them. Both show in カスタムプロジェクト.

FX Two Market Retest in Custom projects: two retest tasks, the log, the settings summary and the EUR Pass databank with Strategy 0.2227

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 > 結果, 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 オプティマイザー 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.

Q's answer: the matrix computed 16 combinations, where the result is, and that the period is not an independent holdout

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 カスタムプロジェクト to see the matrix: EURUSD Walk Forward Matrix 2227 > 結果, databank Matrix Results. Double-click WF Matrix – Strategy 0.2227 and open the Walk-Forward Results tab.

The Walk-Forward Results tab: the matrix of runs by out-of-sample share, the matrix filter, and the periods of one combination

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.

トラブルシューティング

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 カスタムプロジェクト: ours were FX Two Market Retest, GBP Independent Retest そして 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

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.

この記事は参考になりましたか? この記事は役に立った この記事は役に立たなかった

0 コメント
最古の
最新 最も投票された