Automating notebook-driven workflows and modernizing market data pipelines
About the Customer
The customer is a well-established financial services firm in the capital markets and asset management space. It provides sophisticated analytics and risk management solutions to banks, investment managers and insurance companies. At the core of its operations is a market data management function that brings together data from multiple market data vendors to ingest and process market and reference data. These workflows run on AWS-based pipelines, with Snowflake as the central data store feeding downstream consumers across the organization.
The Challenge
The customer’s production data acquisition and processing depended on a library of more than 160 Jupyter notebooks, used across multiple tenants in the Americas and APAC. Analysts ran these notebooks by hand, in a specific order, to complete three core pipeline operations: historical data acquisition, market processing and time-series generation. Because the work typically ran on individual engineers’ machines, results depended on each person’s environment, packages and credentials, with no guarantee of reproducibility.
The customer also had no way to track which date ranges had already been acquired or processed, so incremental and backfill runs could not avoid duplicate work or detect gaps. Configuration changes were hard to manage without a way to compare settings before and after deployments, and secrets management needed to be strengthened. Together, these issues slowed operations, added risk and limited the customer’s ability to scale.
The Solution
Vertical Relevance worked with the customer to automate and modernize its data processing workflows on AWS, with a focus on time-series data processing.
- Notebooks to automated tools: We converted more than 160 Jupyter notebooks into Python command-line tools with consistent interfaces and environment parameterization, backed by documentation and runbooks. Work that once depended on an individual’s laptop now runs the same way every time, across every tenant.
- Historical time-series pipeline: We built logic to acquire and normalize historical market data going back to 2008, with incremental runs that skip date ranges already acquired.
- Dual-ledger architecture: Separate acquisition and processing ledgers track pipeline state independently and detect deltas, so only date ranges with new data are reprocessed. The ledger evolved from a local file into a multi-tenant, API-backed service on Amazon DocumentDB, with locking to prevent concurrent corruption, asynchronous operations and full documentation.
- Bulk operations API: Batched Amazon API Gateway endpoints for configuration changes, job scheduling and Amazon DynamoDB status writes cut script execution time from 10 to 15 minutes to under a minute.
- Configuration dump-and-diff: A utility captures configuration state before and after each deployment and compares the two, catching configuration drift before it disrupts workflows.
- Secure configuration: AWS Secrets Manager and AWS Systems Manager Parameter Store centralize secrets and environment settings.
The solution runs on AWS Lambda, AWS Step Functions, Amazon ECS, Amazon API Gateway, Amazon S3, Amazon DynamoDB and Amazon DocumentDB, and integrates with the customer’s existing AWS environment and Snowflake data store. It is now in production, supporting data acquisition and processing for tenants in the Americas and APAC.


Results
| Measure | Before | After |
|---|---|---|
| Production workflows | 160+ manually run Jupyter notebooks | Automated Python CLI tools |
| Script execution time | 10 to 15 minutes | Under 1 minute |
| Pipeline state tracking | None | Centralized, auditable multi-tenant ledger |
- A fully automated, ledger-driven historical backfill pipeline for multiple tenants, with incremental runs and delta detection
- Reproducible results across tenants, removing dependence on individual machines and manual sequencing
- A single, auditable source of truth for acquisition, processing and time-series generation
- Automated configuration validation that reduces the risk of undetected drift
- Stronger security through centralized secrets and configuration management
AWS Services Used
AWS Lambda, AWS Step Functions, Amazon ECS, Amazon API Gateway, Amazon S3, Amazon DynamoDB, Amazon DocumentDB, AWS Secrets Manager and AWS Systems Manager Parameter Store
Summary
Vertical Relevance helped the customer replace a manual, notebook-driven process with automated, reproducible data pipelines on AWS. By converting more than 160 notebooks into CLI tools, introducing a multi-tenant ledger service, and cutting processing time from minutes to seconds with a bulk operations API, the customer now runs its market data operations more efficiently and securely, with a strong foundation for further automation.


