发现盈利策略¶
本指南向您展示如何为 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.
注意
任何回测都不能保证未来结果。 在投入真实资金之前,始终从模拟账户开始并密切监控表现。