NautilusTrader vs. Fera Terra C++23 Shadow-CLOB for Polymarket & Hyperliquid
NautilusTrader is a powerhouse open-source Rust/Cython event-driven trading platform designed for teams writing strategies directly against its internal Strategy actor API, message bus, and cataloged Parquet data pipelines. Fera Terra solves a different, complementary problem: testing already-written standalone Polymarket (py-clob-client), Hyperliquid (hyperliquid-python-sdk), Rust, Go, or TypeScript bots over real wire protocols on 127.0.0.1:8085 with zero code rewrite — and quantifying the exact dollar Backtest Illusion Gap between naive paper fills and C++23 Price-Time FIFO queue priority.
| Engineering Dimension | NautilusTrader Actor Framework | Fera Terra C++23 Shadow-CLOB |
|---|---|---|
| Integration Model | Rewrite strategy into Strategy subclass & venue adapters |
✓ Keep your existing Python, Rust, Go, or TS bot; point URL at :8085 |
| Live Mainnet Shadowing | Requires adapter wiring & credentials setup per venue | ✓ 1 command (feraterra up) mirrors live public L2 + prints with zero keys |
| Naive vs. FIFO Illusion Audit | Single fill model per run; no parallel Naive delta | ✓ Runs C++23 L3 FIFO + Naive Paper Tracker in lockstep on every tick |
| Polymarket CTF Split / Merge | Manual binary token inventory configuration | ✓ Built-in $0.001 tick grid + ERC-1155 /ctf/split & /ctf/merge |
| Historical Tardis / S3 Replay | Custom Parquet ParquetDataCatalog ETL scripts |
✓ Zero-dependency feraterra import CLI for Tardis CSV & Hyperliquid S3 |
When to Choose Each Tool
Choose NautilusTrader if you want an all-in-one multi-venue execution framework to author new strategies inside its Python/Rust actor lifecycle. Choose Fera Terra when you already have a standalone Polymarket or Hyperliquid bot (or compiled Rust/Go binary) and want a 10-second localhost exchange twin, instant Tardis/S3 .trace.jsonl replay, and a single-command GitHub Actions PR gate (feraterra ci-gate):
pip install feraterra feraterra benchmark --pack polymarket_news_shock --bot my_clob_bot.py --cancel-latency-ms 140 --html-out tearsheet.html