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 Distribution

pytrdr-0.0.3.tar.gz (3.8 MB view details)

Uploaded Source

Built Distributions

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

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

Uploaded PyPymanylinux: glibc 2.28+ ARM64

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

Uploaded PyPymanylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.10+Windows x86-64

pytrdr-0.0.3-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.3-cp310-abi3-manylinux_2_28_aarch64.whl (4.3 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.28+ ARM64

pytrdr-0.0.3-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.3.tar.gz.

File metadata

  • Download URL: pytrdr-0.0.3.tar.gz
  • Upload date:
  • Size: 3.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for pytrdr-0.0.3.tar.gz
Algorithm Hash digest
SHA256 dc0f21f9166bf5a1359092c916517715355db4092267f3ce334039c8bfd599bf
MD5 63d1a0f941e311a785d60bc4ef5953a5
BLAKE2b-256 244ca5e527b31bfe3ad698e5a9f7f70017e8be192180ae3c16c6eabed48a9e95

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytrdr-0.0.3.tar.gz:

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.3-pp310-pypy310_pp73-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pytrdr-0.0.3-pp310-pypy310_pp73-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 5abe69697034e145206dd0028b0025ee67cc729848f0dde9fcd1f3eabd9d8312
MD5 4d0f458d8f71a4d8ba5dab6ffcda3039
BLAKE2b-256 ec09052ee0ae1c9aaf6905e41667ff2504b34a7a0de3c6cef7f5a202b9eb8978

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytrdr-0.0.3-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.3-pp39-pypy39_pp73-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pytrdr-0.0.3-pp39-pypy39_pp73-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 e9ce9a7ec40548a720f1678ad9cdbd03be5020bfedb922cc79bc3c2f4b683132
MD5 cbea89758e5c8dd5319587cfc6a2ad5d
BLAKE2b-256 b4b154e7fe6772f52427fd3ce8c9aba8442911bc515509d7031f2b68cbcd396b

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytrdr-0.0.3-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.3-cp310-abi3-win_amd64.whl.

File metadata

  • Download URL: pytrdr-0.0.3-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.3-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 551c90c6ddcd99552449c3c9100f0875c6cd76d54effbdc7d62eb126ed0428f4
MD5 76264f66021a17ea08449a4cfbb18a00
BLAKE2b-256 1fb2038b92484f5d21704e66b4335b66ea5a1550becba50fab47aed337719c14

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytrdr-0.0.3-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.3-cp310-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pytrdr-0.0.3-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8f9fb42d3ae4c62b06396535f01374e19bc782b3eb5661c446ac9ca45c3c3b81
MD5 cfcd1a26454465dfb169dcff989d36bf
BLAKE2b-256 aa2604b6daa1edf18b1f094e831af8435113c313458bf71ea2e091565a820d4f

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytrdr-0.0.3-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.3-cp310-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pytrdr-0.0.3-cp310-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 cdc519158b707751764a2d032b352757e04be8c6f4e611675f8378dbfb56f5af
MD5 87110d97a1ee6e6d1e6b57fd20ab12ae
BLAKE2b-256 57368db8d42d0f420eadd0e720389076509c33bebc59d70f5a3fa03dabdce951

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytrdr-0.0.3-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.3-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.3-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 c2ceec41976c37c478702c798e6d4379ccaf87bc71672e259f0930075b34a1bb
MD5 f1fadd6077077cc17082035a36415e3b
BLAKE2b-256 45453c24397a52367a8edd19200be3c89156548b5780b9cd14713a0016f5d831

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytrdr-0.0.3-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