収益性の高い戦略の発見¶
このガイドでは、AIエージェントに利益目標を与え、目標を達成する設定が見つかるまでcBotのパラメータを調整し続けさせる方法を説明します。 どの値を試すべきか推測する代わりに、AIが前回のテストから学んだことに基づいて各テストを設計します。
1. 明確な目標の設定 ¶
エージェントに探しているものを正確に伝えます。 指標、目標、および制約について具体的に説明します。
Run backtests of C:\test\trend-follower.algo on EURUSD H1, account
1234567 over the last 6 months. Keep adjusting the parameters until
you find a combination that delivers at least 30% profit with a
maximum drawdown under 15%. Show me what you tried along the way.
エージェントはcBotのデフォルトパラメータから始め、結果を確認してから、次の実行のために値をインテリジェントに調整します。 このサイクル(テスト、分析、調整)を、目標に到達するか、妥当な組み合わせを使い果たすまで繰り返します。
2. AIに推論を説明させる ¶
エージェントが機能する設定を見つけた後(または目標が達成不可能であると結論付けた後)、プロセスを説明するよう依頼します。
Summarise every backtest you ran, what you changed between each
one, and why. Present the results in a table.
これにより、AIがどのようにソリューションに絞り込んだか、または目標に到達できなかった理由を示す明確な監査証跡が得られます。
3. 結果への挑戦 ¶
ある銘柄や期間で機能する設定が、別の銘柄や期間では機能しない可能性があります。 AIに推奨事項のストレステストを実施するよう促します。
Now test that same configuration on GBPUSD and USDJPY over the
last 6 months. Does it still hit the 30% profit target?
Extend the backtest to the last 2 years. Does the strategy hold up
over a longer period or does the performance degrade?
結果が破綻した場合は、エージェントにより広範なデータセットで再度反復するよう依頼します。
The performance dropped over 2 years. Try to find a configuration
that delivers at least 20% profit over a 2-year window on EURUSD
with drawdown under 20%.
4. トレードオフの探求 ¶
エージェントに、このcBotのリスクとリターンの関係を理解する手助けを依頼します。
Show me how profit and drawdown change as I increase StopLoss from
20 to 80 in steps of 10. Present the results as a table.
What is the minimum drawdown I can achieve while still being
profitable? What parameters produce that result?
5. 成功した設定の保存 ¶
信頼できる設定が見つかったら、エージェントに保存するよう依頼します。
Save those parameters to C:\test\optimised-settings.cbotset so I
can reuse them.
6. 自信を持ってデプロイ ¶
発見した戦略でcBotを開始します。
Run C:\test\trend-follower.algo on account 1234567, EURUSD H1
using the parameter file C:\test\optimised-settings.cbotset.
注意
バックテストは将来の結果を保証するものではありません。 実際の資金を投入する前に、必ずデモ口座で開始し、パフォーマンスを注意深く監視してください。