hftbacktest
github.com · Open source · Maintained
Open-source backtester for high-frequency and market-making strategies
- Developer tools
- Open source
- Rust
- Day-7 check
- Day-30 check
- Stars
- 5.2k
- Forks
- 982
- Open issues
- 9
- Last commit
- Releases
- 41
- Found
- 2 years ago
GitHub figures as of . They are context, not a ranking.
hftbacktest is a free, open-source backtesting and trading framework for high-frequency and market-making strategies, written in Rust. It models limit orders, queue position and latency, and uses full tick data with Level-2 and Level-3 order books; the project includes examples for crypto trading on Binance and Bybit.
Repository description on GitHub: “Free, open source, a high frequency trading and market making backtesting and trading bot, which accounts for limit orders, queue positions, and latencies, utilizing full tick data for trades and order books(Level-2 and Level-3), with real-world crypto trading examples for Binance and Bybit”
What it does
- Models limit orders, queue position and feed and order latency for fill simulation
- Full order book reconstruction from Level-2 and Level-3 feeds
- Tick-by-tick backtesting of multi-asset, multi-exchange models
Good for
- Backtest a market-making strategy on full tick data
- Prototype a live trading bot for Binance Futures or Bybit
Suits: Quant developers building high-frequency and market-making strategies.
Worth knowing: Live bot deployment is Rust-only and currently covers Binance Futures and Bybit
What you can try
Read the README on GitHub and run the included examples from source.
Install
cargo add hftbacktestpip install hftbacktestConfirmed against the package registry. Read the project’s own instructions before running anything.
Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.
Found vs. released
Kip first saw hftbacktest on , when nkaz001 posted it to Show HN. The oldest published release on GitHub is v1.2.1, dated . hftbacktest had been shipping tagged releases for 484 days before it was found. 41 releases have been published in total; the latest is rust-v0.9.4 ().
Day-7 and day-30 updates
Day 7 no new release
- No tagged release was published in the first 7 days after it was found (GitHub release dates).
- Show HN discussion at check time: 148 points, 73 comments. API record
Checked , later than day 7 because tracking began after.
Day 30 no new release
- No tagged release was published in the first 30 days after it was found (GitHub release dates).
- Show HN discussion at check time: 148 points, 73 comments. API record
Checked , later than day 30 because tracking began after.
Release timeline every entry links to its source
- Repository created on GitHub: nkaz001/hftbacktest
- Release v1.2.1
- Found: nkaz001 posted it to Show HN. Show HN
- Release rust-v0.8.1
- Release rust-v0.9.0
- Release rust-v0.9.1
- Release rust-v0.9.2
- Release rust-v0.9.3
- Release rust-v0.9.4
- Day-7 check recorded by Kip (details)
- Day-30 check recorded by Kip (details)
Showing the first and the 6 latest of 41 releases. All releases on GitHub
Quick answers
- When was hftbacktest released?
- Its first tagged release on GitHub is dated 23 Feb 2023. Kip found it on Show HN on 21 Jun 2024.
- Is hftbacktest open source?
- Its source is public on GitHub at nkaz001/hftbacktest under the MIT licence.
- What does hftbacktest run on?
- Library.
- Is hftbacktest free?
- It is open source, so the code is free to read and run; check the licence for terms.
- Is hftbacktest still maintained?
- It had a commit or release in the last year, though not in the last 90 days, as of the latest check.
Provenance
| Source | Record | Last checked |
|---|---|---|
| Show HN | listing official API record | |
| GitHub repository | nkaz001/hftbacktest REST API record | |
| GitHub Releases | release list REST API record |
Stable ID hn-40751178. Summary written by KipFound’s editor.
Share
Similar tools
- Day Trader SkillActive
Eleven Claude skills for day trading: chart scans, news alerts and replay tests
Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.