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.

Release files for wickra-xray 0.1.5

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

Built distributions (wheels)

Table of built distributions (wheels) for wickra-xray 0.1.5
File
wickra_xray-0.1.5-cp39-abi3-win_arm64.whl CPython 3.9 abi3 Windows ARM64 Details
wickra_xray-0.1.5-cp39-abi3-win_amd64.whl CPython 3.9 abi3 Windows x86-64 Details
wickra_xray-0.1.5-cp39-abi3-musllinux_1_2_x86_64.whl CPython 3.9 abi3 Linux musl 1.2+ x86-64 Details
wickra_xray-0.1.5-cp39-abi3-musllinux_1_2_aarch64.whl CPython 3.9 abi3 Linux musl 1.2+ ARM64 Details
wickra_xray-0.1.5-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.1.5-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.9 abi3 Linux glibc 2.17+ ARM64 Details
wickra_xray-0.1.5-cp39-abi3-macosx_11_0_arm64.whl CPython 3.9 abi3 macOS 11.0+ ARM64 Details
wickra_xray-0.1.5-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.1.5.tar.gz

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

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

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

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

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

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

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

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

Download URL wickra_xray-0.1.5-cp39-abi3-musllinux_1_2_aarch64.whl
Size 521.4 kB
Tags CPython 3.9 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
cc1b0e1bb63c6578895307a2ccba46c03350ecdad4f97cbef1df612b68b7610c
BLAKE2b-256 checksum
How to use checksums
ee98360cca5c84f9604ee2f71ed752ea14e670750fe86374001b181a9fe8ad53
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

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

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

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

Download URL wickra_xray-0.1.5-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 342.8 kB
Tags CPython 3.9 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
7ba6262b1afea658ec29aa61a9b03b404346e18467a96fef62fb8ac17593326f
BLAKE2b-256 checksum
How to use checksums
1305bbbdd25a066b8ec849ad341c935d9b5342155a50cd070ddb46f9e1f1b4e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

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

Download URL wickra_xray-0.1.5-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
55cfbe0d11705f08c17011e289d2b31d06d767d7e8f439e6c636785bd6733088
BLAKE2b-256 checksum
How to use checksums
55d210bda97a6fbbabbf92c412594fb556a49046b084363263e906987a6b7969
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

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

Download URL wickra_xray-0.1.5-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
b8b27046ff7d2967241e3c8058104af94bc09cc2f1df1c9fc319a781d89ca1b9
BLAKE2b-256 checksum
How to use checksums
4dea3e159f3665da324538f4c0609953b53cd9176d149b28c45769cb5d230ef1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

Release history Release notifications | RSS feed

0.1.7

9 release files

0.1.6

9 release files

This release

0.1.5 This release

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