Skip to main content

Wickra X-Ray — a market-microstructure explorer over 514 streaming indicators

CI codecov PyPI License: MIT OR Apache-2.0

Wickra X-Ray — Python


▶ Live demo: all 514 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.0

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.0
File Size Uploaded
wickra_xray-0.2.0.tar.gz 67.8 kB Details

Built distributions (wheels)

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

Total release size: 3.0 MB

Release files / wickra_xray-0.2.0.tar.gz

Download URL wickra_xray-0.2.0.tar.gz
Size 67.8 kB
Tags Source
SHA-256 checksum
How to use checksums
0c7b9bf5be622e7e793a75aa90c250e372eb194d7b88f5c53835b2143450cb98
BLAKE2b-256 checksum
How to use checksums
84eeae9aa8afe1be81b484e16c6b9a90299c856ac390f798bf3e2114bf8e54fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

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

Download URL wickra_xray-0.2.0-cp39-abi3-win_arm64.whl
Size 242.6 kB
Tags CPython 3.9 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
bb17675409b9af4cbbe93315e387972ad7b623b4349411a1bcd67de5223c3e3d
BLAKE2b-256 checksum
How to use checksums
24cf0c3e60397745823e20c6c4110fb0f50fc4d247a850805e59f888972329b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

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

Download URL wickra_xray-0.2.0-cp39-abi3-win_amd64.whl
Size 259.9 kB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
e2540bba065a8a83a98cf2e490f1b3a32cfc3ca30fd6f36bfd4186d7c8c08531
BLAKE2b-256 checksum
How to use checksums
c157d0265efccded0528755ab69d531661e7cd0a7c265e1d17d4f346d63cb035
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

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

Download URL wickra_xray-0.2.0-cp39-abi3-musllinux_1_2_x86_64.whl
Size 577.0 kB
Tags CPython 3.9 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
7810794c3c3fc814985b8e78810b05aeac5b3fadbcabd78d3ae955a7abeab554
BLAKE2b-256 checksum
How to use checksums
0d9d1c2f00d95c302b12228285551f8a93779dc99a273d045ff371334231e233
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

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

Download URL wickra_xray-0.2.0-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
08d32fcf9da7caee96536315f3a79d5170c1696d168450d7bb73dfcf6736baca
BLAKE2b-256 checksum
How to use checksums
80b140fc60beb760ae3131a1e6977cdf39b81cab26500095ff29e38934c6bd2e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

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

Download URL wickra_xray-0.2.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 363.8 kB
Tags CPython 3.9 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
9fe4cc5bca609b3cbdcdf27cbb5588c93fe978df7f24dcec91d0b5d611558e9a
BLAKE2b-256 checksum
How to use checksums
ebfceff2bae8b1de74e041c636a6708ee01a28ac5d0aa2fb45c2bc816efa658f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

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

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

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

Download URL wickra_xray-0.2.0-cp39-abi3-macosx_11_0_arm64.whl
Size 312.9 kB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
4ae31fac3a47aec313f1836f81d20539905ff36dd8ed2b2a0eb8cc47918ff17a
BLAKE2b-256 checksum
How to use checksums
8368f10b7f2442f8fbd6a5cd6e52c3d632033a830e0143d69aabd96c64430628
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

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

Download URL wickra_xray-0.2.0-cp39-abi3-macosx_10_12_x86_64.whl
Size 344.6 kB
Tags CPython 3.9 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
4a6a5d9c2ccabb3b95402f30947626b4829eeb1c78beb8b6b3b65b45e565c5bc
BLAKE2b-256 checksum
How to use checksums
f878c5828cca62c40a62257263fd131ef4968c49104735c7b709ccddf6e7519d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

Release history Release notifications | RSS feed

This release

0.2.0 This release

9 release files

0.1.8

9 release files

0.1.7

9 release files

0.1.6

9 release files

0.1.5

9 release files

0.1.4

9 release files

0.1.3

9 release files

0.1.2

9 release files

0.1.1

9 release files

0.1.0

9 release files

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