Gekko-BacktestTool
Batch backtest, import and strategy params optimalization for Gekko Trading Bot. With one command you will run any number of backtests.
System Structure
저장소별 전략/실행 조건 확인 필요
거래소 API 기반 자동 주문 실행
Editor Summary저장소 설명과 공개 메타데이터 기준으로 암호화폐 거래 봇, 거래소 API/프레임워크, 백테스트, 기술적 분석 성격의 프로젝트로 파악했습니다. 확인 근거는 README, 저장소 토픽, 저장소 설명, GitHub 지표, 파이프라인 필드이며, 주요 데이터는 Bitfinex, OHLCV/호가/체결 데이터입니다. 전략/실행 조건은 저장소별 문서와 코드 확인이 필요하며, 실행 방식은 "거래소 API 기반 자동 주문 실행"라고 보수적으로 기록했습니다. GitHub 지표는 별 230개, 포크 81개입니다.
| Repository | xFFFFF/Gekko-BacktestTool |
|---|---|
| Creator | xFFFFF |
| Stars / Forks | ★ 230 / 81 |
| License | MIT |
| Last Updated | 2020-03-14 |
| Snapshot Date | 2026-07-08 (README below is a copy from this date) |
This is third-party open-source code. QuantField does not guarantee its behavior or safety. Review the code before installing or running it.
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