Skip to main content

Wickra X-Ray — a market-microstructure explorer: footprint, order-book heatmap, liquidation map, funding/OI divergence

CI codecov PyPI License: MIT OR Apache-2.0

Wickra X-Ray — Python


▶ Live demo: all 515 indicators over real Binance market data, computed live in your browser — live.wickra.org · zero backend, powered by wickra-wasm.

A free explorer that shows, historically, what only Wickra computes — for Python. pip install wickra-xray — prebuilt wheels for Linux, macOS and Windows, nothing to compile.

Python bindings for wickra-xray-core, built with PyO3 and maturin. The surface mirrors every other Wickra binding: build an Xray from a spec JSON, drive it with command JSONs, and read back render frames.

Install

pip install wickra-xray

Pre-built wheels ship for Linux, macOS and Windows — there is nothing to compile and no C library to track down.

Building from this repository (contributors)

maturin develop --release
pytest -q

Quick start

import json
from wickra_xray import Xray

spec = json.dumps({
    "dataset_ref": "mini", "symbol": "AAA",
    "panels": [{"kind": "footprint", "price_bin": 1.0, "bucket_ms": 60000}],
})

xray = Xray(spec)
xray.command(json.dumps({"cmd": "load", "dataset": {
    "trades": [{"ts": 1000, "price": 100.4, "qty": 2.0, "side": "buy"}],
}}))
frame = json.loads(xray.command(json.dumps({"cmd": "frame"})))
print(frame["symbol"], frame["cursor_ts"])

Surface

  • Xray(spec_json) builds an xray from a spec JSON ("" or "{}" for an empty handle whose spec is set later). Raises ValueError on a malformed spec.
  • xray.command(cmd_json) applies a command JSON (set_spec, load, frame, frame_at, bounds, reset, version) and returns the response JSON. Domain errors come back in-band as {"ok":false,"error":...}.
  • Xray.version() returns the library version.

Benchmark

Every binding forwards to the same data-driven Rust core, so what this one adds is the call overhead of PyO3, not a different result. The core's throughput is measured by the repository's benchmark suite and the nightly bench.yml run; the numbers, the machine and how to reproduce them are in the repository BENCHMARKS.md.

Documentation

The full guide, the spec reference and the API documentation live in the main repository and the documentation site:

