Skip to main content

Fera Terra

Queue-Accurate C++23 Shadow-CLOB & Chaos Execution Simulator for Polymarket, Hyperliquid, and Crypto Trading Bots.

Website & Live Browser Sandbox: https://feraterra.app | Open-Source Benchmarks: github.com/FeraTerra/feraterra-benchmarks


Why Fera Terra?

Naive backtesters and paper-trading shims assume 0 ms cancellation latency and 100% immediate fills the instant price touches a resting limit order. On real CLOB venues, resting orders wait behind live queue volume (queue_ahead_lots) and in-flight cancels suffer toxic adverse-selection pick-offs during news shocks and liquidations.

Fera Terra ships a zero-dependency C++23 Price-Time FIFO L3 matching engine (arena-server) directly inside prebuilt wheels for Linux (x86_64 & arm64), macOS (Universal2: Apple Silicon + Intel), and Windows (x64) — no C++ compiler required:

Metric (polymarket_news_shock, 140 ms Cancel Latency) Naive Touch = Fill Paper Trader Fera Terra C++23 L3 FIFO Engine
Net Strategy PnL +$154.05 (38 fills) -$244.67 (24 fills)
Backtest Illusion Gap — $398.72 overstated PnL
Queue-Blocked Non-Fills / Cancel-Lag Snipes Ignored (0) Tracked & graded per fill

10-Second Quickstart

pip install feraterra
feraterra doctor

1. Live Local Shadow-CLOB (100% Local on 127.0.0.1)

# Hyperliquid live BTC + ETH Shadow-CLOB (HTTP Proxy :8085, RFC 6455 WS :8086, UI :8090)
feraterra up --venue hyperliquid --symbols BTC,ETH --cancel-latency-ms 120

# Polymarket live top binary markets with conditional inventory enforcement
feraterra up --venue polymarket --auto-top-markets 4 --cancel-latency-ms 140

Point your existing py-clob-client (Polymarket), hyperliquid-python-sdk, Rust, Go, or TypeScript bot at http://127.0.0.1:8085 (ws://127.0.0.1:8086/ws) and open http://127.0.0.1:8090 for real-time FIFO queue bars, markout attribution, and toxic pick-off diagnostics. Zero wallet keys or exchange API keys touch Fera Terra.

2. Deterministic Crash Packs & A/B Strategy Diffs

export FERATERRA_LICENSE_KEY="ft_live_..."

feraterra benchmark \
  --pack polymarket_news_shock \
  --bot my_mm_bot.py \
  --cancel-latency-ms 140 \
  --json-out baseline.json \
  --html-out baseline.html

Test non-Python binaries (Rust, Go, C++, Node.js) against identical microstructure crash tapes using --bot-cmd "./target/release/mm-bot".

3. Automated CI/CD Pull-Request Regression Gate

feraterra ci-gate \
  --pack flash_crash_5sigma \
  --bot my_mm_bot.py \
  --min-fifo-pnl -100.0 \
  --max-cancel-snipes 5 \
  --html-out feraterra-ci-report.html

Plans & Offline Ed25519 Licensing

  • Hobby ($0 / forever): Free out of the box (pip install feraterra) — 1 shadow market, local HTTP/WS proxy & diagnostics dashboard.
  • Indie Quant ($49/mo): Up to 4 concurrent markets, 24h live sessions, all 4 synthetic 5-sigma crash packs, HTTP 429/502 + latency fault injection, .jsonl tape recorder & <1s replay.
  • Pro + CI/CD ($129/mo): Up to 16 concurrent markets, 7-day burn-in sessions, feraterra ci-gate unlocked in GitHub Actions / GitLab CI, permalink report archiving.
  • Trading Team / Pod ($299/mo): Up to 64 concurrent markets, 30-day soak sessions, unlimited CI runners & multi-bot desk workflows.

Get a license key or try the live browser sandbox at https://feraterra.app. License keys (ft_live_...) verify 100% offline via RFC 8032 Ed25519 with zero runtime network dependency.

Metadata

Release files for feraterra 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for feraterra 1.0.1
File Actions
feraterra-1.0.1-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for feraterra-1.0.1-py3-none-win_amd64.whl
feraterra-1.0.1-py3-none-manylinux_2_38_x86_64.whl Python 3 none Linux glibc 2.38+ x86-64 Details for feraterra-1.0.1-py3-none-manylinux_2_38_x86_64.whl
feraterra-1.0.1-py3-none-manylinux_2_38_aarch64.whl Python 3 none Linux glibc 2.38+ ARM64 Details for feraterra-1.0.1-py3-none-manylinux_2_38_aarch64.whl
feraterra-1.0.1-py3-none-macosx_14_0_universal2.whl Python 3 none macOS 14.0+ universal2 (ARM64, x86-64) Details for feraterra-1.0.1-py3-none-macosx_14_0_universal2.whl

Total release size: 9.3 MB

Release files / feraterra-1.0.1-py3-none-win_amd64.whl

Download URL feraterra-1.0.1-py3-none-win_amd64.whl
Size 2.4 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
c935d37e0dd6b481e7d78427e35eaa8fbcffbc44fd1d884266c972ca59d96d61
BLAKE2b-256 checksum
How to use checksums
d9a05b7a17ec5cae1d0f211ea2f355176ad3934b223669999dfcef1bdc095439
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 4, 2026.

Transparency log

Release files / feraterra-1.0.1-py3-none-manylinux_2_38_x86_64.whl

Download URL feraterra-1.0.1-py3-none-manylinux_2_38_x86_64.whl
Size 2.1 MB
Tags Linux glibc 2.38+ x86-64 Python 3
SHA-256 checksum
How to use checksums
47a0fe5d5ce5f1ad149d2251f7b45ff35cb688fbf6e27184541220395420744f
BLAKE2b-256 checksum
How to use checksums
768e4bff05784a874a56419858c085d0945758206663bf827b6a0ef13605bb9c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 4, 2026.

Transparency log

Release files / feraterra-1.0.1-py3-none-manylinux_2_38_aarch64.whl

Download URL feraterra-1.0.1-py3-none-manylinux_2_38_aarch64.whl
Size 2.0 MB
Tags Linux glibc 2.38+ ARM64 Python 3
SHA-256 checksum
How to use checksums
7f508ad890785a9daa8a4f5dc29eaace286cf0cf66ec8481081d30995a582c50
BLAKE2b-256 checksum
How to use checksums
13a9b80ccf7112141d26a7285329fefbb303df307e5ee4cee3b2994cc2287372
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 4, 2026.

Transparency log

Release files / feraterra-1.0.1-py3-none-macosx_14_0_universal2.whl

Download URL feraterra-1.0.1-py3-none-macosx_14_0_universal2.whl
Size 2.8 MB
Tags Python 3 macOS 14.0+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
9fcdd25bddfecd7f728b77a32cbf197419d70d1d8d64927642530e6c28262ea0
BLAKE2b-256 checksum
How to use checksums
a28074485eb1b95cd3379ce8ec55c33e376c77a91e4c8d8b22644335023944f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 4, 2026.

Transparency log

Security for feraterra 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 4 files in this release have been uploaded with provenance metadata.

Select from 4 files

Attestation for feraterra-1.0.1-py3-none-win_amd64.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 4, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.1 This release

4 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page