For HFT & MFT Teams · C++23 · Crypto + IBKR

Trading Infrastructure for Systematic Teams

License ttTrader to build, test, and run your own strategies across 15 crypto venues for spot and derivatives, plus stocks, options, forex, and futures through Interactive Brokers (subject to account permissions and data entitlements). We also provide custom engineering and integration services — not signals or managed trading.

Free, time-boxed evaluation of order-submit-to-acknowledgement latency. Test scope is agreed up front; production integration is quoted separately.

BTC-USD :: aggregated book — simulated feed —
16
Supported Exchanges / Brokers
20
Order Book Levels (Live)
Shared
Strategy & Event Path in Live and Replay
C++23
Modern Language Standard
ttTrader dashboard — market data, algorithm, portfolio, and execution views shown in simulation mode
ttTrader dashboard — production UI shown in Simulation mode; displayed figures are not a production latency benchmark. See all six pages.

What is ttTrader?

ttTrader is a high-performance, multi-exchange algorithmic trading framework built from the ground up in modern C++. It provides everything you need to research, develop, and deploy trading strategies — from tick-level market data to order execution, risk management, and comprehensive backtesting — across crypto venues and traditional brokers: crypto spot and derivatives alongside stocks, options, forex, and futures.

Complete Market Data

Real-time trades, best bid/offer, and full order book depth (up to 20 levels) from every connected exchange. OHLC candles are streamed natively from the venue — not locally reconstructed — and normalized into a unified data model.

High-Performance Core

Lock-free data structures, preallocated memory pools, and a custom decimal type for deterministic financial math. The architecture is designed to reduce hot-path overhead; measure end-to-end latency in your target deployment. Optional GPU acceleration via CUDA/OpenCL for compute-intensive strategies.

Plugin Architecture

Trading algorithms compile as independent shared-library plugins (.dll on Windows, .so on Linux). Override virtual callbacks for market data, orders, timers, and positions — your code stays clean and isolated.

Playback & Simulation

Record real market data to binary files, then replay it tick-by-tick through the same event pipeline. The built-in sim venue answers orders with per-exchange latency, depth-aware fills, and maker-tape execution — and learns from your live trading via measured latency profiles.

Risk & Money Management

Built-in risk calculator (BPS, fixed, percent, minimum size), stop-loss engine, position sizing, and pyramiding support. Every order is validated before it hits the exchange.

Deploy Anywhere

Runs on Windows and Linux. Deploy locally, on AWS, or collocated near exchange data centers. Multithreaded architecture uses every available core.

Supported Exchanges

Trade crypto on every major exchange — and stocks, options, forex, and futures on Interactive Brokers — from a single unified interface.

Binance Bybit OKX Bitfinex Poloniex Kraken Bitstamp Bitget Hyperliquid Paradex Aster Lighter Phemex Interactive Brokers dYdX Aevo

Crypto spot, perpetual, and dated futures on the crypto venues; stocks, options, futures, and forex through Interactive Brokers. More exchanges can be added on demand — all with trades, BBO, and order book data.

Built for Professionals

For HFT and MFT teams, prop firms, and institutional desks building and operating their own strategies.

Strategy Research

Rapidly prototype strategies in C++ with full access to tick-level data. The playback engine lets you iterate on years of historical data in minutes. Integrated OHLC bars, 47 built-in technical indicators, and open-ended extensibility.

Prop Trading & Market Making

Deploy latency-sensitive strategies on infrastructure you control. Lock-free data structures and custom memory allocators are designed to limit hot-path overhead; actual latency depends on hardware, network, venue, and deployment. Run multiple strategies across multiple exchanges simultaneously.

Portfolio Automation

Automate complex multi-leg, multi-exchange trading workflows. The position manager tracks every fill across every instrument. Risk limits are enforced globally. Pyramiding and scaled entry/exit patterns are first-class features.

Consulting & Custom Development

Need a custom exchange connector? A specialized order type? A second opinion on your algo? Or a complex GPU-accelerated algo running on CUDA/OpenCL? We offer consulting and custom development services built on top of the ttTrader framework — from strategy design to production deployment and ongoing support. Explore all offers →

Start with a Latency Evaluation

We offer a free, time-boxed evaluation of the path from your strategy's order submission to exchange acknowledgement. Scope is agreed up front and covers one venue and one test setup.

A test result, not a colocation claim
We are not currently exchange-colocated. End-to-end results from an agreed test setup reflect its network route and venue distance, and are not a colocation or HFT performance benchmark. The evaluation does not guarantee a target will be met. Production integration and implementation are separately scoped and quoted.

