# QuantFX Microstructure & Execution Engine

> Nanosecond quantitative FX execution, L2 order book sweeps, OFI, AVX2 venue scoring, and streaming VaR risk analytics.

QuantFX Microstructure & Execution Engine is a paid AI agent skill on Agensi by Akhilesh, in Workflow Automation. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $9.99 (one-time purchase)
- Creator: [Akhilesh](https://www.agensi.io/creators/ak495867)
- Category: [Workflow Automation](https://www.agensi.io/skills/workflow-automation)
- Version: 1.0
- Last updated: 2026-11-20
- Security: scan passed (2026-11-20); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/quantfx-microstructure-execution-engine
- Tags: trading-investing, apis-backend, code-quality-review, workflow-automation

## About this skill

### QuantFX Microstructure & Execution Engine

QuantFX is an ultra-low-latency, hybrid quantitative trading and research engine. It combines a bare-metal NASM x86-64 assembly core, a deterministic C++20 execution layer, and a zero-overhead Python C-ABI bridge (`runtime/qfx_native.py`).

#### Core Capabilities
- **Tick-to-Trade Simulation**: Deterministic backtesting on canonical CSV and binary QFX market feeds with sub-10ns TSC cycle calibration.
- **Microstructure Analytics**: Multi-level Order Flow Imbalance (OFI) across 5 levels, adverse selection FIFO queue markouts, and L2 VWAP sweeps (p99 = 21ns).
- **Zero-Allocation Execution**: SPSC lock-free ring buffer (19.7M ops/sec), AVX2 4-lane SIMD venue scoring (16.3B ops/sec), and SBE 56-byte binary wire encoding.
- **Pre-Trade Risk & Compliance**: Real-time streaming 99% parametric and historical VaR/CVaR, memory-mapped binary write-ahead logging (WAL), append-only AES-256-GCM encrypted audit journals, and signed HMAC-SHA256 fail-closed kill switches.

## Requires

- Linux x86-64 or POSIX environment
- Python 3.9+
- GCC/Clang C++20
- Optional: NASM

## Known limitations

QuantFX is an engineering and research framework. Live broker execution requires a concrete adapter complying with PRODUCTION_CONTRACT.md. Native assembly core targets Linux x86-64.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the QuantFX Microstructure & Execution Engine skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### What platforms are supported by QuantFX?

The primary validated production environment is Linux x86-64 with GCC/Clang and NASM. Cross-platform interfaces are provided for Windows NT syscalls and UEFI.

### Does QuantFX require live broker credentials to backtest?

No. QuantFX operates in paper-trading and local simulation mode using canonical CSV or binary QFX records. Funded execution requires an adapter implementation following PRODUCTION_CONTRACT.md.

### How does QuantFX handle price representation?

QuantFX uses fixed-point integer scaling with a multiplier of 100,000 (1e5) to completely avoid floating-point inaccuracies and overhead in critical execution hot paths.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
