candlebench
Does a trading signal have a real edge? Tests 66 candlestick patterns, or any signal you write, against stop-matched random entries with quoted costs, clustered bootstrap and holdout validation. pip install candlebench
What XERJ indexed
Snapshot
The whole repository at commit 9ab349d348 (2026-10-17). master is 31 commits ahead.
Selected work

“run the trade walk in C++ when a compiler is available”. 7 files, 636 lines in candlebench, tests, the project root.
Licence
The repository
LICENSE file checked at the pinned commit; the author agreed to inclusion.
The XERJ corpus
The author agreed by email on 2026-10-17. Same terms as the repository. Answers name the repo, the commit and the file:line.
selected for the XERJ Corpus Hublicence clearedsuggested use: adapt with attribution
backtestingbootstrapcandlestick-patternscpppybind11pythonstatisticstrading
Example questions
- How does candlebench implement backtesting?
- Where does candlebench handle “run the trade walk in C++ when a compiler is available”?
- What does candlebench do in candlebench?
Inside the indexed corpus
- 125 files, 5.7 MB in total, about 46.3 KB per file.
- The selected commit changed 7 of those files (5.6%).
- Languages by size: Python 89.9%, JavaScript 6.5%, C++ 1.6%, CSS 1.1%, HTML 0.8%.
- On GitHub since 2026-10-01, last push 2026-10-26, 170 commits on master.
- The pin is 31 commits behind master; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported MIT for dpologdvinity/candlebench on 2026-10-31, and the LICENSE file at commit 9ab349d348 was reviewed as MIT. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Kaitlyn Bassford (@dpologdvinity) has 1 selected repository on the hub.
Using XERJ with candlebench
- Search an OpenAPI spec so an agent can find endpoints The hub files it under API design and specification.
- ripgrep vs a code index for coding agents: 30 tasks
- Best MCP servers for local code search in 2026, compared
- Best grep alternative for AI coding agents (2026)
The prompt
Paste it into your AI agent. It clones dpologdvinity/candlebench at the pinned commit and indexes it on your machine.
Search the GitHub repository dpologdvinity/candlebench with XERJ (https://hub.xerj.org/corpus/dpologdvinity--candlebench). Run these in a shell, in order, and check each result before the next: 1. xerj --help (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh 2. git clone https://github.com/dpologdvinity/candlebench candlebench && git -C candlebench checkout 9ab349d3483525c3d6e872e7869ab5411100e027 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./candlebench --url http://127.0.0.1:9200 --prefix candlebench --progress plain 5. xerj autoindex map --url http://127.0.0.1:9200 Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt Licence: MIT. Keep the copyright notice and credit the authors.
Related
Kaitlyn BassfordAPI design and specification corporachdbbebopmilvusdkruempe/lintelkapelner/EDIpineforge-4pass/pineforge-engine
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.