Framework License

Annual license for the full ttTrader framework: all exchange connectors, playback engine, dashboard, and plugin SDK. Includes updates and priority bugfixes.

Custom Algos & Venue Connectors

Custom trading algorithms implemented on request — describe your strategy and receive a quote. Need a venue that isn't supported yet? Commission a new exchange or broker connector with agreed scope, deliverables, and validation criteria. Development is quoted before work begins; production framework licensing and any ongoing maintenance are quoted separately. Request a connector quote →

Consulting & Operations

Algo development, algo analytics and review, connectors and integrations, training and onboarding — delivered directly by the ttTrader developer. See all services →

Technical Highlights

A framework engineered for performance and correctness from day one.

Shared Strategy & Event Path for Playback and Live
Record live market data to .ttpb binary files, then replay it through the same strategy and event pipeline used in live trading. The simulation venue approximates order execution; queue position, network conditions, and live fills can still differ.
Adaptive Learning — the platform learns from every trade, safely
Self-tuning entry gates, exit-shape learning, and counterfactual exit replay turn realized outcomes into tuned behaviour, while neural networks and online-learning controllers (Eigen, in-process) and a strictly causal regime model adapt to conditions — all shadow-first and promotion-gated, so nothing changes a live order until evidence says it may. No cloud dependency: your data never leaves your infrastructure. Optional GPU acceleration via CUDA/OpenCL for compute-heavy models. See how learning & feedback works →

Exact Money Math

Binary floating-point can't represent most decimal values exactly. The classic 0.1 + 0.2 ≠ 0.3 — on every machine, every language: 0.1 + 0.2 returns 0.30000000000000004 in double, and float is even worse.

In trading that tiny error compounds over millions of fills — drifting your P&L, mispricing fees, and failing bit-for-bit reproducibility audits. ttTrader uses a proprietary decimal_t type: fixed-point, base-10, deterministic to the last tick. The same computation gives the same answer, always, across runs and platforms.

// float — 32-bit, ~7 decimal digits
float  a = 0.1f, b = 0.2f, c = 0.3f;
(a + b) == c;  // false
a + b          → 0.30000001f // off

// double — 64-bit, ~15 digits, still wrong
double  x = 0.1, y = 0.2, z = 0.3;
(x + y) == z;  // false
x + y          → 0.30000000000000004 // off

// decimal_t — exact, deterministic
decimal_t p = 0.1_dec, q = 0.2_dec, r = 0.3_dec;
(p + q) == r;  // true
p + q          → 0.3 // exact

Lock-Free Event Pipeline

Market data flows through a lock-free circular buffer chain. Trades, BBO updates, and order book snapshots are dispatched to strategy callbacks without a mutex in the hot path. This reduces one source of synchronization overhead; measure end-to-end performance in your target venue and deployment.

Exchange WS → lock-free ring buffer → Normalizer → onMarketdataTick()
Exchange WS → lock-free ring buffer → Normalizer → onMarketdataBbo()
Exchange WS → lock-free ring buffer → Normalizer → onMarketdataBook()

Custom Pool Allocator — No System Calls in the Hot Path

A sharded, short-term memory pool avoids malloc/free entirely for allocations up to 32 KB. Four independent shards with thread-local affinity and lock-free round-robin selection eliminate contention. Free blocks are merged on release to prevent fragmentation; idle segments are reclaimed back to the OS under backpressure. Best-fit search with auto-tuning adapts to allocation patterns in real-time.

st_malloc(size)
├─ ≤ 32KB → Pool Allocator (256KB segments)
   ├─ 4 shards, thread-local
   ├─ Best-fit with auto-tuning
   └─ Free-list merging & segment reclaim
└─ > 32KB → lt_malloc (long-term)
st_free(ptr) → Pool or long-term, automatic

The platform is now learning

From every closed trade the system extracts evidence, tunes its own gates and exits, and measures before it serves — plus a shared base-class machinery with ML & NN components, a versioned protocol, and a self-describing build.

Adaptive learning & self-tuning
algoValueFeedback_c self-tunes entry gates, algoExitShape_c learns a bounded stop/hold pair, algoExitCounterfactual_c replays closed trades to find the exit that would have done best, and algoParticipationGate_c learns whether to stand down, reduce, or trade at all.
Safe by construction
Every learned layer is shadow-first and promotion-gated. One evidence gate (algoPromotionPolicy_c) decides PROMOTE / HOLD / DEMOTE over realized labels, a trusted-PnL boundary keeps a mis-scaled number from poisoning learning, and algoStageLadder_c gates learning cadence across an observe → probe → refine → serve stage ladder — its floor binds the transition out of the current stage, so observation gates on observed data rather than matured labels.

