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.6

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

Built distributions (wheels)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Download URL wickra_xray-0.1.6-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
6d6501a963e4cf1a9c66b5acb532e0954e548b0a1cafdd5aecd29695492377d7
BLAKE2b-256 checksum
How to use checksums
23a66e3edc3a30b3f2d38c0dcba0def57026c7b78ffa7a81523bd70e401a204b
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

This release

0.1.6 This release

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