What problem does it solve?
This Skill provides patterns and conventions to eliminate brittle market data ingestion, inconsistent caching, and schema errors that break trading backtests and backend APIs.
Core Features & Use Cases
- Reliable Data Retrieval: Guidance for applying retry with backoff to external API calls and logging failures consistently.
- Safe Caching & Configuration: Recommendations for disk caching during development, centralized pydantic-settings configuration, and fail-fast validation on startup.
- Schema and Error Discipline: Advice to use pydantic models for API schemas, string enums for serialization, and explicit domain exceptions for clear error handling.
- Use Case: Adopt these patterns when building market data providers, backtesting pipelines, or FastAPI endpoints to ensure consistent data, clear errors, and maintainable APIs.
Quick Start
Audit the market data ingestion code and produce a prioritized checklist to add retry/backoff, development-only caching, centralized pydantic settings, explicit exceptions, and API route conventions.