Skip to main content

High-performance Python-native trading platform with a Rust core.

Project description

pytrdr: Sovereign Trading Engine [AGENT-COMMAND-CENTER]

[ID]: 76bbab52-9ced-46c7-a848-8c518e20d187 (Conversation Context)

[STATUS]: ACTIVE-SOVEREIGN | PHASE 26.6

[VERSION]: 0.0.1 (Decoupled & Architecture-Validated)

🏛️ Tactical Overview

pytrdr is a high-performance, institutional-grade trading ecosystem. This repository serves as the Sovereign Command Center (The Factory).

🧩 System Architecture (Sovereign Decoupled)

  1. Core Logic SDK (lib.rs / python feature):
    • Linkage: cdylib (Python Extension).
    • Modules: matching.rs (Heart), indicators.rs (Senses), simulator.rs (Time-Travel).
    • Data-Plane: Apache Arrow (Zero-Copy) transmission to Python.
  2. Native Rendering Engine (main.rs / engine feature):
    • Linkage: bin (Standalone Binary).
    • Tech: WGPU (Vulkan/Metal/DX12) for sub-millisecond chart latency.
  3. Pulse Bridge (Phase 27 Sync):
    • Contract: Shared Memory (Shmem) Ticks + IPC Control Socket.
    • Constraint: Logic SDK is the Master; Engine is the Slave-Renderer.

🛠️ Build Manifest (Zero-Debt Standards)

Standardized utilities via Makefile:

  • make sdk: Build/Install logic-only Python extension (maturin develop).
  • make engine: Compile WGPU-native terminal binary (cargo build --bin pytrdr-engine).
  • make test: Run performance-validated unit tests with decimal precision check.

📡 High-Density Agent Protocol (HDAP)

Authorized Agents MUST strictly adhere to these Command Center protocols:

  1. Alignment: Consult VISION.md (The 5 Phases) before proposing changes.
  2. Accuracy: Financial logic MUST use rust_decimal. Floating-point drift is a project failure.
  3. Traceability: All specs and specs-in-progress are stored in docs/.
  4. Tone: Communicate with แช้ม (Chaem) as a direct, experienced friend (Thai Language).

[PROPRIETARY INTERNAL - PHANTOM ARCHITECT ONLY]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pytrdr-0.0.1-pp310-pypy310_pp73-manylinux_2_28_aarch64.whl (4.3 MB view details)

Uploaded PyPymanylinux: glibc 2.28+ ARM64

pytrdr-0.0.1-pp39-pypy39_pp73-manylinux_2_28_aarch64.whl (4.3 MB view details)

Uploaded PyPymanylinux: glibc 2.28+ ARM64

pytrdr-0.0.1-cp310-abi3-win_amd64.whl (4.1 MB view details)

Uploaded CPython 3.10+Windows x86-64

pytrdr-0.0.1-cp310-abi3-manylinux_2_28_x86_64.whl (4.2 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.28+ x86-64

pytrdr-0.0.1-cp310-abi3-manylinux_2_28_aarch64.whl (4.3 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.28+ ARM64

pytrdr-0.0.1-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (4.6 MB view details)

Uploaded CPython 3.10+macOS 10.12+ universal2 (ARM64, x86-64)macOS 10.12+ x86-64macOS 11.0+ ARM64

File details

Details for the file pytrdr-0.0.1-pp310-pypy310_pp73-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pytrdr-0.0.1-pp310-pypy310_pp73-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 abae947922e95b8d74f3e5a04ae18bd2bcc968ca8520781d52c48704641a57dd
MD5 bed74b7156258ba4c1da9a329a838cbb
BLAKE2b-256 32df18e13c91a1a21c241dd522f6b1d981cb613397509775e60db3347d487ad9

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytrdr-0.0.1-pp310-pypy310_pp73-manylinux_2_28_aarch64.whl:

Publisher: publish.yml on welltilln/PyTrader

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pytrdr-0.0.1-pp39-pypy39_pp73-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pytrdr-0.0.1-pp39-pypy39_pp73-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 484a9538c613355c7916a36deaa999aa850300bbc0838b5d95083c226d18d72a
MD5 94f0c7289352d3cbad29db73261c7db4
BLAKE2b-256 98f168a518e3adefe606c9ab706d44c4ac9e573c60c953152b30425f3b0b9ad9

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytrdr-0.0.1-pp39-pypy39_pp73-manylinux_2_28_aarch64.whl:

Publisher: publish.yml on welltilln/PyTrader

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pytrdr-0.0.1-cp310-abi3-win_amd64.whl.

File metadata

  • Download URL: pytrdr-0.0.1-cp310-abi3-win_amd64.whl
  • Upload date:
  • Size: 4.1 MB
  • Tags: CPython 3.10+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for pytrdr-0.0.1-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 dfcdd5819581abd522ab9b7f294258ced4fbb5f15517c32e38163f3578acad14
MD5 0ffe884f99b012e085f82e6120455a8d
BLAKE2b-256 853da84d6173714d1d9a9ee05a096914d8d278f3c76548274d3c56894f37b266

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytrdr-0.0.1-cp310-abi3-win_amd64.whl:

Publisher: publish.yml on welltilln/PyTrader

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pytrdr-0.0.1-cp310-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pytrdr-0.0.1-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e2ef12a58e5a9d0ba04280e25a7df04c9ae55a79b64bb134c51b544fa44baf54
MD5 09c7595c62e0a1331155c01a13452198
BLAKE2b-256 5dd05edc556e3643cbc6b1ef9c5a065da75b72d6a90279255632827a002f71ba

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytrdr-0.0.1-cp310-abi3-manylinux_2_28_x86_64.whl:

Publisher: publish.yml on welltilln/PyTrader

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pytrdr-0.0.1-cp310-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pytrdr-0.0.1-cp310-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 3baf2e2c66f91dd46bdc70cf0ec963ca1d7f60cb8614e0a61f0a93a8dc4ea24e
MD5 5006a8d99a621b925cf16cb74b16f0e8
BLAKE2b-256 9f3c102a939673112d8857ccc0a700769376b3bf2f63630d177743ae5c5245a6

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytrdr-0.0.1-cp310-abi3-manylinux_2_28_aarch64.whl:

Publisher: publish.yml on welltilln/PyTrader

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pytrdr-0.0.1-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl.

File metadata

File hashes

Hashes for pytrdr-0.0.1-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 7f2c95b9dadeef5a487b4480f7bbee0d71fd975af82f2cc58dce18d4b194b547
MD5 024588936af8213fa49adc53a9fae29c
BLAKE2b-256 b06da9b82a6184a596210a038e507146b87b18fc465c895c91e4a0988004dfec

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytrdr-0.0.1-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl:

Publisher: publish.yml on welltilln/PyTrader

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page