-
Notifications
You must be signed in to change notification settings - Fork 0
Pipeline
Syed Ibrahim Omer edited this page Apr 13, 2026
·
1 revision
This page describes the end-to-end flow from CLI arguments to files on disk.
Parse CLI → Fetch OHLCV → Normalize schema → Compute indicators → Write outputs
- CLI Parsing
- Data Source (Yahoo Finance)
- Source Data Deep Dive
- Schema Normalization
- Data Shape Invariants
- Config Resolution
- Polars Engine
- Output Writing
- Write Output Deep Dive
Inputs come from CLI Reference:
- Tickers: positional args or a
.txtfile - Period: a single value or a comma-separated list
- Timeframe: a single interval or a JSON mapping periods→intervals
- Optional overrides: config JSON, output naming, output format, engine
Data is fetched using yfinance as a combined history request and then split per-ticker.
Key behaviors:
- Missing tickers are skipped if no data is returned
- The tool expects typical Yahoo Finance columns like Date/Open/High/Low/Close/Volume
See Data Source (Yahoo Finance).
The tool lowercases column names (e.g. Close → close) to make indicator expressions consistent.
Indicators are computed with rolling windows and exponential moving means.
Important output naming notes (current implementation):
-
ATRis uppercase (notatr) - Stochastic columns are uppercase
KandD
The tool writes one output file per computed dataset, either to:
- an explicit
--outputname (or outputs list), or - an auto-generated name:
<ticker>_<period>_<timeframe>.<ext>
See Output Formats and Advanced Usage.
- Yahoo Finance returns no data for a symbol → ticker skipped
- Permission issues writing to directory → writer error
- Very fine-grained intervals with large periods → large downloads / memory pressure
Related pages:
- Getting Started
- CLI Reference
- Configuration & Templates
- Indicators (Overview)
- Output Formats
- Advanced Usage
- Troubleshooting
- Pipeline
- CLI Parsing
- Data Source (Yahoo Finance)
- Source Data Deep Dive
- Schema Normalization
- Data Shape Invariants
- Output Writing
- Write Output Deep Dive
- Config Resolution
- Polars Engine
- Source Modules
- Testing
- Performance
- Indicators Engine
- Reproducibility