Wickra X-Ray ships native bindings for Python, Node.js, WASM and Rust, plus a C ABI hub that any C-capable language (C, C++, C#, Go, Java, R) links against — all forwarding to the same data-driven, unsafe-forbidden Rust core.

Security

Found a security issue? Please don't open a public issue. Report it privately via the repository's Security tab ("Report a vulnerability") or email support@wickra.org with a subject line starting [wickra security]. Full policy: https://github.com/wickra-lib/wickra-xray/blob/main/SECURITY.md.

Disclaimer

Wickra X-Ray is analysis software: it computes microstructure views over historical and live market data. It is provided "as is", without warranty of any kind, and is not financial advice — it places no orders. Trading carries risk of loss; review the code and use at your own discretion.

License

Licensed under either of Apache-2.0 or MIT at your option.

Metadata

Release files for wickra-xray 0.2.2

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

Source distribution (sdist)

Source distribution for wickra-xray 0.2.2
File Size Uploaded Provenance Actions
wickra_xray-0.2.2.tar.gz 68.6 kB Without provenance Details for wickra_xray-0.2.2.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for wickra-xray 0.2.2
File Actions
wickra_xray-0.2.2-cp39-abi3-win_arm64.whl CPython 3.9 abi3 Windows ARM64 Details for wickra_xray-0.2.2-cp39-abi3-win_arm64.whl
wickra_xray-0.2.2-cp39-abi3-win_amd64.whl CPython 3.9 abi3 Windows x86-64 Details for wickra_xray-0.2.2-cp39-abi3-win_amd64.whl
wickra_xray-0.2.2-cp39-abi3-musllinux_1_2_x86_64.whl CPython 3.9 abi3 Linux musl 1.2+ x86-64 Details for wickra_xray-0.2.2-cp39-abi3-musllinux_1_2_x86_64.whl
wickra_xray-0.2.2-cp39-abi3-musllinux_1_2_aarch64.whl CPython 3.9 abi3 Linux musl 1.2+ ARM64 Details for wickra_xray-0.2.2-cp39-abi3-musllinux_1_2_aarch64.whl
wickra_xray-0.2.2-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.9 abi3 Linux glibc 2.17+ x86-64 Details for wickra_xray-0.2.2-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
wickra_xray-0.2.2-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl CPython 3.9 abi3 Linux glibc 2.17+ ARM64 Details for wickra_xray-0.2.2-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
wickra_xray-0.2.2-cp39-abi3-macosx_11_0_arm64.whl CPython 3.9 abi3 macOS 11.0+ ARM64 Details for wickra_xray-0.2.2-cp39-abi3-macosx_11_0_arm64.whl
wickra_xray-0.2.2-cp39-abi3-macosx_10_12_x86_64.whl CPython 3.9 abi3 macOS 10.12+ x86-64 Details for wickra_xray-0.2.2-cp39-abi3-macosx_10_12_x86_64.whl

Total release size: 3.0 MB

Release files / wickra_xray-0.2.2.tar.gz

Download URL wickra_xray-0.2.2.tar.gz
Size 68.6 kB
Tags Source
SHA-256 checksum
How to use checksums
c6ae5fc38f7ded3c94abd1eeb180edc7d5c1487aa4b3950c0d61d192938e4bb5
BLAKE2b-256 checksum
How to use checksums
a7bb667aa01d5087715a4373689c237ef2a0af04b0500d9fd2a37aff1046fa3d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.16.0

Release files / wickra_xray-0.2.2-cp39-abi3-win_arm64.whl

Download URL wickra_xray-0.2.2-cp39-abi3-win_arm64.whl
Size 243.6 kB
Tags CPython 3.9 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
62190d009960102f2bcab4b2789008613010166d7b603b51e6daa01c56032049
BLAKE2b-256 checksum
How to use checksums
684fa1a7a96f2ef139e44f0b8af7f254bd3fae7bfef392931a4a69ed39da3e29
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.16.0

Release files / wickra_xray-0.2.2-cp39-abi3-win_amd64.whl

Download URL wickra_xray-0.2.2-cp39-abi3-win_amd64.whl
Size 261.1 kB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
8eb5307d0f352b0c38586bd767b70e3a96bac9cfbf95ccc84586e621c681d933
BLAKE2b-256 checksum
How to use checksums
c23312e6772bff2d53e7225cfb54feaf0915315ef413b11a3463d45822d5de4a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.16.0

Release files / wickra_xray-0.2.2-cp39-abi3-musllinux_1_2_x86_64.whl

Download URL wickra_xray-0.2.2-cp39-abi3-musllinux_1_2_x86_64.whl
Size 577.7 kB
Tags CPython 3.9 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
ec66a982c22fa21ceeb8c008c3bc62750b43f1a054960e4b17f85e9d43457b41
BLAKE2b-256 checksum
How to use checksums
9b704038108d16a4e72a76b18c7d37f75b2753da7ed79ab3edf915253feca083
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.16.0

Release files / wickra_xray-0.2.2-cp39-abi3-musllinux_1_2_aarch64.whl

Download URL wickra_xray-0.2.2-cp39-abi3-musllinux_1_2_aarch64.whl
Size 518.8 kB
Tags CPython 3.9 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
40142c7cd87564fd89ef214b83b62fef3f9fc098b419640fbfbe5c0d026deca8
BLAKE2b-256 checksum
How to use checksums
39a941cf6ba19349c7ebc9c966eefff23cd378ee2d88e0e2964cc2233f132b06
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.16.0

Release files / wickra_xray-0.2.2-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL wickra_xray-0.2.2-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 364.6 kB
Tags CPython 3.9 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
b093d6b9fc85843590be640e7b1a51099151013ae93a52948d07fcbcce285ce7
BLAKE2b-256 checksum
How to use checksums
7cb61d5e2eaf4646742f128fa892fe4dd7b0d779e5259a2e1e9c8c87cc75e6de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.16.0

Release files / wickra_xray-0.2.2-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL wickra_xray-0.2.2-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 340.4 kB
Tags CPython 3.9 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
8e90c25a425f811b93da322a30ea9f1f69af4277eb99c33e0a6b130c75c3ef52
BLAKE2b-256 checksum
How to use checksums
aa2286643d718a2239caadabdc802fce51208358aee6b3260261b5beec6ef335
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.16.0

Release files / wickra_xray-0.2.2-cp39-abi3-macosx_11_0_arm64.whl

Download URL wickra_xray-0.2.2-cp39-abi3-macosx_11_0_arm64.whl
Size 313.6 kB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
89bff536a516b46b8ff17ceabea77ede37d9f4488b1e1343ac6b41304d5a40ba
BLAKE2b-256 checksum
How to use checksums
0f73a55647c77a3a62f335a65204c03eb4b98aabec7c11f287df7900ae6e75c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.16.0

Release files / wickra_xray-0.2.2-cp39-abi3-macosx_10_12_x86_64.whl

Download URL wickra_xray-0.2.2-cp39-abi3-macosx_10_12_x86_64.whl
Size 345.2 kB
Tags CPython 3.9 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
81b21a99101dc9b0d7508440d0b87476eb5690553ecb54a04f94905ce07d4bf4
BLAKE2b-256 checksum
How to use checksums
149679a482349a455e65a5fe9680005db432ef76cf08ffdd33586045a50a6c42
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.16.0

Security for wickra-xray 0.2.2

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

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