Pyorderbook

C+ 71 completed
Other
unknown / python · tiny
31
Files
4,548
LOC
1
Frameworks
5
Languages

Pipeline State

completed
Run ID
#396765
Phase
done
Progress
1%
Started
Finished
2026-04-13 01:31:02
LLM tokens
0

Pipeline Metadata

Stage
Skipped
Decision
skip_scaffold_dup
Novelty
31.18
Framework unique
Isolation
Last stage change
2026-04-16 18:15:42
Deduplication group #47518
Member of a group with 1 similar repo(s) — canonical #113957 view group →
Top concepts (2)
Project DescriptionTesting
Powered by Repobility — scan your code at https://repobility.com

AI Prompt

Create a high-performance limit order book and matching engine in Python. I need the core functionality to handle order matching using a Rust backend via PyO3 for speed. The system should support creating orders (both bids and asks) with details like symbol, price, and quantity. Key features include matching incoming orders against the book, which should adhere to price-time priority. The matching process must return a `TradeBlotter` detailing all executed trades, including total cost and average price. Also, implement functionality to cancel existing orders and provide methods to inspect the book, such as getting a specific order or generating L2 snapshots for a given symbol.
python rust limit order book matching engine pyo3 finance trading api
Generated by gemma4:latest

Catalog Information

A high-performance limit order book and matching engine for Python, with a Rust backend via PyO3.

Description

A high-performance limit order book and matching engine for Python, with a Rust backend via PyO3.

Novelty

3/10

Tags

python rust limit order book matching engine pyo3 finance trading api

Claude Models

claude-opus-4-6

Quality Score

C+
71.0/100
Structure
82
Code Quality
70
Documentation
50
Testing
65
Practices
71
Security
92
Dependencies
60

Strengths

  • CI/CD pipeline configured (github_actions)
  • Code linting configured (ruff (possible))
  • Consistent naming conventions (snake_case)
  • Good security practices \u2014 no major issues detected
  • Properly licensed project

Weaknesses

  • 263 duplicate lines detected \u2014 consider DRY refactoring
  • 1 'god files' with >500 LOC need decomposition

Security & Health

4.1h
Tech Debt (C)
A
OWASP (100%)
PASS
Quality Gate
A
Risk (2)
Provenance: Repobility (https://repobility.com) — every score reproducible from /scan/
MIT
License
5.3%
Duplication
Full Security Report AI Fix Prompts SARIF SBOM

Languages

python
57.4%
rust
34.0%
yaml
4.8%
markdown
2.4%
toml
1.4%

Frameworks

pytest

Concepts (2)

Scored by Repobility's multi-pass pipeline · https://repobility.com
CategoryNameDescriptionConfidence
Open data scored by Repobility · https://repobility.com
auto_descriptionProject DescriptionA high-performance limit order book and matching engine for Python, with a Rust backend via PyO3.80%
auto_categoryTestingtesting70%

Quality Timeline

1 quality score recorded.

View File Metrics

Embed Badge

Add to your README:

![Quality](https://repos.aljefra.com/badge/121128.svg)
Quality BadgeSecurity Badge
Export Quality CSVDownload SBOMExport Findings CSV