๐Ÿš€ Multi-Exchange ยท C++23 ยท Ultra-Low Latency

Professional Algorithmic Trading
Framework

Build, test, and deploy sophisticated trading strategies across 10+ crypto exchanges. Live trading, high-fidelity simulation, and tick-level playback โ€” all in one unified C++ framework.

10+
Supported Exchanges
Lock-Free
Event Pipeline
C++23
Modern Language Standard
โˆž
Algo Extensibility

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.

๐Ÿ“Š

Complete Market Data

Real-time trades, best bid/offer, and full order book depth (up to 20 levels) from every connected exchange. 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. Internal latencies measured in nanoseconds.

๐Ÿงฉ

Plugin Architecture

Trading algorithms compile as independent DLL plugins. 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. A built-in simulation engine fills orders against recorded BBO for realistic backtesting.

๐Ÿ›ก๏ธ

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 across all major cryptocurrency exchanges from a single unified interface.

Binance Bybit OKX Bitfinex Poloniex Kraken Bitstamp Bitget Hyperliquid Paradex Aster Lighter Phemex

More exchanges can be added on demand. All instruments, trades, BBO, and order book data.

Built for Professionals

Whether you're an independent quant, a prop trading firm, or a fund โ€” ttTrader adapts to your workflow.

๐Ÿ”ฌ

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, 12+ built-in technical indicators, and open-ended extensibility.

๐Ÿฆ

Prop Trading & Market Making

Deploy latency-sensitive strategies on collocated servers. The lock-free architecture and custom memory allocators ensure predictable, nanosecond-level performance. 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? Integration with your existing infrastructure? We offer consulting and custom development services built on top of the ttTrader framework.

Technical Highlights

A framework engineered for performance and correctness from day one.

Custom Decimal Type

Financial calculations demand exactness. ttTrader uses a proprietary decimal_t type that eliminates floating-point rounding errors. All prices, sizes, and fee calculations are deterministic โ€” critical for PnL accuracy and regulatory compliance.

// Exact financial math โ€” no float rounding decimal_t price = "42765.50"_dec; decimal_t size = "0.123"_dec; decimal_t value = price * size; // = 5260.15650 โ€” deterministic, bits-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 your strategy callbacks without a single mutex in the hot path. Every microsecond counts โ€” and we save them all.

Exchange WS โ†’ [lock-free ring buffer] โ†’ Normalizer โ†’ [circular buffer] โ†’ onMarketdataTick()
Exchange WS โ†’ [lock-free ring buffer] โ†’ Normalizer โ†’ [circular buffer] โ†’ onMarketdataBbo()
Exchange WS โ†’ [lock-free ring buffer] โ†’ Normalizer โ†’ [circular buffer] โ†’ 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

Get in Touch

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

๐Ÿ“ง

Email

droste@TradeProject.de

๐Ÿ“ž

Phone

+49 1522 3848 517

๐Ÿข

Company

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