콘텐츠로 이동

데이터 출처 간 비교

이 가이드는 서로 다른 출처, 기간 또는 시장 조건의 데이터를 사용하여 동일한 cBot을 백테스트한 다음, AI 에이전트에게 전략이 가장 잘 작동하는 곳과 실패하는 곳을 분석하도록 요청하는 방법을 보여줍니다.

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, 동일한 매개변수, 동일한 기간. 이렇게 하면 데이터 자체의 효과를 분리하고 잘못된 결론을 방지할 수 있습니다.