Python Core Workflow
Workflow Objective
Section titled “Workflow Objective”Run the core research loop in Python while preserving OpenQuant’s leakage and diagnostics standards.
Stage 1: Ingestion and quality controls
Section titled “Stage 1: Ingestion and quality controls”Namespace: openquant.data
Primary APIs:
load_ohlcvclean_ohlcvalign_calendardata_quality_report
Stage 2: Event-driven bars
Section titled “Stage 2: Event-driven bars”Namespace: openquant.bars
Primary APIs:
build_time_barsbuild_tick_barsbuild_volume_barsbuild_dollar_bars
Stage 3: Feature diagnostics
Section titled “Stage 3: Feature diagnostics”Namespace: openquant.feature_diagnostics
Primary APIs:
mdi_importancemda_importancesfi_importanceorthogonalize_features_pcasubstitution_effect_report
Stage 4: Pipeline execution and reporting
Section titled “Stage 4: Pipeline execution and reporting”Namespace: openquant.pipeline
Primary APIs:
run_mid_frequency_pipelinerun_mid_frequency_pipeline_framessummarize_pipeline
Quality Criteria
Section titled “Quality Criteria”- Feature diagnostics use leakage-safe validation defaults.
- Report artifacts include trial and split metadata.
- Results are reproducible from declared data and code revisions.