Shared Algo Library

Base-class machinery: position management, learning, risk kernels, HMM regime detection, bandits, and offline training ship in ttAlgoStatic. Every strategy inherits a safe, self-tuning core without copying it.

Causal Regime Model

A strictly causal feature vector and a shadow posterior gate that can only stand an algo down — never force a trade.

Offline Training

Deterministic time-series CV with Platt and Mondrian-conformal calibration, emitting byte-identical versioned weight bundles.

Trusted, Append-Only State

Per-contract, validate-then-commit persistence with contract fingerprints — a state file can never apply another contract's learning.

Under the Hood

What ttTrader runs on, and what it needs from your infrastructure.

Requirements

Windows 10/11 or Linux (GCC/Clang), C++23 toolchain (MSVC recommended on Windows). No GPU required — CUDA/OpenCL is optional for compute-heavy strategies. For competitive latency we recommend colocation near exchange matching engines; ttTrader runs unchanged on bare metal, VMs, and AWS.

Documentation & Protocol Reference
The complete ttTrader Manual is available as a PDF on the Downloads page — quick start, architecture, configuration, exchanges, algorithms, indicators, and operations. The full WebSocket control protocol is documented on the Protocol page — message schema, snapshot/incremental semantics, and integration examples. Extended API documentation and a walkthrough of the plugin SDK are available to partners on request.

Frequently Asked Questions

Answers to the questions we hear most from quants, prop firms, and development teams.

For Decision Makers

What is ttTrader?
ttTrader is a C++23 trading framework licensed to professional teams to run their own strategies. It supports crypto spot and derivatives across 15 crypto venues, plus stocks, options, forex, and futures through Interactive Brokers. Optional engineering services include custom development and integrations; ttTrader does not provide signals or managed trading.
Who is ttTrader designed for?
HFT and MFT teams, prop firms, quantitative developers, and institutional trading desks that build and operate their own strategies. Customers run ttTrader on their infrastructure; performance depends on venue, network, hardware, and configuration.
Is ttTrader sold as SaaS?
No. ttTrader is licensed per deployment and runs on your infrastructure — bare metal, VMs, AWS, or exchange colocation. Your keys, your data, your edge. We supply and support the execution layer.
Does ttTrader provide signals or managed trading?
No. ttTrader is licensed software for you to operate your own strategies and trading. We offer engineering services such as custom development, connectors, and integrations, but do not provide signals or manage trading accounts.
Can you implement a custom trading algorithm for us?
Yes. We can scope custom algorithm development as an engineering engagement, including implementation, playback testing against recorded data, and deployment support. You operate your own strategies; this is not a signals or managed-trading service.

Technical

Which exchanges does ttTrader support?
Binance, Bybit, OKX, Bitfinex, Poloniex, Kraken, Bitstamp, Bitget, Hyperliquid, Paradex, Aster, Lighter, Phemex, Interactive Brokers, dYdX, and Aevo. Additional exchange or broker connectors can be commissioned under a fixed-scope quote; production framework licensing and any ongoing maintenance are quoted separately.
How does playback backtesting work?
ttTrader records live market data (trades, BBO, order book) to binary .ttpb files, then replays it through the same strategy and event pipeline used in live trading. The simulation venue approximates order execution; queue position, network conditions, and live fills can still differ.
Can I write custom trading algorithms?
Yes. Trading algorithms compile as independent shared-library plugins (.dll on Windows, .so on Linux). Derive from the algo framework base class, override callbacks for market data, orders, timers, and positions. 47 built-in technical indicators and an ML integration path (Eigen, CUDA/OpenCL, local LLM) are included.
Does ttTrader support AI-based trading strategies?
Yes. Algos can embed neural networks and online-learning controllers (Eigen, in-process), adapt their parameters from live P&L feedback as market conditions change, use built-in regime detection, and optionally consult a local LLM (llama.cpp) for meta-level classification — no cloud dependency, your data never leaves your infrastructure. GPU acceleration via CUDA/OpenCL is available for compute-heavy models.

Get in Touch

Interested in the framework? Looking for a technology partner? Let's talk.

Phone

+49 1522 3848 517

Company

Droste TradeTec UG (haftungsbeschränkt) & Co. KG
Oskar-Knufinke-Weg 5
58456 Witten
Germany