An automated, enterprise-grade data processing framework engineered to ingest, clean, and audit high-frequency multi-source algorithmic order execution files. This architecture isolates transactional execution anomalies (slippage matrices and latency deviations), handles variable missing metadata constraints, structures optimized database tables, and provides analytical reporting distributions.
- PEP 517 Package Structures: Built using modular package distribution architectures (
pyproject.tomlutilizingsetuptoolsfind filters) to decouple development dependency modules completely from operational runtime contexts. - Context-Managed Database Sessions: Implements zero-dangling connection context layers featuring automatic transaction rollbacks to protect relational schemas under unexpected data warehouse disruptions.
- Decoupled Error Topologies: Uses isolated custom exception hierarchies (
DataWarehouseIngestionError,QueryExecutionError) to enforce strict internal boundaries instead of loose native string evaluations. - Robust Continuous Integration (CI): Backed by active GitHub Actions orchestrations executing formatting validation routines (
black,isort) and regression testing loops across parallel Python environments automatically on every push.
trade-performance-auditor/
│
├── .github/workflows/
│ └── ci.yml # Multi-version continuous integration workflow runner
│
├── sql/
│ └── schema.sql # Defensive data warehouse schema layout initializations
│
├── src/trade_auditor/
│ ├── __init__.py # Package identification namespace hook
│ ├── app.py # Parameterized user reporting CLI module
│ ├── config.py # Central environment hydration and validation vault
│ ├── database.py # Relational storage context-session orchestrator
│ ├── exceptions.py # Project specific standalone domain error types
│ ├── generate_data.py # Sandbox mock dataset parsing pipeline
│ ├── pipeline.py # High-frequency processing ETL module
│ └── plots.py # Visual distribution charting utility
│
├── tests/
│ └── test_pipeline.py # Sandbox path tracking logic verification tests
│
└── pyproject.toml # Unified metadata manifest and tool configuration matrix
Isolate your system environment variables and install the distribution package in editable development mode:
# Clone the open-source tracking repository assets
git clone [https://github.com/thanhan25/trade-performance-auditor.git](https://github.com/thanhan25/trade-performance-auditor.git)
cd trade-performance-auditor
# Sync package metadata structures along with quality tracking tools
python -m pip install -e .[dev]Evaluate your local code layout modifications against our strict automated coverage targets:
python -m pytestIngest fresh raw transaction metrics, compile analytical reports, and query specific instruments securely through runtime parameter inputs:
# 1. Trigger the transaction extraction and database cleaning loop
python src/trade_auditor/pipeline.py
# 2. Extract calculations and save high-resolution analytics charts
python src/trade_auditor/plots.py
# 3. Query all operational data lines across all tickers
python src/trade_auditor/app.py
# 4. Filter and query metrics targeted directly to Nasdaq Futures profiles
python src/trade_auditor/app.py NQ=F