docs.rs failed to build polymarket-kernel-0.1.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
polymarket-kernel-0.1.0
polymarket-kernel
Ultra-low latency computational core for Polymarket market making, based on the Logit Jump-Diffusion framework and an Avellaneda-Stoikov adaptation in logit space.
Overview
polymarket-kernel implements a unified stochastic kernel for prediction markets where probabilities are transformed into log-odds and processed with vectorized math.
The crate is designed for:
- HFT backtesting engines
- live market-making bots
- inventory-aware quoting across large market batches
It exposes an FFI-safe Rust API backed by a C SIMD kernel.
Source paper:
Features
- SoA (Structure of Arrays) layout for contiguous memory access and SIMD-friendly loads
- AVX-512 vectorized quote engine for batch processing
- Custom AVX-512
log1papproximation to avoid scalar fallback in spread computation - Fast sigmoid approximation for
x -> pmapping in hot paths - Inventory-aware Avellaneda-Stoikov quoting in logit space
- Zero allocations in the hot path (pre-allocated input/output buffers)
- Numerically safe clamping for stable
logit/sigmoidevaluation
Quick Start
Install:
Call calculate_quotes_logit with SoA input slices:
use calculate_quotes_logit;
License
MIT