เปรียบเทียบข้อมูลจากหลายแหล่ง¶
คู่มือนี้แสดงวิธีการ backtest cBot เดียวกันโดยใช้ข้อมูลจากแหล่งต่างๆ ช่วงเวลาต่างๆ หรือสภาวะตลาดต่างๆ จากนั้นขอให้เอเจนต์ AI วิเคราะห์ว่ากลยุทธ์ทำงานได้ดีที่สุดที่ไหนและล้มเหลวที่ไหน
1. Backtest ด้วยข้อมูลเซิร์ฟเวอร์ ¶
เริ่มต้นด้วยข้อมูลมาตรฐานที่จัดหาโดยเซิร์ฟเวอร์ของโบรกเกอร์ของคุณ
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. Backtest ด้วยข้อมูลของคุณเอง ¶
ตอนนี้รัน backtest เดียวกันโดยใช้ไฟล์ 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 เดียวกัน พารามิเตอร์เดียวกัน ช่วงเวลาเดียวกัน สิ่งนี้แยกผลกระทบของข้อมูลเองและป้องกันข้อสรุปที่ทำให้เข้าใจผิด