المقارنة عبر مصادر البيانات¶
يوضح لك هذا الدليل كيفية إجراء الاختبار العكسي لنفس cBot باستخدام بيانات من مصادر مختلفة، أو فترات زمنية، أو ظروف سوق مختلفة، ثم مطالبة وكيل الذكاء الاصطناعي بتحليل أين تعمل الإستراتيجية بشكل أفضل وأين تتعطل.
1. الاختبار العكسي باستخدام بيانات الخادم ¶
ابدأ بالبيانات القياسية التي يوفرها خادم الوسيط الخاص بك.
Backtest C:\test\crypto-bot.algo on BTCUSD H1, account 1234567 from 1 January 2024 to 31 December 2024 using M1 data mode. Save the results as JSON to C:\test\results-server.json.
2. الاختبار العكسي باستخدام بياناتك الخاصة ¶
الآن قم بتشغيل نفس الاختبار العكسي باستخدام ملف CSV قمت بتصديره من مصدر مختلف.
Backtest C:\test\crypto-bot.algo on BTCUSD H1, account 1234567 from 1 January 2024 to 31 December 2024 using M1-CSV data mode with the data file at C:\test\binance-btcusd-2024.csv. Save the results as JSON to C:\test\results-binance.json.
Backtest the same cBot again using the data file at C:\test\coinbase-btcusd-2024.csv. Save the results to C:\test\results-coinbase.json.
3. مقارنة النتائج ¶
اطلب من الوكيل وضع النتائج جنبًا إلى جنب.
Compare the backtest results from C:\test\results-server.json, C:\test\results-binance.json and C:\test\results-coinbase.json. Show net profit, total trades, win rate, profit factor and maximum drawdown for each. Highlight any significant differences.
يقرأ الوكيل التقارير الثلاثة جميعها ويقدم جدول مقارنة. ابحث عن التناقضات — إذا كان أداء cBot جيدًا على مصدر بيانات واحد ولكنه ضعيف على مصدر آخر، فقد تكون الإستراتيجية حساسة لجودة البيانات أو خصائص السبريد والتنفيذ المحددة لتلك المنصة.
4. تحليل الاختلافات ¶
اطلب من الوكيل التعمق في سبب اختلاف النتائج.
Why did the cBot perform better on Binance data than Coinbase data? Were there more trades, better fills, or different market conditions?
Were there specific months where one data source led to significantly different results? Show me a month-by-month breakdown.
5. الاختبار عبر فترات زمنية ¶
قارن كيف يتعامل cBot مع أنظمة السوق المختلفة.
Backtest C:\test\crypto-bot.algo on BTCUSD H1 for three separate periods: January to June 2023, July to December 2023, and January to June 2024. Compare the results and tell me whether the strategy has been improving, degrading, or staying consistent.
Which 6-month period produced the worst results and why? Was it a trending or ranging market?
6. الاختبار عبر الرموز ¶
Backtest C:\test\crypto-bot.algo on BTCUSD, ETHUSD and XRPUSD over the last 12 months using the same parameters. Which symbol does the strategy work best on?
7. استخلاص الاستنتاجات ¶
اطلب من الوكيل توصية نهائية.
Based on everything we have tested, summarise which data source, symbol and time period combination produces the most reliable results for this cBot. What should I use going forward?
نصيحة
عند مقارنة مصادر البيانات، حافظ على جميع المتغيرات الأخرى متطابقة — نفس cBot، ونفس المعاملات، ونفس الفترة الزمنية. يعزل هذا تأثير البيانات نفسها ويمنع الاستنتاجات المضللة.