awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
nkaz001 avatar

nkaz001/hftbacktest

0
View on GitHub↗
4,200 stars·813 forks·Rust·MIT·13 views

Hftbacktest

hftbacktest is a high-frequency trading backtesting framework and level 3 market data engine. It serves as a simulation environment for cryptocurrency trading bots and market-making strategies, utilizing a limit order book simulator to model precise market microstructures and liquidity.

The system differentiates itself through high-fidelity simulation components, including queue-position modeling to predict fill times and latency-aware execution to simulate network and exchange processing delays. It reconstructs order book states from level 2 and level 3 data and uses raw exchange trade and quote streams rather than aggregated candles.

The framework covers a broad range of capabilities including tick-based event simulation, limit order lifecycle management, and the analysis of market microstructure. It also includes tools for portfolio statistics tracking to calculate strategy metrics based on position states and pricing.

Features

  • HFT Backtesters - Offers a high-fidelity simulation environment for testing high-frequency trading strategies using full tick-level data.
  • Market Making Simulations - Provides a specialized environment for developing and validating automated liquidity provision strategies for cryptocurrency exchanges.
  • Crypto Trading Bots - Functions as a specialized framework for cryptocurrency market making and arbitrage bots.
  • Limit Order Lifecycle Managers - Handles the full lifecycle of buy and sell limit orders, including the enforcement of post-only restrictions.
  • Limit Order Books - Implements a limit order book simulator that models the matching and queuing of buy and sell requests.
  • Order Book Simulators - Models order queue positions and execution latencies to realistically simulate limit order fills.
  • Queue Position Modeling - Tracks the relative position of limit orders within the order book to determine the exact moment of execution.
  • Trading Simulations - Provides a controlled simulation environment for testing and executing high-frequency financial strategies.
  • Tick Data Retrieval - Implements a system driven by the retrieval and processing of high-frequency, trade-by-trade tick data.
  • Market Microstructure Analysis - Processes full order book snapshots and individual trade ticks to perform deep market microstructure analysis.
  • Local Order Book Caches - Maintains a local representation of order book states by synchronizing Level-2 and Level-3 market data.
  • L3 Market Data Engines - Analyzes individual order messages to simulate precise market microstructures and liquidity at the L3 level.
  • Tick-Based Event Simulators - Processes market data and order book updates as a discrete sequence of events to simulate real-time trading.
  • Backtesting Simulations - Uses an event-driven architecture to simulate high-frequency trading environments and validate strategies.
  • Execution Latency Simulators - Provides high-fidelity simulation of network and exchange processing delays to accurately model execution latency.
  • Portfolio Performance Trackers - Calculates performance metrics and strategy statistics by tracking current position states and mid-prices.
  • Latency Impact Analysis - Evaluates the impact of network and processing delays on the overall profitability and execution of trading bots.
  • Synchronization State Tracking - Implements state tracking to ensure strategy execution is synchronized with order confirmations for consistent portfolio states.
  • Synchronous Order Executions - Implements synchronous order execution logic to ensure a strategy only proceeds after receiving an order confirmation.
  • Trading and Backtesting - High-frequency trading backtester accounting for latency.
  • Trading Frameworks - High-precision backtesting for HFT data using Numba.

Star history

Star history chart for nkaz001/hftbacktestStar history chart for nkaz001/hftbacktest

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Hftbacktest

Similar open-source projects, ranked by how many features they share with Hftbacktest.
  • drakkar-software/octobotDrakkar-Software avatar

    Drakkar-Software/OctoBot

    6,079View on GitHub↗

    OctoBot is an open-source automated trading platform that connects to over 15 cryptocurrency exchanges, enabling users to deploy grid, dollar-cost averaging, market-making, and AI-driven trading strategies. It functions as a unified multi-exchange trading platform, a TradingView alert executor, and a crypto trading bot, all within a single system. The platform is built on an event-driven trading loop with a plugin-based strategy engine, an exchange-agnostic connector layer, and a cloud-synced profile store for multi-device consistency. What distinguishes OctoBot is its integration of large la

    Python
    View on GitHub↗6,079
  • fasiondog/hikyuufasiondog avatar

    fasiondog/hikyuu

    2,999View on GitHub↗

    Hikyuu is a quantitative trading framework designed for developing, backtesting, and executing systematic trading strategies. It functions as a high-speed system that combines a financial time-series library, a multi-factor analysis tool, and a quantitative backtesting engine to support comprehensive trading research. The framework is distinguished by its high-speed computing core, which utilizes multi-threaded execution to process large volumes of market data for technical indicator generation. It supports a modular strategy composition model where signal, risk, and fund management component

    C++algorithms-tradingbacktestingcpp
    View on GitHub↗2,999
  • ricequant/rqalpharicequant avatar

    ricequant/rqalpha

    6,166View on GitHub↗

    RQAlpha is a Python-native quantitative trading backtesting framework and live trading execution system. It provides an event-driven engine for simulating trading strategies against historical market data, with realistic transaction costs, slippage models, and corporate action handling. The platform supports multi-asset class trading including stocks, futures, options, and REITs, with separate sub-accounts for different asset types and configurable margin requirements. The framework distinguishes itself through a plugin-based extensible architecture that allows users to swap out core componen

    Pythonbacktestfinancefutures
    View on GitHub↗6,166
  • edtechre/pybrokeredtechre avatar

    edtechre/pybroker

    3,191View on GitHub↗

    pybroker is a Python algorithmic trading framework and quantitative technical analysis library designed for developing, testing, and optimizing trading strategies using historical market data. It functions as a trading strategy backtester and a financial performance evaluator, providing a structured environment to simulate trading rules and analyze their statistical reliability. The framework distinguishes itself through a market data integration layer that handles the fetching and caching of historical price data from external providers. It incorporates an event-driven backtesting engine and

    Pythonaialgorithmic-tradingalgotrading
    View on GitHub↗3,191
See all 30 alternatives to Hftbacktest→

Frequently asked questions

What does nkaz001/hftbacktest do?

hftbacktest is a high-frequency trading backtesting framework and level 3 market data engine. It serves as a simulation environment for cryptocurrency trading bots and market-making strategies, utilizing a limit order book simulator to model precise market microstructures and liquidity.

What are the main features of nkaz001/hftbacktest?

The main features of nkaz001/hftbacktest are: HFT Backtesters, Market Making Simulations, Crypto Trading Bots, Limit Order Lifecycle Managers, Limit Order Books, Order Book Simulators, Queue Position Modeling, Trading Simulations.

What are some open-source alternatives to nkaz001/hftbacktest?

Open-source alternatives to nkaz001/hftbacktest include: drakkar-software/octobot — OctoBot is an open-source automated trading platform that connects to over 15 cryptocurrency exchanges, enabling users… fasiondog/hikyuu — Hikyuu is a quantitative trading framework designed for developing, backtesting, and executing systematic trading… ricequant/rqalpha — RQAlpha is a Python-native quantitative trading backtesting framework and live trading execution system. It provides… edtechre/pybroker — pybroker is a Python algorithmic trading framework and quantitative technical analysis library designed for… shinnytech/tqsdk-python — tqsdk-python is a quantitative trading SDK and framework designed for developing automated strategies for futures,… yutiansut/quantaxis — Quantaxis is a quantitative trading framework designed for building, backtesting, and executing automated strategies…