Gekko-BacktestTool
Batch backtest, import and strategy params optimalization for Gekko Trading Bot. With one command you will run any number of backtests.
시스템 구조
저장소별 전략/실행 조건 확인 필요
거래소 API 기반 자동 주문 실행
에디터 요약저장소 설명과 공개 메타데이터 기준으로 암호화폐 거래 봇, 거래소 API/프레임워크, 백테스트, 기술적 분석 성격의 프로젝트로 파악했습니다. 확인 근거는 README, 저장소 토픽, 저장소 설명, GitHub 지표, 파이프라인 필드이며, 주요 데이터는 Bitfinex, OHLCV/호가/체결 데이터입니다. 전략/실행 조건은 저장소별 문서와 코드 확인이 필요하며, 실행 방식은 "거래소 API 기반 자동 주문 실행"라고 보수적으로 기록했습니다. GitHub 지표는 별 230개, 포크 81개입니다.
| 저장소 | xFFFFF/Gekko-BacktestTool |
|---|---|
| 제작자 | xFFFFF |
| 스타 / 포크 | ★ 230 / 81 |
| 라이선스 | MIT |
| 최근 업데이트 | 2020-03-14 |
| 스냅샷 시점 | 2026-07-08 (아래 README는 이 시점의 사본입니다) |
아래는 제3자가 작성·공개한 오픈소스 코드입니다. QuantField는 해당 코드의 동작과 안전성을 보증하지 않으며, 설치·실행 전 코드를 직접 검토하시기 바랍니다.
README
Gekko BacktestTool

CLI tool that enhances the features of Gekko's Trading Bot. The tool performs a test with multiple pairs on a single run. Suppose you have a strategy that you want to test on more currency pairs. You enter all the pairs on which you want to test the strategy for the BacktestTool's configuration file. You start the application and everything happens automatically. You are just waiting for the results that appear on the screen. You will see how your strategy falls on other pairs, where it works the best, and where the worst. More detailed data is available in the .CSV file, which you can open in a spreadsheet or text editor.
You can do the same with many strategies and CandleSize values. You can test all your strategies on eg BTC-USD pair and compare results, which will allow you to choose the best strategy you will use in live trade.
DEMO
Backtest machine

Database file

Features
- Backtest for multiple strategies and pairs with one command
- Backtests results are exporting to CSV file (see sample)
- Analysis and comparing all strategy and pair results in variables such as: % of profitable backtests for strategy, % of results with profit above market, % of win trades, average P&L for trades and more!
- Import multiple datasets with one command
- Strategy config file - support both TOML and JSON files in CLI mode
- Strategy optimization - searching for optimal parameters (brute force method) for the strategy on many datasets
- Multithreading - in contrast to raw Gekko backtest this tool can uses 100% of your processor
- Extended statistics - 40 variables from single backtest result, such as: volume, price (min, max, avg, volality), percent of win trades, median P&L for trades, marketcap, CoinMarketCap Rank, etc.
Minimal requirements
- [Gekko Trading Bo