Your backtest says +$154. The real queue says -$245.
DIY paper-trading loops fill every limit order the instant price touches your tick and cancel stale quotes in 0ms.
Live order books put 10,000+ shares ahead of you and sweep your resting quotes while your cancel is still in flight.
Fera Terra runs a native C++23 L3 FIFO matching engine on 127.0.0.1:8085 so you measure your real PnL before mainnet takes tuition.
py-clob-client & Hyperliquid SDKsDrag cancel latency. Watch your paper edge evaporate.
Every slider adjustment below executes the compiled C++23 arena-server matching engine on real order-book queues — not pre-canned static screenshots.
- Awaiting simulation telemetry...
Three microstructure traps no OHLCV or mid-price backtester models
Benign touches never reach the back of a 10,000-lot queue
When price ticks to your bid and bounces, naive paper scripts credit an instant maker fill. Fera Terra tracks exact monotonic sequence_num priority ahead of your quote — if only 200 shares print behind 9,000 resting contracts, you get zero fill.
Toxic sweeps clear 100% of your stale quotes before t + Δt_cancel
Over cloud REST or WebSocket, canceling a quote takes 60–220 ms. Fera Terra keeps canceled orders live inside the C++23 engine across your exact round-trip window and isolates every post-cancel pick-off in basis points.
Polymarket CTF splits & Hyperliquid ALO / cross-margin rules
Enforces Polymarket ERC-1155 /ctf/split share balances (no accidental naked binary shorts) and Hyperliquid Alo post-only cross rejections, funding ticks, and maintenance-margin liquidations.
Point your existing bot at 127.0.0.1:8085
Live market depth streams directly from the venue to your IP; order matching, queue aging, and fills run locally in C++23:
# Terminal 1: Mirror live Hyperliquid L2 + trades into local C++23 Shadow-CLOB pip install feraterra feraterra up --venue hyperliquid --symbols BTC-PERP,ETH-PERP --cancel-latency-ms 120 # Terminal 2: Unmodified hyperliquid-python-sdk pointed at localhost:8085 from hyperliquid.info import Info info = Info(base_url="http://127.0.0.1:8085", skip_ws=False) print(info.meta_and_asset_ctxs()[0]["universe"])
# Terminal 1: Boot Polymarket binary-outcome Shadow-CLOB (UI on :8090) pip install feraterra feraterra up --venue polymarket --auto-top-markets 2 --cancel-latency-ms 140 # Terminal 2: Unmodified py-clob-client pointed at localhost:8085 from py_clob_client.client import ClobClient client = ClobClient(host="http://127.0.0.1:8085", chain_id=137) print(client.get_markets())
# Import real Tardis CSV / Hyperliquid S3 L2 archives & replay in <1s feraterra import --input tardis_btc_book25.csv.gz --trades tardis_btc_trades.csv.gz --out btc.trace.jsonl feraterra replay --trace btc.trace.jsonl --bot-cmd "cargo run --release --bin mm_bot" --html-out report.html # Block PnL-regressing PRs in GitHub Actions (Pro / Team) feraterra ci-gate --pack flash_crash_5sigma --bot my_bot.py --min-fifo-pnl -100 --max-cancel-snipes 8
# Option A: Zero-install 1-click Remote Streamable HTTP MCP claude mcp add --transport http feraterra https://mcp.feraterra.app/mcp # Option B: Local stdio MCP over your own Python/Rust/Go bot files claude mcp add feraterra -- uvx --from git+https://github.com/FeraTerra/mcp-server-feraterra.git mcp-server-feraterra
| Execution Dimension | Mid-Price / Candle Backtest | Public Exchange Testnet | Fera Terra C++23 Shadow-CLOB |
|---|---|---|---|
| Resting Queue Priority | × Instant 100% fill on price touch | × Empty books / fake faucet fills | ✓ Exact L3 FIFO queue ahead of every quote |
| Cancel-Window Sniping | × 0ms instantaneous cancels | × Zero informed arbitrage flow | ✓ Configurable order/cancel lag + markout curves |
| Venue Wire Protocol | × Custom pandas / CSV loop rewrite | Frequent downtime & stale oracles | ✓ Drop-in :8085 Hyperliquid & Polymarket APIs |
| CI/CD Regression Gates | × Cannot test compiled Rust/Go binaries | × Non-reproducible live market state | ✓ Seeded 5-sigma crash packs & .trace.jsonl diffs |
Cheaper than a single toxic fill.
Getting sniped once on a stale 500-share Polymarket quote or 2 ETH perp order costs $150–$600 in milliseconds. Catching one bug pays for an entire year.
Run your first L3 FIFO benchmark and import historical Tardis/Hyperliquid tapes free.
- Free
polymarket_news_shockstarter pack feraterra import(Tardis & Hyperliquid S3)- Offline
.trace.jsonlL3 FIFO replay - 1 live shadow market (5-min session)
Full-day live shadow burn-in & chaos testing for solo bot builders.
- Up to 4 concurrent shadow markets
- 24-hour continuous live sessions
- All 4 synthetic 5-sigma crash packs
- HTTP 429 / 502 & jitter fault injection
- Unlimited live
.trace.jsonlrecording
Automated pull-request regression gates & multi-day burn-ins for serious quants.
- Up to 16 concurrent shadow markets
- 7-day continuous live burn-in sessions
- GitHub Actions / GitLab
ci-gateunlocked - External Rust / Go / TS
--bot-cmdrunner - Cloud permalink tearsheet archive (500)
High-concurrency multi-venue desks, prop pods, & research labs.
- Up to 64 concurrent shadow markets
- 30-day continuous soak sessions
- Unlimited parallel CI/CD runners
- Auto monthly CI lease refresh & team archive
ft_live_... Ed25519 token issued immediately after Stripe Checkout.
Zero Lock-In: One-click self-service cancellation anytime · 7-day technical defect refund guarantee.
Engineering Deep Dives
Polymarket Paper Trading & py-clob-client L3 Backtesting
Enforce ERC-1155 conditional token splits and measure $0.001-tick queue starvation on macro news shocks.
Hyperliquid Local Testnet & Perpetual Funding Simulator
Test ALO post-only maker bots against live mainnet depth, funding whipsaws, and cross-margin liquidations.
Why Touch = Fill Fails: L3 FIFO Queue Position & Markouts
How incremental L2-to-L3 sequence preservation and 1s/5s markout curves isolate adverse selection.
Zero-trust local execution.
Matching, proxy routing, and .trace.jsonl session tapes run strictly on 127.0.0.1.
For multi-seat pod licensing or billing assistance, reach engineering at chartnest.inc@proton.me.
How does Fera Terra reconstruct true FIFO queue priority from public L2 feeds?
When Fera Terra mirrors Hyperliquid or Polymarket L2 snapshots into the local C++23 arena-server, existing shadow liquidity retains its original earlier sequence_num ahead of newly placed bot orders, while level size increases append behind resting bot orders and size reductions cancel from the back of the queue first.
Does Fera Terra ever touch my exchange API keys, wallet private keys, or live capital?
Never. The matching engine and HTTP/WebSocket proxy run 100% locally on 127.0.0.1. Live market data is read directly from your own IP via public unauthenticated endpoints, and orders never leave your machine.
Does the CLI phone home on every simulation run?
No. Your FERATERRA_LICENSE_KEY (ft_live_...) is verified offline in microseconds via asymmetric Ed25519 (RFC 8032) so air-gapped research hosts and fast CI runners have zero network dependency. When FERATERRA_BILLING_URL is set in CI, active monthly subscriptions also renew expired leases automatically.
How do subscription upgrades, renewals, and cancellations work?
Subscriptions renew monthly via Stripe (Cards, Apple Pay, Google Pay, Link) and can be upgraded, downgraded, or canceled in one click with zero penalties using the subscriber bar directly below.