ติดตามและปรับแต่ง cBot จริง¶
คู่มือนี้แสดงวิธีการเริ่มต้น cBot ติดตามประสิทธิภาพแบบเรียลไทม์โดยการอ่านบันทึกและผลการเทรด จากนั้นหยุด ทำการปรับเปลี่ยน และเริ่มใหม่ — ทั้งหมดผ่านการสนทนากับเอเจนต์ AI
1. เริ่มต้น cBot ¶
เปิดใช้งาน cBot ในบัญชีของคุณ
Run C:\test\scalper.algo on account 1234567, EURUSD M15 with
Quantity set to 0.1 and MaxSpread set to 2.
เอเจนต์เริ่มต้น cBot ตอนนี้มันรันอย่างอิสระและเริ่มสร้างบันทึกและกิจกรรมการเทรด
2. ตรวจสอบบันทึก ¶
หลังจากปล่อยให้ cBot รันไประยะหนึ่ง ขอให้เอเจนต์ดูว่ามันทำงานอย่างไร
Show me the logs for the running scalper cBot. What trades has it
made so far?
เอเจนต์อ่านไฟล์บันทึกและให้สรุปการเข้าเทรด การออกจากเทรด และข้อผิดพลาดหรือคำเตือนใดๆ ที่ cBot สร้างขึ้น
How many trades has it executed? How many were winners and how
many were losers?
3. ประเมินประสิทธิภาพ ¶
ขอให้เอเจนต์เจาะลึกลงไปในผลลัพธ์
Based on the logs so far, what is the cBot's win rate, average
profit per winning trade, average loss per losing trade, and
total P&L?
Are there any patterns? Is it losing more during specific times
or market conditions?
เอเจนต์วิเคราะห์ข้อมูลบันทึกและเน้นแนวโน้มหรือปัญหา ตัวอย่างเช่น อาจสังเกตเห็นว่า cBot สูญเสียอย่างสม่ำเสมอในช่วงที่มีความผันผวนต่ำ หรือ Stop Loss ถูกกระทบบ่อยเกินไป
4. ตัดสินใจปรับเปลี่ยน ¶
จากสิ่งที่คุณเรียนรู้ ตัดสินใจว่า cBot ต้องการการปรับแต่งหรือไม่
The stop loss is getting hit too often. Stop the cBot.
เอเจนต์หยุดอินสแตนซ์ที่กำลังรัน ไม่มีการเทรดเพิ่มเติมถูกดำเนินการ
5. ตรวจสอบและวางแผนการเปลี่ยนแปลง ¶
ก่อนเริ่มใหม่ ปรึกษาการปรับเปลี่ยนกับเอเจนต์
The cBot had a 40% win rate with an average loss that was twice
the average win. What parameter changes would you suggest to
improve this? The available parameters are StopLoss, TakeProfit,
Quantity and MaxSpread.
เอเจนต์แนะนำการเปลี่ยนแปลงเฉพาะเจาะจงตามข้อมูล ตัวอย่างเช่น อาจแนะนำให้ขยาย Stop Loss และกระชับ Take Profit หรือลดขนาดโพสิชัน
6. ตรวจสอบด้วย backtest อย่างรวดเร็ว ¶
ก่อนที่จะใช้งานจริงอีกครั้ง ยืนยันว่าพารามิเตอร์ใหม่สมเหตุสมผลในอดีต
Backtest the scalper cBot on EURUSD M15 over the last 3 months
with StopLoss set to 25 and TakeProfit set to 15. Compare the
results to the default parameters.
หาก backtest แสดงการปรับปรุง ให้ดำเนินการต่อ หากไม่ ให้ทำซ้ำเพิ่มเติม
7. เริ่มใหม่ด้วยพารามิเตอร์ใหม่ ¶
Run C:\test\scalper.algo on account 1234567, EURUSD M15 with
Quantity 0.1, MaxSpread 2, StopLoss 25 and TakeProfit 15.
8. ติดตามต่อไป ¶
ทำซ้ำวงจร ตรวจสอบเป็นระยะและปรับแต่งต่อไป
The cBot has been running for 3 hours now. Check the logs again
and compare performance to the previous run. Is the new
configuration doing better?
Give me a side-by-side comparison of the old run and the new run:
number of trades, win rate, average P&L per trade and total profit.
เคล็ดลับ
วงจรติดตาม-ปรับ-เริ่มใหม่นี้มีประสิทธิภาพเป็นพิเศษกับเอเจนต์ AI เพราะคุณไม่ต้องอ่านไฟล์บันทึกดิบด้วยตัวเอง เอเจนต์ตีความข้อมูล ระบุปัญหา และแนะนำการแก้ไข — คุณเพียงแค่ตัดสินใจว่าจะนำไปใช้หรือไม่